SPECS: php-pear-Services_Amazon.spec - new pear packaging - NOTE: ...

glen glen at pld-linux.org
Thu Sep 29 20:42:02 CEST 2005


Author: glen                         Date: Thu Sep 29 18:42:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging
- NOTE: %files have been fixed
- rel 3

---- Files affected:
SPECS:
   php-pear-Services_Amazon.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Services_Amazon.spec
diff -u SPECS/php-pear-Services_Amazon.spec:1.6 SPECS/php-pear-Services_Amazon.spec:1.7
--- SPECS/php-pear-Services_Amazon.spec:1.6	Sat Dec  4 15:21:00 2004
+++ SPECS/php-pear-Services_Amazon.spec	Thu Sep 29 20:41:57 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - dostęp do usług sieciowych Amazon.com
 Name:		php-pear-%{_pearname}
 Version:	0.2.0
-Release:	2
+Release:	3
 License:	BSD
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	9aa062c72972679040100ddecf4c8e59
 URL:		http://pear.php.net/package/Services_Amazon/
-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)
@@ -35,20 +35,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}/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -57,6 +58,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2005/09/29 18:41:57  glen
+- new pear packaging
+- NOTE: %files have been fixed
+- rel 3
+
 Revision 1.6  2004/12/04 14:21:00  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-Services_Amazon.spec?r1=1.6&r2=1.7&f=u




More information about the pld-cvs-commit mailing list