2 %define _subclass Table
4 %define _pearname %{_class}_%{_subclass}
5 Summary: %{_pearname} - makes the design of HTML tables easy, flexible, reusable and efficient
6 Summary(pl.UTF-8): %{_pearname} - 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 # Source0-md5: 26a416f2d51c8b5ab4083f731f66dd5a
14 URL: http://pear.php.net/package/HTML_Table/
15 BuildRequires: php-pear-PEAR >= 1:1.5.0
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.300
18 Requires: php-pear >= 4:1.0-8.1
19 Requires: php-pear-HTML_Common >= 1.2.3
20 Obsoletes: php-pear-HTML_Table-tests
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The PEAR::HTML_Table package provides methods for easy and efficient
26 design of HTML tables.
27 - Lots of customization options.
28 - Tables can be modified at any time.
29 - The logic is the same as standard HTML editors.
30 - Handles col and rowspans.
31 - PHP code is shorter, easier to read and to maintain.
32 - Tables options can be reused.
34 In PEAR status of this package is: %{_status}.
36 %description -l pl.UTF-8
37 Klasa PEAR::HTML_Table dostarcza metody do łatwego i efektywnego
39 - wiele opcji dostosowawczych.
40 - tabele mogą być modyfikowane w każdym momencie.
41 - logika jest taka sama jak w standardowych edytorach HTML-a.
42 - obsługa atrybutów col i rowspans.
43 - kod PHP jest krótszy, łatwiejszy do czytania i konserwacji.
44 - opcje tabel mogą być ponownie używane.
46 Ta klasa ma w PEAR status: %{_status}.
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{php_pear_dir}/.registry/*.reg
63 %{php_pear_dir}/%{_class}/*.php
64 %{php_pear_dir}/%{_class}/%{_subclass}/*.php