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: rpm-php-pearprov >= 4.4.2-11
19 Requires: php-pear >= 4:1.0-8.1
20 Requires: php-pear-HTML_Common >= 1.2.0
21 Requires: php-pear-PEAR-core
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 The PEAR::HTML_Table package provides methods for easy and efficient
27 design of HTML tables.
28 - Lots of customization options.
29 - Tables can be modified at any time.
30 - The logic is the same as standard HTML editors.
31 - Handles col and rowspans.
32 - PHP code is shorter, easier to read and to maintain.
33 - Tables options can be reused.
35 In PEAR status of this package is: %{_status}.
38 Klasa PEAR::HTML_Table dostarcza metody do ³atwego i efektywnego
40 - wiele opcji dostosowawczych.
41 - tabele mog± byæ modyfikowane w ka¿dym momencie.
42 - logika jest taka sama jak w standardowych edytorach HTML-a.
43 - obs³uga atrybutów col i rowspans.
44 - kod PHP jest krótszy, ³atwiejszy do czytania i konserwacji.
45 - opcje tabel mog± byæ ponownie u¿ywane.
47 Ta klasa ma w PEAR status: %{_status}.
50 Summary: Tests for PEAR::%{_pearname}
51 Summary(pl): Testy dla PEAR::%{_pearname}
52 Group: Development/Languages/PHP
53 Requires: %{name} = %{epoch}:%{version}-%{release}
57 Tests for PEAR::%{_pearname}.
59 %description tests -l pl
60 Testy dla PEAR::%{_pearname}.
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{php_pear_dir}
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
76 %{php_pear_dir}/.registry/*.reg
77 %{php_pear_dir}/%{_class}/*.php
78 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
81 %defattr(644,root,root,755)
82 %{php_pear_dir}/tests/*