]> git.pld-linux.org Git - packages/php-pear-XML_Beautifier.git/blobdiff - php-pear-XML_Beautifier.spec
- up to 1.2.2
[packages/php-pear-XML_Beautifier.git] / php-pear-XML_Beautifier.spec
index d5ccbda02512b13b7b66d26433484796958353fe..8f487fe9965161fbe0ee527d1ea2c824afe109ca 100644 (file)
@@ -1,21 +1,23 @@
 %include       /usr/lib/rpm/macros.php
-%define                _class          XML
-%define                _subclass       Beautifier
 %define                _status         stable
-%define                _pearname       %{_class}_%{_subclass}
-
+%define                _pearname       XML_Beautifier
 Summary:       %{_pearname} - class to format XML documents
-Summary(pl):   %{_pearname} - klasa do formatowania dokumentów XML
+Summary(pl.UTF-8):     %{_pearname} - klasa do formatowania dokumentów XML
 Name:          php-pear-%{_pearname}
-Version:       1.1
-Release:       2.3
-License:       PHP 2.02
+Version:       1.2.2
+Release:       1
+License:       BSD
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: d121758edb840d9107debb26bb5837d7
+# Source0-md5: a5f57c749a09a1b598f0284c95f86e68
 URL:           http://pear.php.net/package/XML_Beautifier/
+BuildRequires: php-pear-PEAR >= 1:1.3.0
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.300
+Requires:      php-common >= 3:4.2.0
 Requires:      php-pear
+Requires:      php-pear-XML_Parser >= 1.0
+Requires:      php-pear-XML_Util >= 0.5
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,15 +25,15 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 XML_Beautifier will add indentation and linebreaks to you XML files,
 replace all entities, format your comments and makes your document
 easier to read. You can influence the way your document is beautified
-with several options. 
+with several options.
 
 In PEAR status of this package is: %{_status}.
 
-%description -l pl
-XML_Beautifier dodaje wciêcia i znaki koñca linii do plików XML,
-zastêpuje wszelkie encje, przeformatowuje komentarze i sprawia, ¿e
-dokument jest ³atwiejszy do czytania. Za pomoc± wielu opcji mo¿na
-wp³yn±æ na sposób, w jaki dokument bêdzie upiêkszony.
+%description -l pl.UTF-8
+XML_Beautifier dodaje wcięcia i znaki końca linii do plików XML,
+zastępuje wszelkie encje, przeformatowuje komentarze i sprawia, że
+dokument jest łatwiejszy do czytania. Za pomocą wielu opcji można
+wpłynąć na sposób, w jaki dokument będzie upiększony.
 
 Ta klasa ma w PEAR status: %{_status}.
 
@@ -43,6 +45,9 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+# tests should not be packaged
+%{__rm} -r $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -50,8 +55,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc install.log
 %{php_pear_dir}/.registry/*.reg
-%dir %{php_pear_dir}/%{_class}/%{_subclass}
-%dir %{php_pear_dir}/%{_class}/%{_subclass}/Renderer
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}/Renderer/*.php
+%{php_pear_dir}/XML/Beautifier.php
+%{php_pear_dir}/XML/Beautifier
This page took 0.059257 seconds and 4 git commands to generate.