packages: php-pear-Services_Delicious/php-pear-Services_Delicious.spec - up...

glen glen at pld-linux.org
Sat Oct 9 18:34:21 CEST 2010


Author: glen                         Date: Sat Oct  9 16:34:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.6.0

---- Files affected:
packages/php-pear-Services_Delicious:
   php-pear-Services_Delicious.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: packages/php-pear-Services_Delicious/php-pear-Services_Delicious.spec
diff -u packages/php-pear-Services_Delicious/php-pear-Services_Delicious.spec:1.17 packages/php-pear-Services_Delicious/php-pear-Services_Delicious.spec:1.18
--- packages/php-pear-Services_Delicious/php-pear-Services_Delicious.spec:1.17	Sat Aug 21 21:08:56 2010
+++ packages/php-pear-Services_Delicious/php-pear-Services_Delicious.spec	Sat Oct  9 18:34:16 2010
@@ -1,26 +1,24 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
-%define		_class		Services
-%define		_subclass	Delicious
 %define		_status		beta
-%define		_pearname	%{_class}_%{_subclass}
+%define		_pearname	Services_Delicious
 Summary:	%{_pearname} - Client for the del.icio.us web service
 Summary(pl.UTF-8):	%{_pearname} - Klient sieciowej usługi del.icio.us
 Name:		php-pear-%{_pearname}
-Version:	0.5.0
-Release:	3
+Version:	0.6.0
+Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	78ee07f4ffd9e49db023d85af9604a72
+# Source0-md5:	4990d978afed077bf6132e64dcade508
 URL:		http://pear.php.net/package/Services_Delicious/
-BuildRequires:	php-pear-PEAR
+BuildRequires:	php-pear-PEAR >= 1:1.4.0-0.b1
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.300
 Requires:	php-openssl
 Requires:	php-pear
 Requires:	php-pear-HTTP_Client
-Requires:	php-pear-HTTP_Request
+Requires:	php-pear-HTTP_Request2
 Requires:	php-pear-PEAR-core
 Requires:	php-pear-XML_Serializer >= 0.12.0
 BuildArch:	noarch
@@ -58,20 +56,30 @@
 %prep
 %pear_package_setup
 
+mv docs/Services_Delicious/examples .
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+# tests should not be packaged
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc install.log
-%doc docs/%{_pearname}/*
+%doc docs/%{_pearname}/docs/*
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/Services/Delicious.php
+
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -79,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2010/10/09 16:34:16  glen
+- up to 0.6.0
+
 Revision 1.17  2010/08/21 19:08:56  glen
 - updated deps with pearize.sh
 - release 3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Services_Delicious/php-pear-Services_Delicious.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list