1 %include /usr/lib/rpm/macros.php
3 %define _subclass Table
6 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - makes the design of HTML tables easy, flexible, reusable and efficient
8 Summary(pl): %{_pearname} - czyni tworzenie tabel HTML ³atwym, elastycznym, efektywnym
9 Name: php-pear-%{_pearname}
14 Group: Development/Languages/PHP
15 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
16 # Source0-md5: 3a840ee94ca43b1d11a3268bc59ab51b
17 URL: http://pear.php.net/package/HTML_Table/
18 BuildRequires: php-pear-PEAR
19 BuildRequires: rpm-php-pearprov >= 4.4.2-11
20 BuildRequires: rpmbuild(macros) >= 1.300
21 Requires: php-pear >= 4:1.0-8.1
22 Requires: php-pear-HTML_Common >= 1.2.0
23 Requires: php-pear-PEAR-core >= 1:1.4.0-0.b1
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The PEAR::HTML_Table package provides methods for easy and efficient
29 design of HTML tables.
30 - Lots of customization options.
31 - Tables can be modified at any time.
32 - The logic is the same as standard HTML editors.
33 - Handles col and rowspans.
34 - PHP code is shorter, easier to read and to maintain.
35 - Tables options can be reused.
37 In PEAR status of this package is: %{_status}.
40 Klasa PEAR::HTML_Table dostarcza metody do ³atwego i efektywnego
42 - wiele opcji dostosowawczych.
43 - tabele mog± byæ modyfikowane w ka¿dym momencie.
44 - logika jest taka sama jak w standardowych edytorach HTML-a.
45 - obs³uga atrybutów col i rowspans.
46 - kod PHP jest krótszy, ³atwiejszy do czytania i konserwacji.
47 - opcje tabel mog± byæ ponownie u¿ywane.
49 Ta klasa ma w PEAR status: %{_status}.
52 Summary: Tests for PEAR::%{_pearname}
53 Summary(pl): Testy dla PEAR::%{_pearname}
54 Group: Development/Languages/PHP
55 Requires: %{name} = %{epoch}:%{version}-%{release}
60 Tests for PEAR::%{_pearname}.
62 %description tests -l pl
63 Testy dla PEAR::%{_pearname}.
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{php_pear_dir}
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
79 %{php_pear_dir}/.registry/*.reg
80 %{php_pear_dir}/%{_class}/*.php
81 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
84 %defattr(644,root,root,755)
85 %{php_pear_dir}/tests/*