From acaaaf5d2d5ffc25b396a36a8e19b4be39586819 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Sep 01 2017 16:47:54 +0000 Subject: Build ampache_browser plugin. --- diff --git a/audacious-plugins.spec b/audacious-plugins.spec index 8e6d8e5..c396616 100644 --- a/audacious-plugins.spec +++ b/audacious-plugins.spec @@ -72,7 +72,7 @@ BuildRequires: libbs2b-devel BuildRequires: curl-devel BuildRequires: pkgconfig(dbus-1) pkgconfig(dbus-glib-1) -%if 0%{?fedora} > 24 || 0%{?rhel} > 6 +%if 0%{?fedora} || 0%{?rhel} > 6 BuildRequires: pkgconfig(libmpg123) Obsoletes: audacious-plugins-freeworld-mp3 < %{version}-%{release} Provides: audacious-plugins-freeworld-mp3 = %{version}-%{release} @@ -181,7 +181,8 @@ export PATH=$PATH:$(pwd)/_bin --enable-vorbis \ --enable-flac \ --enable-neon \ -%if 0%{?rhel} > 6 +%if 0%{?fedora} || 0%{?rhel} > 6 + --enable-mpg123 \ --enable-filewriter-mp3 \ %else --disable-mpg123 \ @@ -301,7 +302,7 @@ install -p -m0644 %{SOURCE102} ${RPM_BUILD_ROOT}%{_datadir}/appdata %{_libdir}/audacious/Output/qtaudio.so %{_libdir}/audacious/Visualization/gl-spectrum-qt.so %endif -%if 0%{?fedora} > 24 || 0%{?rhel} > 6 +%if 0%{?fedora} || 0%{?rhel} > 6 # name is misleading as it's based on libmpg123 not libmad %{_libdir}/audacious/Input/madplug.so %endif