]> git.pld-linux.org Git - packages/php-pear-XML_Beautifier.git/blob - php-pear-XML_Beautifier.spec
- updated to 0.2.1
[packages/php-pear-XML_Beautifier.git] / php-pear-XML_Beautifier.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          XML
3 %define         _subclass       Beautifier
4 %define         _status         beta
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - class to format XML documents
8 Summary(pl):    %{_pearname} - klasa do formatowania dokumentów XML
9 Name:           php-pear-%{_pearname}
10 Version:        0.2.1
11 Release:        1
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  a0c3ac8c7c9be41eadc831f98d488851
16 URL:            http://pear.php.net/package/XML_Beautifier/
17 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 XML_Beautifier will add indentation and linebreaks to you XML files,
24 replace all entities, format your comments and makes your document
25 easier to read. You can influence the way your document is beautified
26 with several options. 
27
28 This class has in PEAR status: %{_status}.
29
30 %description -l pl
31 XML_Beautifier dodaje wciêcia i znaki koñca linii do plików XML,
32 zastêpuje wszelkie encje, przeformatowuje komentarze i sprawia, ¿e
33 dokument jest ³atwiejszy do czytania. Za pomoc± wielu opcji mo¿na
34 wp³yn±æ na sposób, w jaki dokument bêdzie upiêkszony.
35
36 Ta klasa ma w PEAR status: %{_status}.
37
38 %prep
39 %setup -q -c
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
44
45 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc %{_pearname}-%{version}/examples
53 %{php_pear_dir}/%{_class}/*.php
This page took 0.097213 seconds and 4 git commands to generate.