1 %include /usr/lib/rpm/macros.php
3 %define _subclass Table
4 %define _pearname %{_class}_%{_subclass}
5 Summary: %{_class}_%{_subclass} - makes the design of HTML tables easy, flexible, reusable and efficient
6 Summary(pl): %{_class}_%{_subclass} - czyni tworzenie tabel HTML ³atwym, elastycznym, efektywnym
7 Name: php-pear-%{_pearname}
11 Group: Development/Languages/PHP
12 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 URL: http://pear.php.net/
14 BuildRequires: rpm-php-pearprov
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The PEAR::HTML_Table package provides methods for easy and efficient
21 design of HTML tables.
22 - Lots of customization options.
23 - Tables can be modified at any time.
24 - The logic is the same as standard HTML editors.
25 - Handles col and rowspans.
26 - PHP code is shorter, easier to read and to maintain.
27 - Tables options can be reused.
30 Klasa PEAR::HTML_Table dostarcza metody do ³atwego i efektywnego
32 - wiele opcji dostosowawczych.
33 - tabele mog± byæ modyfikowane w ka¿dym momencie.
34 - logika jest taka sama jak w standardowych edytorach HTML-a.
35 - obs³uga atrybutów col i rowspans.
36 - kod PHP jest krótszy, ³atwiejszy do czytania i konserwacji.
37 - opcje tabel mog± byæ ponownie u¿ywane.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
46 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %{php_pear_dir}/%{_class}/*.php