packages: php-pear-XML_FastCreate/php-pear-XML_FastCreate.spec - up to 1.0.4

glen glen at pld-linux.org
Sun Mar 25 23:05:17 CEST 2012


Author: glen                         Date: Sun Mar 25 21:05:17 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.0.4

---- Files affected:
packages/php-pear-XML_FastCreate:
   php-pear-XML_FastCreate.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: packages/php-pear-XML_FastCreate/php-pear-XML_FastCreate.spec
diff -u packages/php-pear-XML_FastCreate/php-pear-XML_FastCreate.spec:1.24 packages/php-pear-XML_FastCreate/php-pear-XML_FastCreate.spec:1.25
--- packages/php-pear-XML_FastCreate/php-pear-XML_FastCreate.spec:1.24	Tue Mar  1 07:29:01 2011
+++ packages/php-pear-XML_FastCreate/php-pear-XML_FastCreate.spec	Sun Mar 25 23:05:12 2012
@@ -1,22 +1,20 @@
 # $Revision$, $Date$
+%define		status		stable
+%define		pearname	XML_FastCreate
 %include	/usr/lib/rpm/macros.php
-%define		_class		XML
-%define		_subclass	FastCreate
-%define		_status		stable
-%define		_pearname	%{_class}_%{_subclass}
-Summary:	%{_pearname} - fast creation of valid XML with DTD control and translation options
-Summary(pl.UTF-8):	%{_pearname} - szybkie tworzenie poprawnego XML-u ze sprawdzaniem DTD i opcjami dla tłumaczeń
-Name:		php-pear-%{_pearname}
-Version:	1.0.3
-Release:	4
+Summary:	%{pearname} - fast creation of valid XML with DTD control and translation options
+Summary(pl.UTF-8):	%{pearname} - szybkie tworzenie poprawnego XML-u ze sprawdzaniem DTD i opcjami dla tłumaczeń
+Name:		php-pear-%{pearname}
+Version:	1.0.4
+Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	7475c831ce8fcbc850aaa3ed4a7d8ab9
+Source0:	http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5:	1ecd15f5619aa9fa3324e48ec0458583
 URL:		http://pear.php.net/package/XML_FastCreate/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.580
 Requires:	php-common >= 3:4.3.2
 Requires:	php-pear
 Suggests:	php-pear-XML_Beautifier >= 1.1
@@ -28,7 +26,7 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define		_noautoreq	'pear(XML/Tree.*)' 'pear(XML/DTD.*)' 'pear(XML/Beautifier.*)' 'pear(XML/HTMLSax.*)'
+%define		_noautoreq	pear(XML/Tree.*) pear(XML/DTD.*) pear(XML/Beautifier.*) pear(XML/HTMLSax.*)
 
 %description
 Key features of this package include:
@@ -55,7 +53,7 @@
 - Include a PHP program to quickly transform HTML to FastCreate syntax.
 [ Require XML_HTMLSax package ]
 
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
 
 %description -l pl.UTF-8
 Kluczowe możliwości tego pakietu obejmują:
@@ -84,19 +82,21 @@
 - dołączanie programu PHP do szybkiego przekształcania HTML-a do
 składni FastCreate (wymaga pakietu XML_HTMLSax).
 
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
 
 %prep
 %pear_package_setup
 
+mv .%{php_pear_dir}/data/XML_FastCreate/README .
+
 install -d ./%{_bindir}
 mv ./{%{php_pear_dir}/script/HTML2XFC.php,%{_bindir}/HTML2XFC}
 
-install -d ./%{php_pear_dir}/tests/%{_pearname}
-mv ./%{php_pear_dir}/{%{_class}/tests/*,tests/%{_pearname}}
+install -d ./%{php_pear_dir}/tests/%{pearname}
+mv ./%{php_pear_dir}/{XML/tests/*,tests/%{pearname}}
 
-install -d ./%{php_pear_dir}/data/%{_pearname}
-mv ./%{php_pear_dir}/{%{_class}/dtd/*,data/%{_pearname}}
+install -d ./%{php_pear_dir}/data/%{pearname}
+mv ./%{php_pear_dir}/{XML/dtd/*,data/%{pearname}}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -116,11 +116,13 @@
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %doc install.log optional-packages.txt
 %{php_pear_dir}/.registry/*.reg
-%attr(755,root,root) %{_bindir}/*
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%attr(755,root,root) %{_bindir}/HTML2XFC
+%{php_pear_dir}/XML/*.php
+%{php_pear_dir}/XML/FastCreate
+%{php_pear_dir}/data/XML_FastCreate
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -128,6 +130,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2012/03/25 21:05:12  glen
+- up to 1.0.4
+
 Revision 1.24  2011/03/01 06:29:01  glen
 - release 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/php-pear-XML_FastCreate/php-pear-XML_FastCreate.spec?r1=1.24&r2=1.25



More information about the pld-cvs-commit mailing list