]> git.pld-linux.org Git - packages/php-pear-XML_Util.git/blob - php-pear-XML_Util.spec
b116704104cda727e78ae6c75a46159c65ee36b4
[packages/php-pear-XML_Util.git] / php-pear-XML_Util.spec
1 %define         _class          XML
2 %define         _subclass       Util
3 %define         _status         stable
4 %define         _pearname       XML_Util
5 %include        /usr/lib/rpm/macros.php
6 Summary:        %{_pearname} - XML utility class
7 Summary(pl.UTF-8):      %{_pearname} - klasa narzędziowa do obróbki XML-a
8 Name:           php-pear-%{_pearname}
9 Version:        1.3.0
10 Release:        1
11 License:        BSD
12 Group:          Development/Languages/PHP
13 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5:  7639263e35f5d2bc3cdee52484a2f366
15 URL:            http://pear.php.net/package/XML_Util/
16 BuildRequires:  php-pear-PEAR
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 BuildRequires:  rpmbuild(macros) >= 1.300
19 Requires:       php(core) >= 4.2.0
20 Requires:       php(pcre)
21 Requires:       php-pear
22 Requires:       php-pear-PEAR-core
23 Obsoletes:      php-pear-XML_Util-tests
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
32 In PEAR status of this package is: %{_status}.
33
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.
38
39 Ta klasa ma w PEAR status: %{_status}.
40
41 %prep
42 %pear_package_setup
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 %pear_package_install
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc install.log
55 %doc docs/%{_pearname}/examples
56 %{php_pear_dir}/.registry/*.reg
57 %{php_pear_dir}/XML/*.php
This page took 0.106195 seconds and 2 git commands to generate.