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}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: 1345261c2e4bb8429ee41bb457566df9
16 URL: http://pear.php.net/package/HTML_Table/
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 Requires: php-pear >= 4:1.0-8.1
19 Requires: php-pear-HTML_Common >= 1.2.0
20 Requires: php-pear-PEAR
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The PEAR::HTML_Table package provides methods for easy and efficient
26 design of HTML tables.
27 - Lots of customization options.
28 - Tables can be modified at any time.
29 - The logic is the same as standard HTML editors.
30 - Handles col and rowspans.
31 - PHP code is shorter, easier to read and to maintain.
32 - Tables options can be reused.
34 In PEAR status of this package is: %{_status}.
37 Klasa PEAR::HTML_Table dostarcza metody do ³atwego i efektywnego
39 - wiele opcji dostosowawczych.
40 - tabele mog± byæ modyfikowane w ka¿dym momencie.
41 - logika jest taka sama jak w standardowych edytorach HTML-a.
42 - obs³uga atrybutów col i rowspans.
43 - kod PHP jest krótszy, ³atwiejszy do czytania i konserwacji.
44 - opcje tabel mog± byæ ponownie u¿ywane.
46 Ta klasa ma w PEAR status: %{_status}.
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{php_pear_dir}/.registry/*.reg
63 %{php_pear_dir}/%{_class}/*.php
64 %{php_pear_dir}/%{_class}/%{_subclass}/*.php