1 %include /usr/lib/rpm/macros.php
3 %define _subclass Table
6 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - makes the design of HTML tables easy, flexible, reusable and efficient
8 Summary(pl): %{_pearname} - czyni tworzenie tabel HTML ³atwym, elastycznym, efektywnym
9 Name: php-pear-%{_pearname}
14 Group: Development/Languages/PHP
15 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
16 # Source0-md5: e8dcac7bddbb1921712aae959d17a573
17 URL: http://pear.php.net/package/HTML_Table/
18 BuildRequires: php-pear-PEAR
19 BuildRequires: rpm-php-pearprov >= 4.4.2-11
20 Requires: php-pear >= 4:1.0-8.1
21 Requires: php-pear-HTML_Common >= 1.2.0
22 Requires: php-pear-PEAR-core
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The PEAR::HTML_Table package provides methods for easy and efficient
28 design of HTML tables.
29 - Lots of customization options.
30 - Tables can be modified at any time.
31 - The logic is the same as standard HTML editors.
32 - Handles col and rowspans.
33 - PHP code is shorter, easier to read and to maintain.
34 - Tables options can be reused.
36 In PEAR status of this package is: %{_status}.
39 Klasa PEAR::HTML_Table dostarcza metody do ³atwego i efektywnego
41 - wiele opcji dostosowawczych.
42 - tabele mog± byæ modyfikowane w ka¿dym momencie.
43 - logika jest taka sama jak w standardowych edytorach HTML-a.
44 - obs³uga atrybutów col i rowspans.
45 - kod PHP jest krótszy, ³atwiejszy do czytania i konserwacji.
46 - opcje tabel mog± byæ ponownie u¿ywane.
48 Ta klasa ma w PEAR status: %{_status}.
51 Summary: Tests for PEAR::%{_pearname}
52 Summary(pl): Testy dla PEAR::%{_pearname}
53 Group: Development/Languages/PHP
54 Requires: %{name} = %{epoch}:%{version}-%{release}
59 Tests for PEAR::%{_pearname}.
61 %description tests -l pl
62 Testy dla PEAR::%{_pearname}.
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{php_pear_dir}
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
78 %{php_pear_dir}/.registry/*.reg
79 %{php_pear_dir}/%{_class}/*.php
80 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
83 %defattr(644,root,root,755)
84 %{php_pear_dir}/tests/*