commit 7412bd84b6b14bd1b4db600d0e055989ad520225
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Mon Apr 30 03:00:16 2018 +0100
Update to 1.6.1
Drop upstreamed patch
Update spec
.gitignore | 1 +
mp3gain-tempfile-1.5.2.patch | 118 -------------------------------------------
mp3gain.spec | 29 +++++------
sources | 2 +-
4 files changed, 16 insertions(+), 134 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a1e7ed2..c3f6471 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
mp3gain-1_5_2_r2-src.zip
mp3gain.1.gz
+/mp3gain-1_6_1-src.zip
diff --git a/mp3gain.spec b/mp3gain.spec
index 7a2e820..ed01406 100644
--- a/mp3gain.spec
+++ b/mp3gain.spec
@@ -1,8 +1,8 @@
-%define tarball_version 1_5_2_r2
+%define tarball_version 1_6_1
Name: mp3gain
-Version: 1.5.2
-Release: 8%{?dist}
+Version: 1.6.1
+Release: 1%{?dist}
Summary: Lossless MP3 volume adjustment tool
Group: Applications/Multimedia
@@ -11,10 +11,10 @@ URL:
http://mp3gain.sourceforge.net
Source0:
http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-...
Source1: %{name}.1.gz
Source2: README.method
-Patch0: %{name}-tempfile-1.5.2.patch
Patch2: %{name}-cflags-1.5.2.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+
+BuildRequires: mpg123-devel
+
%description
MP3Gain analyzes and adjusts mp3 files so that they have the same
@@ -28,34 +28,33 @@ and re-encoding.
%prep
%setup -q -c %{name}-%{tarball_version}
-%patch0 -p0 -b .tempfile
%patch2 -p0 -b .cflags
install -p -m 644 %{SOURCE2} .
%{__sed} -i 's/\r//' lgpl.txt
%build
-make %{?_smp_mflags}
+%make_build
%install
-rm -rf $RPM_BUILD_ROOT
install -Dp -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
install -Dp -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1.gz
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
-%doc lgpl.txt README.method
+%doc README.method
+%license lgpl.txt
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
+* Mon Apr 30 2018 Sérgio Basto <sergio(a)serjux.com> - 1.6.1-1
+- Update to 1.6.1
+- Drop upstreamed patch
+- Update spec
+
* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
1.5.2-8
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index a1258c1..0a04d6a 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-b8e429f3225cc298c5d13d31afd050b6 mp3gain-1_5_2_r2-src.zip
+0df5c6849353de212e8c36a0353d716c mp3gain-1_6_1-src.zip
be6cfa62f64a2f4c2818de9b93411525 mp3gain.1.gz