packages: mp3gain/mp3gain.spec - updated to: 1.5.2

sparky sparky at pld-linux.org
Sat Jan 15 18:48:31 CET 2011


Author: sparky                       Date: Sat Jan 15 17:48:31 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to: 1.5.2

---- Files affected:
packages/mp3gain:
   mp3gain.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/mp3gain/mp3gain.spec
diff -u packages/mp3gain/mp3gain.spec:1.8 packages/mp3gain/mp3gain.spec:1.9
--- packages/mp3gain/mp3gain.spec:1.8	Sat Oct 11 15:30:47 2008
+++ packages/mp3gain/mp3gain.spec	Sat Jan 15 18:48:26 2011
@@ -1,16 +1,16 @@
 # $Revision$, $Date$
+%define	subver	_r2
 Summary:	Analyzes and losslessly adjusts MP3 files to a specified target volume
 Summary(pl.UTF-8):	Analiza i bezstratne dostrojenie plików MP3 do zadanej głośności
 Name:		mp3gain
-Version:	1.4.6
+Version:	1.5.2
 Release:	1
 License:	LGPL
 Group:		Applications/Sound
-Source0:	http://dl.sourceforge.net/mp3gain/%{name}-%(echo %{version} | tr . _)-src.zip
-# Source0-md5:	4327167375dce5bce97625729a95fdb9
+Source0:	http://dl.sourceforge.net/mp3gain/%{name}-%(echo %{version} | tr . _)%{subver}-src.zip
+# Source0-md5:	b8e429f3225cc298c5d13d31afd050b6
 Patch0:		%{name}-Makefile.patch
 URL:		http://mp3gain.sourceforge.net/
-BuildRequires:	sed >= 4.0
 BuildRequires:	unzip
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -28,13 +28,12 @@
 
 %prep
 %setup -q -c
-%patch0 -p0
-sed -e '/CFLAGS/s/-O3//' -i Makefile
+%patch0 -p1
 
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}" \
+	CFLAGS="%{rpmcppflags} %{rpmcflags}" \
 	LDFLAGS="%{rpmcflags} %{rpmldflags}"
 
 %install
@@ -48,7 +47,7 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/mp3gain
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -56,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2011/01/15 17:48:26  sparky
+- updated to: 1.5.2
+
 Revision 1.8  2008/10/11 13:30:47  sparky
 - use rpmcflags while linking
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mp3gain/mp3gain.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list