diff options
author | sparky | 2011-01-15 17:48:26 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | b54a9c50c093dd5a3785c486c1a615e94554df89 (patch) | |
tree | e9e72b89e2c8d11001170509cf24ee7be741019e /mp3gain.spec | |
parent | 84dcd1a9cb30c9641369f5bab90e75c7321ddf0f (diff) | |
download | mp3gain-master.zip mp3gain-master.tar.gz |
- updated to: 1.5.2HEADauto/th/mp3gain-1_5_2-1master
Changed files:
mp3gain.spec -> 1.9
Diffstat (limited to 'mp3gain.spec')
-rw-r--r-- | mp3gain.spec | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/mp3gain.spec b/mp3gain.spec index 29111cf..8d48314 100644 --- a/mp3gain.spec +++ b/mp3gain.spec @@ -1,15 +1,15 @@ +%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) @@ -27,13 +27,12 @@ tak naprawdę plik brzmi dla ludzkiego ucha. %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 @@ -47,4 +46,4 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_bindir}/mp3gain |