2 %define _pearname XML_Beautifier
3 Summary: %{_pearname} - class to format XML documents
4 Summary(pl.UTF-8): %{_pearname} - klasa do formatowania dokumentów XML
5 Name: php-pear-%{_pearname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5: a5f57c749a09a1b598f0284c95f86e68
12 URL: http://pear.php.net/package/XML_Beautifier/
13 BuildRequires: php-pear-PEAR >= 1:1.3.0
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.300
16 Requires: php(core) >= 4.2.0
18 Requires: php-pear-XML_Parser >= 1.0
19 Requires: php-pear-XML_Util >= 0.5
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 XML_Beautifier will add indentation and linebreaks to you XML files,
25 replace all entities, format your comments and makes your document
26 easier to read. You can influence the way your document is beautified
29 In PEAR status of this package is: %{_status}.
31 %description -l pl.UTF-8
32 XML_Beautifier dodaje wcięcia i znaki końca linii do plików XML,
33 zastępuje wszelkie encje, przeformatowuje komentarze i sprawia, że
34 dokument jest łatwiejszy do czytania. Za pomocą wielu opcji można
35 wpłynąć na sposób, w jaki dokument będzie upiększony.
37 Ta klasa ma w PEAR status: %{_status}.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/XML/Beautifier.php
55 %{php_pear_dir}/XML/Beautifier