2 %define pearname Console_Table
3 %include /usr/lib/rpm/macros.php
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}
10 Group: Development/Languages/PHP
11 Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
12 # Source0-md5: a491b94bf40c3fed90feac6d7807ba0b
13 URL: http://pear.php.net/package/Console_Table/
14 BuildRequires: php-pear-PEAR
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.654
18 Suggests: php-pear-Console_Color2
19 Obsoletes: php-pear-Console_Table-tests
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 # exclude optional dependencies
24 %define _noautoreq_pear Console/Color2.*
27 Provides methods such as addRow(), insertRow(), addCol() etc to build
28 Console tables. Can be with or without headers, and has various
31 In PEAR status of this package is: %{status}.
33 %description -l pl.UTF-8
34 Dostarcza metod, takich jak addRow(), insertRow(), addCol(), itp. do
35 tworzenia tabel konsolowych. Mogą być robione z i bez nagłówków.
36 Posiada wiele opcji konfigurowalnych.
38 Ta klasa ma w PEAR status: %{status}.
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{php_pear_dir}/.registry/*.reg
55 %{php_pear_dir}/Console/Table.php