1 %include /usr/lib/rpm/macros.php
3 %define _subclass Table
5 %define _pearname %{_class}_%{_subclass}
6 Summary: %{_pearname} - makes the design of HTML tables easy, flexible, reusable and efficient
7 Summary(pl.UTF-8): %{_pearname} - czyni tworzenie tabel HTML łatwym, elastycznym, efektywnym
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: f8a74eb688236a4ca3b53cae265be5f9
15 URL: http://pear.php.net/package/HTML_Table/
16 BuildRequires: php-pear-PEAR >= 1:1.5.0
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 BuildRequires: rpmbuild(macros) >= 1.300
19 Requires: php-pear >= 4:1.0-8.1
20 Requires: php-pear-HTML_Common >= 1.2.3
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}.
49 Summary: Tests for PEAR::%{_pearname}
50 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
51 Group: Development/Languages/PHP
52 Requires: %{name} = %{version}-%{release}
57 Tests for PEAR::%{_pearname}.
59 %description tests -l pl.UTF-8
60 Testy dla PEAR::%{_pearname}.
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{php_pear_dir}
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
76 %{php_pear_dir}/.registry/*.reg
77 %{php_pear_dir}/%{_class}/*.php
78 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
81 %defattr(644,root,root,755)
82 %{php_pear_dir}/tests/*