SPECS: php-pear-HTTP_Server.spec - new pear packaging (fixed %file...

glen glen at pld-linux.org
Tue Sep 27 18:55:01 CEST 2005


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

---- Files affected:
SPECS:
   php-pear-HTTP_Server.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/php-pear-HTTP_Server.spec
diff -u SPECS/php-pear-HTTP_Server.spec:1.10 SPECS/php-pear-HTTP_Server.spec:1.11
--- SPECS/php-pear-HTTP_Server.spec:1.10	Sat Jan  1 15:08:38 2005
+++ SPECS/php-pear-HTTP_Server.spec	Tue Sep 27 18:54:56 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - klasa do obsługi serwera HTTP
 Name:		php-pear-%{_pearname}
 Version:	0.4.0
-Release:	1
+Release:	2
 License:	PHP
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	b1c05e2380d4b4c6d083f1740e512430
 URL:		http://pear.php.net/package/HTTP_Server/
-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,21 +37,23 @@
 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
+%{php_pear_dir}/%{_class}/%{_subclass}
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/09/27 16:54:56  glen
+- new pear packaging (fixed %files); rel 2
+
 Revision 1.10  2005/01/01 14:08:38  adamg
 - updated to 0.4.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-HTTP_Server.spec?r1=1.10&r2=1.11&f=u




More information about the pld-cvs-commit mailing list