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