Author: glen                         Date: Tue Sep 21 08:49:51 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.5.2

---- Files affected:
packages/php-pear-MP3_Playlist:
   php-pear-MP3_Playlist.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/php-pear-MP3_Playlist/php-pear-MP3_Playlist.spec
diff -u packages/php-pear-MP3_Playlist/php-pear-MP3_Playlist.spec:1.10 
packages/php-pear-MP3_Playlist/php-pear-MP3_Playlist.spec:1.11
--- packages/php-pear-MP3_Playlist/php-pear-MP3_Playlist.spec:1.10      Thu Jan 
31 13:16:08 2008
+++ packages/php-pear-MP3_Playlist/php-pear-MP3_Playlist.spec   Tue Sep 21 
10:49:46 2010
@@ -1,22 +1,18 @@
 # $Revision$, $Date$
 %include       /usr/lib/rpm/macros.php
-%define                _class          MP3
-%define                _subclass       Playlist
 %define                _status         alpha
-%define                _pearname       %{_class}_%{_subclass}
-
+%define                _pearname       MP3_Playlist
 Summary:       %{_pearname} - create MP3 playlists on the fly
 Summary(pl.UTF-8):     %{_pearname} - tworzenie list utworów MP3 w locie
 Name:          php-pear-%{_pearname}
-Version:       0.5.1
-Release:       2
-Epoch:         0
+Version:       0.5.2
+Release:       1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
-Source0:       http://pear.php.net/get/%{_pearname}-%{version}alpha1.tgz
-# Source0-md5: 5eab4294f35c79b4d1046d1d13d9ddfc
+Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 601821984dd7c40cd130c6c64f84363e
 URL:           http://pear.php.net/package/MP3_Playlist/
-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-common >= 3:5.0.0
@@ -24,6 +20,7 @@
 Requires:      php-pear-MP3_Id >= 1.1.4
 Requires:      php-pear-Net_URL >= 1.0.14
 Requires:      php-pear-PEAR-core >= 1:1.3.0
+Obsoletes:     php-pear-MP3_Playlist-tests
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -44,40 +41,36 @@
 
 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}
-AutoReq:       no
-AutoProv:      no
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
-%description tests -l pl.UTF-8
-Testy dla PEAR::%{_pearname}.
-
 %prep
 %pear_package_setup
 
+# package build script
+rm .%{php_pear_dir}/generate_package_xml.php
+
+mv docs/%{_pearname}/docs/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 docs/%{_pearname}/docs/*
+%doc install.log
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*
+%{php_pear_dir}/MP3/Playlist.php
+%{php_pear_dir}/MP3/Playlist
 
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
+%{_examplesdir}/%{name}-%{version}
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -85,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2010/09/21 08:49:46  glen
+- up to 0.5.2
+
 Revision 1.10  2008/01/31 12:16:08  glen
 - rel 2
 
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to