SPECS: php-pear-PHP_Fork.spec - new pear packaging. doesn't build

glen glen at pld-linux.org
Thu Sep 22 21:03:48 CEST 2005


Author: glen                         Date: Thu Sep 22 19:03:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging. doesn't build

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

---- Diffs:

================================================================
Index: SPECS/php-pear-PHP_Fork.spec
diff -u SPECS/php-pear-PHP_Fork.spec:1.10 SPECS/php-pear-PHP_Fork.spec:1.11
--- SPECS/php-pear-PHP_Fork.spec:1.10	Sun Mar 27 01:47:29 2005
+++ SPECS/php-pear-PHP_Fork.spec	Thu Sep 22 21:03:43 2005
@@ -9,14 +9,17 @@
 Summary(pl):	%{_pearname} - Wrapper dla pcntl_fork() z API zbliżonym do Javy
 Name:		php-pear-%{_pearname}
 Version:	0.3.0
-Release:	1
+Release:	1.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	fd79cedf8c57d074757d4362beab41bf
 URL:		http://pear.php.net/package/PHP_Fork/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
-Requires:	php-pear
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+Requires:	php-pear >= 4:1.0-7
+Requires:	php-pcntl
+Requires:	php-shmop
+Requires:	php-posix
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -71,20 +74,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 optional-packages.txt
+%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"`)
@@ -93,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/09/22 19:03:43  glen
+- new pear packaging. doesn't build
+
 Revision 1.10  2005/03/27 00:47:29  adamg
 - updated to 0.3.0
 
================================================================

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




More information about the pld-cvs-commit mailing list