]> git.pld-linux.org Git - packages/php-pear-XML_Beautifier.git/blob - php-pear-XML_Beautifier.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-XML_Beautifier.git] / php-pear-XML_Beautifier.spec
1 %define         _status         stable
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}
6 Version:        1.2.2
7 Release:        2
8 License:        BSD
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
17 Requires:       php-pear
18 Requires:       php-pear-XML_Parser >= 1.0
19 Requires:       php-pear-XML_Util >= 0.5
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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
27 with several options.
28
29 In PEAR status of this package is: %{_status}.
30
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.
36
37 Ta klasa ma w PEAR status: %{_status}.
38
39 %prep
40 %pear_package_setup
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
45 %pear_package_install
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc install.log
53 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/XML/Beautifier.php
55 %{php_pear_dir}/XML/Beautifier
This page took 0.047907 seconds and 4 git commands to generate.