]>
Commit | Line | Data |
---|---|---|
ecf0c84a | 1 | %include /usr/lib/rpm/macros.php |
000dfa76 | 2 | %define _class XML |
3 | %define _subclass RSS | |
30d18f28 | 4 | %define _status beta |
ecf0c84a | 5 | %define _pearname %{_class}_%{_subclass} |
000dfa76 | 6 | |
db5b2a9e | 7 | Summary: %{_pearname} - RSS parser |
78288cfe | 8 | Summary(pl.UTF-8): %{_pearname} - parser RSS |
ecf0c84a | 9 | Name: php-pear-%{_pearname} |
034a1b8a | 10 | Version: 0.9.10 |
30d18f28 | 11 | Release: 1 |
7433d65a | 12 | Epoch: 0 |
ecf0c84a PG |
13 | License: PHP 2.02 |
14 | Group: Development/Languages/PHP | |
15 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
034a1b8a | 16 | # Source0-md5: eec8e6497bc1960cd7c155863f6f772a |
c5db24d2 | 17 | URL: http://pear.php.net/package/XML_RSS/ |
e66569bc | 18 | BuildRequires: php-pear-PEAR |
dbb61fc5 | 19 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
bfc4a494 | 20 | BuildRequires: rpmbuild(macros) >= 1.300 |
d0d60a43 | 21 | Requires: php-pear |
bdac039c | 22 | Requires: php-pear-XML_Tree |
ecf0c84a PG |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | Parser for Resource Description Framework (RDF) Site Summary (RSS) | |
28 | documents. | |
29 | ||
87fcb368 | 30 | In PEAR status of this package is: %{_status}. |
8954e14b | 31 | |
2548e654 JR |
32 | %description -l pl.UTF-8 |
33 | Parser do dokumentów w formacie RSS (RDF Site Summary, gdzie RDF jest | |
34 | skrótem od Resource Description Framework). | |
41135d72 | 35 | |
8954e14b AG |
36 | Ta klasa ma w PEAR status: %{_status}. |
37 | ||
dbb61fc5 ER |
38 | %package tests |
39 | Summary: Tests for PEAR::%{_pearname} | |
78288cfe | 40 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} |
b8c70aa5 | 41 | Group: Development/Languages/PHP |
dbb61fc5 ER |
42 | Requires: %{name} = %{epoch}:%{version}-%{release} |
43 | AutoReq: no | |
e1bce307 | 44 | AutoProv: no |
dbb61fc5 ER |
45 | |
46 | %description tests | |
47 | Tests for PEAR::%{_pearname}. | |
48 | ||
2548e654 | 49 | %description tests -l pl.UTF-8 |
dbb61fc5 ER |
50 | Testy dla PEAR::%{_pearname}. |
51 | ||
ecf0c84a | 52 | %prep |
dbb61fc5 | 53 | %pear_package_setup |
ecf0c84a PG |
54 | |
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
dbb61fc5 ER |
57 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
58 | %pear_package_install | |
ecf0c84a PG |
59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
dbb61fc5 ER |
65 | %doc install.log |
66 | %{php_pear_dir}/.registry/*.reg | |
ecf0c84a | 67 | %{php_pear_dir}/%{_class}/*.php |
dbb61fc5 ER |
68 | |
69 | %files tests | |
70 | %defattr(644,root,root,755) | |
71 | %{php_pear_dir}/tests/* |