SPECS: php-pear-I18N_UnicodeString.spec - new pear packaging (fixe...

glen glen at pld-linux.org
Tue Sep 27 21:59:35 CEST 2005


Author: glen                         Date: Tue Sep 27 19:59:35 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging (fixed %files); rel 2

---- Files affected:
SPECS:
   php-pear-I18N_UnicodeString.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/php-pear-I18N_UnicodeString.spec
diff -u SPECS/php-pear-I18N_UnicodeString.spec:1.3 SPECS/php-pear-I18N_UnicodeString.spec:1.4
--- SPECS/php-pear-I18N_UnicodeString.spec:1.3	Fri Dec  3 23:17:02 2004
+++ SPECS/php-pear-I18N_UnicodeString.spec	Tue Sep 27 21:59:30 2005
@@ -15,7 +15,7 @@
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	251d67d3463af5768ece323b6c7c4336
 URL:		http://pear.php.net/package/I18N_UnicodeString/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,20 +37,21 @@
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc %{_pearname}-%{version}/examples
+%doc install.log
+%doc docs/%{_pearname}/examples
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -59,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/09/27 19:59:30  glen
+- new pear packaging (fixed %files); rel 2
+
 Revision 1.3  2004/12/03 22:17:02  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-I18N_UnicodeString.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list