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