]>
Commit | Line | Data |
---|---|---|
9cb35d2a | 1 | %define _class XML |
2 | %define _subclass Util | |
cbc93e64 | 3 | %define _status stable |
4f72ae49 ER |
4 | %define _pearname XML_Util |
5 | %include /usr/lib/rpm/macros.php | |
9cb35d2a | 6 | Summary: %{_pearname} - XML utility class |
1c1225d6 | 7 | Summary(pl.UTF-8): %{_pearname} - klasa narzędziowa do obróbki XML-a |
cbc93e64 | 8 | Name: php-pear-%{_pearname} |
042abf5b ER |
9 | Version: 1.2.3 |
10 | Release: 1 | |
554906bf | 11 | License: BSD |
cbc93e64 AG |
12 | Group: Development/Languages/PHP |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
042abf5b | 14 | # Source0-md5: 7280fe3c5a7db11a7a9c293dcf81a285 |
29f2f253 | 15 | URL: http://pear.php.net/package/XML_Util/ |
5d5c1f02 | 16 | BuildRequires: php-pear-PEAR |
6298b260 | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
9f9c8fbd | 18 | BuildRequires: rpmbuild(macros) >= 1.300 |
a0bb5016 | 19 | Requires: php(core) >= 4.2.0 |
4f72ae49 | 20 | Requires: php(pcre) |
cbc93e64 | 21 | Requires: php-pear |
dfa30350 | 22 | Requires: php-pear-PEAR-core |
169a231a | 23 | Obsoletes: php-pear-XML_Util-tests |
cbc93e64 AG |
24 | BuildArch: noarch |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | Selection of methods that are often needed when working with XML | |
29 | documents. Functionality includes creating of attribute lists from | |
30 | arrays, creation of tags, validation of XML names and more. | |
31 | ||
079f13ed | 32 | In PEAR status of this package is: %{_status}. |
cbc93e64 | 33 | |
15a44037 JR |
34 | %description -l pl.UTF-8 |
35 | Zbiór metod często stosowanych podczas pracy z dokumentami XML. | |
36 | Możliwość między innymi tworzenia listy atrybutów z tablic, tworzenia | |
37 | tagów, sprawdzania poprawności nazw XML oraz wiele innych. | |
cbc93e64 AG |
38 | |
39 | Ta klasa ma w PEAR status: %{_status}. | |
40 | ||
41 | %prep | |
a3c0d3c3 | 42 | %pear_package_setup |
cbc93e64 AG |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
a3c0d3c3 ER |
46 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
47 | %pear_package_install | |
cbc93e64 AG |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
a3c0d3c3 ER |
54 | %doc install.log |
55 | %doc docs/%{_pearname}/examples | |
56 | %{php_pear_dir}/.registry/*.reg | |
4f72ae49 | 57 | %{php_pear_dir}/XML/*.php |