[packages/php-pear-MP3_IDv2] - up to 0.1.7

glen glen at pld-linux.org
Tue Aug 28 22:38:37 CEST 2012


commit e77fbf8cd288044a5091beac5e97a621d812fe3f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Aug 28 23:38:30 2012 +0300

    - up to 0.1.7

 php-pear-MP3_IDv2.spec | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)
---
diff --git a/php-pear-MP3_IDv2.spec b/php-pear-MP3_IDv2.spec
index cabc1e5..441ebe0 100644
--- a/php-pear-MP3_IDv2.spec
+++ b/php-pear-MP3_IDv2.spec
@@ -1,22 +1,19 @@
+%define		status		alpha
+%define		pearname	MP3_IDv2
 %include	/usr/lib/rpm/macros.php
-%define		_class		MP3
-%define		_subclass	IDv2
-%define		_status		alpha
-%define		_pearname	MP3_IDv2
-
-Summary:	%{_pearname} - read/write IDv2-Tags
-Summary(pl.UTF-8):	%{_pearname} - odczyt/zapis znaczników IDv2 w plikach MP3
-Name:		php-pear-%{_pearname}
-Version:	0.1.5
+Summary:	%{pearname} - read/write IDv2-Tags
+Summary(pl.UTF-8):	%{pearname} - odczyt/zapis znaczników IDv2 w plikach MP3
+Name:		php-pear-%{pearname}
+Version:	0.1.7
 Release:	1
 License:	LGPL
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	3f58dba6dec023c1cda7ac8954e815b2
+Source0:	http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5:	07b9f01fce17d11441fef254d3a21551
 URL:		http://pear.php.net/package/MP3_IDv2/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.580
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,18 +22,22 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 The class offers methods for reading and writing information tags
 (version 2) in MP3 files and other files in a MPEG format.
 
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
 
 %description -l pl.UTF-8
 Klasa ta dostarcza metody do odczytu i zapisu znaczników
 informacyjnych (w wersji drugiej) w plikach MP3 oraz innych plikach w
 formacie MPEG.
 
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
 
 %prep
 %pear_package_setup
 
+# messed up dirs
+# https://pear.php.net/bugs/bug.php?id=19590
+mv .%{php_pear_dir}/MP3/MP3/* .%{php_pear_dir}/MP3
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-MP3_IDv2.git/commitdiff/e77fbf8cd288044a5091beac5e97a621d812fe3f



More information about the pld-cvs-commit mailing list