2 %define _subclass Table
4 %define _pearname Console_Table
5 %include /usr/lib/rpm/macros.php
6 Summary: %{_pearname} - makes it easy to build console style tables
7 Summary(pl.UTF-8): %{_pearname} - proste tworzenie tabel konsolowych
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: a491b94bf40c3fed90feac6d7807ba0b
15 URL: http://pear.php.net/package/Console_Table/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 BuildRequires: rpmbuild(macros) >= 1.654
20 Suggests: php-pear-Console_Color
21 Obsoletes: php-pear-Console_Table-tests
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 # exclude optional dependencies
26 %define _noautoreq_pear Console/Color.php
29 Provides methods such as addRow(), insertRow(), addCol() etc to build
30 Console tables. Can be with or without headers, and has various
33 In PEAR status of this package is: %{_status}.
35 %description -l pl.UTF-8
36 Dostarcza metod, takich jak addRow(), insertRow(), addCol(), itp. do
37 tworzenia tabel konsolowych. Mogą być robione z i bez nagłówków.
38 Posiada wiele opcji konfigurowalnych.
40 Ta klasa ma w PEAR status: %{_status}.
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{php_pear_dir}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %{php_pear_dir}/.registry/*.reg
57 %{php_pear_dir}/Console/*.php