]>
Commit | Line | Data |
---|---|---|
55ed3c0f | 1 | %define _status beta |
e42e82c7 | 2 | %define _pearname XML_Serializer |
55ed3c0f | 3 | Summary: %{_pearname} - class to build XML documents from data structures |
e1c1573b | 4 | Summary(pl.UTF-8): %{_pearname} - klasa do tworzenia dokumentów XML ze struktur danych |
55ed3c0f | 5 | Name: php-pear-%{_pearname} |
f2e039be AG |
6 | Version: 0.21.0 |
7 | Release: 1 | |
dbc0ffc2 | 8 | License: BSD |
55ed3c0f AG |
9 | Group: Development/Languages/PHP |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
f2e039be | 11 | # Source0-md5: 0a21c3327035c46284348874099185ff |
1c57a1c9 | 12 | URL: http://pear.php.net/package/XML_Serializer/ |
e42e82c7 | 13 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
28903aca | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
c21cf396 | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
5dbb432e | 16 | Requires: php(core) >= 4.2.0 |
4c636641 | 17 | Requires: php(xml) |
55ed3c0f | 18 | Requires: php-pear |
e0e8b29f | 19 | Requires: php-pear-PEAR-core |
2d81d0fe | 20 | Requires: php-pear-XML_Parser >= 1.2.6 |
441178b5 | 21 | Requires: php-pear-XML_Util >= 1.1.1 |
bdaff30f | 22 | Obsoletes: php-pear-XML_Serializer-tests |
55ed3c0f AG |
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 | ||
c3772502 | 31 | In PEAR status of this package is: %{_status}. |
55ed3c0f | 32 | |
3a37e933 JR |
33 | %description -l pl.UTF-8 |
34 | %{_pearname} serializuje złożone struktury danych takie jak tablice | |
55ed3c0f | 35 | czy obiekty jako dokumenty XML. Ta klasa pomaga w generowaniu |
3a37e933 | 36 | dowolnego dokumentu XML bez potrzeby użycia DOM. |
55ed3c0f AG |
37 | |
38 | Ta klasa ma w PEAR status: %{_status}. | |
39 | ||
40 | %prep | |
28903aca ER |
41 | %pear_package_setup |
42 | ||
55ed3c0f AG |
43 | %install |
44 | rm -rf $RPM_BUILD_ROOT | |
28903aca ER |
45 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
46 | %pear_package_install | |
55ed3c0f AG |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
28903aca ER |
53 | %doc install.log |
54 | %doc docs/%{_pearname}/* | |
55 | %{php_pear_dir}/.registry/*.reg | |
bdaff30f ER |
56 | %{php_pear_dir}/XML/Serializer.php |
57 | %{php_pear_dir}/XML/Unserializer.php |