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