packages: php-pear-File_XSPF/php-pear-File_XSPF.spec - up to 0.2.2

glen glen at pld-linux.org
Tue Nov 16 13:13:28 CET 2010


Author: glen                         Date: Tue Nov 16 12:13:28 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.2.2

---- Files affected:
packages/php-pear-File_XSPF:
   php-pear-File_XSPF.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: packages/php-pear-File_XSPF/php-pear-File_XSPF.spec
diff -u packages/php-pear-File_XSPF/php-pear-File_XSPF.spec:1.11 packages/php-pear-File_XSPF/php-pear-File_XSPF.spec:1.12
--- packages/php-pear-File_XSPF/php-pear-File_XSPF.spec:1.11	Sat Aug 21 21:08:48 2010
+++ packages/php-pear-File_XSPF/php-pear-File_XSPF.spec	Tue Nov 16 13:13:23 2010
@@ -1,18 +1,16 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
-%define		_class		File
-%define		_subclass	XSPF
 %define		_status		beta
 %define		_pearname	File_XSPF
 Summary:	%{_pearname} - manipulating XSPF playlists
 Summary(pl.UTF-8):	%{_pearname} - manipulowanie playlistami XSPF
 Name:		php-pear-%{_pearname}
-Version:	0.2.1
-Release:	3
+Version:	0.2.2
+Release:	1
 License:	LGPL
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	31a78f958089b4221d303a53f6156c53
+# Source0-md5:	d2956d070e7dd6b734a94478daa6c318
 URL:		http://pear.php.net/package/File_XSPF/
 BuildRequires:	php-pear-PEAR >= 1:1.4.0-0.a1
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -22,6 +20,7 @@
 Requires:	php-pear-Validate >= 0.6.2
 Requires:	php-pear-XML_Parser >= 1.2.7
 Requires:	php-pear-XML_Tree >= 1.1.0
+Obsoletes:	php-pear-File_XSPF-tests
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,28 +36,19 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
-%package tests
-Summary:	Tests for PEAR::%{_pearname}
-Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
-Group:		Development/Languages/PHP
-Requires:	%{name} = %{epoch}:%{version}-%{release}
-AutoProv:	no
-AutoReq:	no
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
-%description tests -l pl.UTF-8
-Testy dla PEAR::%{_pearname}.
-
 %prep
 %pear_package_setup
 
+mv .%{php_pear_dir}/File/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}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -69,12 +59,17 @@
 %{php_pear_dir}/File/XSPF.php
 %{php_pear_dir}/File/XSPF
 
+%{_examplesdir}/%{name}-%{version}
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2010/11/16 12:13:23  glen
+- up to 0.2.2
+
 Revision 1.11  2010/08/21 19:08:48  glen
 - updated deps with pearize.sh
 - release 3
================================================================

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



More information about the pld-cvs-commit mailing list