]>
Commit | Line | Data |
---|---|---|
1801067e ER |
1 | %define status stable |
2 | %define pearname Console_Table | |
9b8f5cc8 | 3 | %include /usr/lib/rpm/macros.php |
1801067e ER |
4 | Summary: %{pearname} - makes it easy to build console style tables |
5 | Summary(pl.UTF-8): %{pearname} - proste tworzenie tabel konsolowych | |
6 | Name: php-pear-%{pearname} | |
8e1533a6 | 7 | Version: 1.2.0 |
1801067e | 8 | Release: 2 |
cc764a73 PG |
9 | License: PHP 2.02 |
10 | Group: Development/Languages/PHP | |
1801067e | 11 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
8e1533a6 | 12 | # Source0-md5: a491b94bf40c3fed90feac6d7807ba0b |
f0418189 | 13 | URL: http://pear.php.net/package/Console_Table/ |
013235c4 | 14 | BuildRequires: php-pear-PEAR |
d841e0f0 | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
9b8f5cc8 | 16 | BuildRequires: rpmbuild(macros) >= 1.654 |
cc764a73 | 17 | Requires: php-pear |
1801067e | 18 | Suggests: php-pear-Console_Color2 |
3f736746 | 19 | Obsoletes: php-pear-Console_Table-tests |
cc764a73 PG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
326534d2 | 23 | # exclude optional dependencies |
1801067e | 24 | %define _noautoreq_pear Console/Color2.* |
326534d2 | 25 | |
cc764a73 PG |
26 | %description |
27 | Provides methods such as addRow(), insertRow(), addCol() etc to build | |
28 | Console tables. Can be with or without headers, and has various | |
29 | configurable options. | |
30 | ||
1801067e | 31 | In PEAR status of this package is: %{status}. |
ccbd09a4 | 32 | |
201180ec | 33 | %description -l pl.UTF-8 |
cc764a73 | 34 | Dostarcza metod, takich jak addRow(), insertRow(), addCol(), itp. do |
201180ec | 35 | tworzenia tabel konsolowych. Mogą być robione z i bez nagłówków. |
cc764a73 PG |
36 | Posiada wiele opcji konfigurowalnych. |
37 | ||
1801067e | 38 | Ta klasa ma w PEAR status: %{status}. |
ccbd09a4 | 39 | |
cc764a73 | 40 | %prep |
5fc1ae8f | 41 | %pear_package_setup |
cc764a73 PG |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
5fc1ae8f ER |
45 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
46 | %pear_package_install | |
cc764a73 PG |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
5fc1ae8f ER |
53 | %doc install.log |
54 | %{php_pear_dir}/.registry/*.reg | |
1801067e | 55 | %{php_pear_dir}/Console/Table.php |