]> git.pld-linux.org Git - packages/php-pear-XML_Beautifier.git/blob - php-pear-XML_Beautifier.spec
- up to 1.2.2
[packages/php-pear-XML_Beautifier.git] / php-pear-XML_Beautifier.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _status         stable
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}
7 Version:        1.2.2
8 Release:        1
9 License:        BSD
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
18 Requires:       php-pear
19 Requires:       php-pear-XML_Parser >= 1.0
20 Requires:       php-pear-XML_Util >= 0.5
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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
28 with several options.
29
30 In PEAR status of this package is: %{_status}.
31
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.
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 # tests should not be packaged
49 %{__rm} -r $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc install.log
57 %{php_pear_dir}/.registry/*.reg
58 %{php_pear_dir}/XML/Beautifier.php
59 %{php_pear_dir}/XML/Beautifier
This page took 0.086418 seconds and 3 git commands to generate.