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 BuildRequires: rpm-php-pearprov
14 URL: http://pear.php.net/
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.
34 rm -rf $RPM_BUILD_ROOT
35 cd %{_pearname}-%{version}
37 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
39 install *.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %{php_pear_dir}/%{_class}/*.php