- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-XML_Tree.git] / php-pear-XML_Tree.spec
1 %define         _class          XML
2 %define         _subclass       Tree
3 %define         _status         beta
4 %define         _pearname       XML_Tree
5 %define         subver  RC3
6 %define         rel     4
7 Summary:        %{_pearname} - represent XML data in a tree structure
8 Summary(pl.UTF-8):      %{_pearname} - prezentacja danych XML w postaci drzewa
9 Name:           php-pear-%{_pearname}
10 Version:        2.0.0
11 Release:        0.%{subver}.%{rel}
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
15 # Source0-md5:  222028ad5f1404a785c656de3b8a206a
16 URL:            http://pear.php.net/package/XML_Tree/
17 BuildRequires:  php-pear-PEAR >= 1:1.4.0-0.b1
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 BuildRequires:  rpmbuild(macros) >= 1.300
20 Requires:       php(core) >= 4.0.4
21 Requires:       php(pcre)
22 Requires:       php(xml)
23 Requires:       php-pear
24 Requires:       php-pear-PEAR-core >= 1:1.4.0-0.b1
25 Requires:       php-pear-XML_Parser >= 1.1.0
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Allows for the building of XML data structures using a tree
31 representation, without the need for an extension like DOMXML.
32
33 In PEAR status of this package is: %{_status}.
34
35 NOTE: This package is not maintained anymore and has been superseded.
36 Use XML_Serializer instead.
37
38 %description -l pl.UTF-8
39 Klasa ta pozwala na budowanie struktur danych XML przy użyciu
40 reprezentacji drzewiastej, bez potrzeby rozszerzeń typu DOMXML.
41
42 Ta klasa ma w PEAR status: %{_status}.
43
44 UWAGA: ten pakiet nie jest już utrzymywany, został zastąpiony pakietem
45 XML_Serializer.
46
47 %prep
48 %pear_package_setup
49 # probably wrongly packaged
50 mv ./%{php_pear_dir}/data/%{_pearname}/README.txt docs
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{php_pear_dir}
55 %pear_package_install
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc install.log
63 %doc docs/%{_pearname}/docs/*
64 %doc docs/README.txt
65 %{php_pear_dir}/.registry/*.reg
66 %{php_pear_dir}/XML/*.php
67 %{php_pear_dir}/XML/Tree
This page took 0.146723 seconds and 4 git commands to generate.