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
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 The PEAR::HTML_Table package provides methods for easy and efficient
20 design of HTML tables.
21 - Lots of customization options.
22 - Tables can be modified at any time.
23 - The logic is the same as standard HTML editors.
24 - Handles col and rowspans.
25 - PHP code is shorter, easier to read and to maintain.
26 - Tables options can be reused.
29 Klasa PEAR::HTML_Table dostarcza metody do ³atwego i efektywnego
31 - wiele opcji dostosowawczych.
32 - tabele mog± byæ modyfikowane w ka¿dym momencie.
33 - logika jest taka sama jak w standardowych edytorach HTML-a.
34 - obs³uga atrybutów col i rowspans.
35 - kod PHP jest krótszy, ³atwiejszy do czytania i konserwacji.
36 - opcje tabel mog± byæ ponownie u¿ywane.
42 rm -rf $RPM_BUILD_ROOT
43 cd %{_pearname}-%{version}
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
47 install *.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %{php_pear_dir}/%{_class}/*.php