SPECS: php-pear-Net_GameServerQuery.spec - new pear packaging (fix...

glen glen at pld-linux.org
Thu Sep 29 00:21:49 CEST 2005


Author: glen                         Date: Wed Sep 28 22:21:49 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging (fixed %files); rel 4

---- Files affected:
SPECS:
   php-pear-Net_GameServerQuery.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Net_GameServerQuery.spec
diff -u SPECS/php-pear-Net_GameServerQuery.spec:1.8 SPECS/php-pear-Net_GameServerQuery.spec:1.9
--- SPECS/php-pear-Net_GameServerQuery.spec:1.8	Sun Dec  5 14:05:30 2004
+++ SPECS/php-pear-Net_GameServerQuery.spec	Thu Sep 29 00:21:43 2005
@@ -9,7 +9,7 @@
 Summary(pl):	%{_pearname} - interfejs do odpytywanie serwera gier
 Name:		php-pear-%{_pearname}
 Version:	0.2.0
-Release:	3
+Release:	4
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -36,21 +36,22 @@
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
-%patch0 -p1
+%pear_package_setup
+cd ./%{php_pear_dir}/%{_class}
+%patch0 -p2
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
-
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-install %{_pearname}-%{version}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc install.log
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}
 
@@ -60,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/09/28 22:21:43  glen
+- new pear packaging (fixed %files); rel 4
+
 Revision 1.8  2004/12/05 13:05:30  adamg
 - add path_fix.patch (fix some inclusion issues)
 - release 3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-Net_GameServerQuery.spec?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list