commit d200b8fdae054a39ff5093bcff603c05eb7d1795
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Tue Aug 14 15:24:51 2018 +0300
Update to latest git.
.gitignore | 1 +
deadbeef.spec | 25 ++++++++++++++++++-------
sources | 2 +-
3 files changed, 20 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6bc56c8..f8323d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/deadbeef-0.7.2.tar.bz2
+/6d02b028861ab4c8c8f06f480d5b2197011b6dbd
diff --git a/deadbeef.spec b/deadbeef.spec
index b8af717..94f4fae 100644
--- a/deadbeef.spec
+++ b/deadbeef.spec
@@ -1,15 +1,16 @@
+%global gitcommit_full 6d02b028861ab4c8c8f06f480d5b2197011b6dbd
+%global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7})
+%global date 20180814
+
Name: deadbeef
-Version: 0.7.2
-Release: 7%{?dist}
+Version: 0.7.3
+Release: 0.1.%{date}git%{gitcommit}%{?dist}
Summary: An audio player for GNU/Linux
Summary(ru): Музыкальный проигрыватель для GNU/Linux
License: GPLv2+ and LGPLv2+ and BSD and MIT and zlib
URL:
http://deadbeef.sourceforge.net
-Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}-%{version}.tar.bz2
-Patch0: desktop.patch
-Patch1: adplug-2.2.1-signed-char.patch
-Patch2: sidplay-libs-gcc6.patch
+Source0:
https://github.com/DeaDBeeF-Player/deadbeef/tarball/%{gitcommit_full}
BuildRequires: gcc-c++
BuildRequires: pkgconfig(alsa)
@@ -43,6 +44,7 @@ BuildRequires: pkgconfig(gtk+-2.0)
%endif
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(jansson)
+BuildRequires: pkgconfig(opusfile)
Requires: hicolor-icon-theme
Requires: %{name}-plugins%{?_isa} = %{version}-%{release}
@@ -76,13 +78,19 @@ This package contains plugins for %{name}
%prep
-%autosetup -p1
+%autosetup -p1 -n DeaDBeeF-Player-%{name}-%{gitcommit}
# Remove exec permission from source files
find . \( -name '*.cpp' -or -name '*.hpp' -or -name '*.h' \) -and
-executable -exec chmod -x {} \;
+for data in Play Pause Stop Next Prev
+do
+ sed -i "s|$data Shortcut Group|X-$data Shortcut Group|"
deadbeef.desktop.in
+done
+
%build
+./autogen.sh
%configure \
--enable-ffmpeg --docdir=%{_defaultdocdir}/%{name}-%{version} \
--disable-silent-rules \
@@ -132,6 +140,9 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{name}.desktop
%changelog
+* Tue Aug 14 2018 Vasiliy N. Glazov <vascom2(a)gmail.com> -
0.7.3-0.1.20180814git6d02b02
+- Update to latest git
+
* Thu Jul 26 2018 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
0.7.2-7
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index 5af6201..bb4f14e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f8f5353e7c201fce316f8b082ab408bb deadbeef-0.7.2.tar.bz2
+ac46c9b45e55b64a10b6a9ae8d87fe88 6d02b028861ab4c8c8f06f480d5b2197011b6dbd