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 URL: http://pear.php.net/
16 BuildRequires: rpm-php-pearprov >= 4.0.2-98
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 The PEAR::HTML_Table package provides methods for easy and efficient
23 design of HTML tables.
24 - Lots of customization options.
25 - Tables can be modified at any time.
26 - The logic is the same as standard HTML editors.
27 - Handles col and rowspans.
28 - PHP code is shorter, easier to read and to maintain.
29 - Tables options can be reused.
31 This class has in PEAR status: %{_status}.
34 Klasa PEAR::HTML_Table dostarcza metody do ³atwego i efektywnego
36 - wiele opcji dostosowawczych.
37 - tabele mog± byæ modyfikowane w ka¿dym momencie.
38 - logika jest taka sama jak w standardowych edytorach HTML-a.
39 - obs³uga atrybutów col i rowspans.
40 - kod PHP jest krótszy, ³atwiejszy do czytania i konserwacji.
41 - opcje tabel mog± byæ ponownie u¿ywane.
43 Ta klasa ma w PEAR status: %{_status}.
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
52 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %{php_pear_dir}/%{_class}/*.php