- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-XML_Serializer.git] / php-pear-XML_Serializer.spec
1 %define         _status         beta
2 %define         _pearname       XML_Serializer
3 Summary:        %{_pearname} - class to build XML documents from data structures
4 Summary(pl.UTF-8):      %{_pearname} - klasa do tworzenia dokumentów XML ze struktur danych
5 Name:           php-pear-%{_pearname}
6 Version:        0.21.0
7 Release:        1
8 License:        BSD
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5:  0a21c3327035c46284348874099185ff
12 URL:            http://pear.php.net/package/XML_Serializer/
13 BuildRequires:  php-pear-PEAR >= 1:1.4.0-0.b1
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.300
16 Requires:       php(core) >= 4.2.0
17 Requires:       php(xml)
18 Requires:       php-pear
19 Requires:       php-pear-PEAR-core
20 Requires:       php-pear-XML_Parser >= 1.2.6
21 Requires:       php-pear-XML_Util >= 1.1.1
22 Obsoletes:      php-pear-XML_Serializer-tests
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 %{_pearname} serializes complex data structures like arrays or objects
28 as XML documents. This class helps you generating any XML document you
29 require without the need for DOM.
30
31 In PEAR status of this package is: %{_status}.
32
33 %description -l pl.UTF-8
34 %{_pearname} serializuje złożone struktury danych takie jak tablice
35 czy obiekty jako dokumenty XML. Ta klasa pomaga w generowaniu
36 dowolnego dokumentu XML bez potrzeby użycia DOM.
37
38 Ta klasa ma w PEAR status: %{_status}.
39
40 %prep
41 %pear_package_setup
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}
46 %pear_package_install
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc install.log
54 %doc docs/%{_pearname}/*
55 %{php_pear_dir}/.registry/*.reg
56 %{php_pear_dir}/XML/Serializer.php
57 %{php_pear_dir}/XML/Unserializer.php
This page took 0.082378 seconds and 4 git commands to generate.