1 %include /usr/lib/rpm/macros.php
3 %define _subclass Table
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - makes it easy to build console style tables
8 Summary(pl): %{_pearname} - proste tworzenie tabel konsolowych
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: ff5bbf539c04f8290239592df4d30e96
16 URL: http://pear.php.net/package/Console_Table/
17 BuildRequires: rpm-php-pearprov >= 4.0.2-98
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Provides methods such as addRow(), insertRow(), addCol() etc to build
24 Console tables. Can be with or without headers, and has various
27 In PEAR status of this package is: %{_status}.
30 Dostarcza metod, takich jak addRow(), insertRow(), addCol(), itp. do
31 tworzenia tabel konsolowych. Mog± byæ robione z i bez nag³ówków.
32 Posiada wiele opcji konfigurowalnych.
34 Ta klasa ma w PEAR status: %{_status}.
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
43 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %{php_pear_dir}/%{_class}/*.php