summaryrefslogtreecommitdiffstats
path: root/redhat/applications/amarok/amarok-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/amarok/amarok-14.0.0.spec')
-rw-r--r--redhat/applications/amarok/amarok-14.0.0.spec26
1 files changed, 13 insertions, 13 deletions
diff --git a/redhat/applications/amarok/amarok-14.0.0.spec b/redhat/applications/amarok/amarok-14.0.0.spec
index 41be240dd..289c85f72 100644
--- a/redhat/applications/amarok/amarok-14.0.0.spec
+++ b/redhat/applications/amarok/amarok-14.0.0.spec
@@ -161,7 +161,6 @@ BuildRequires: libgpod-devel >= 0.4.2
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_mtp 1
BuildRequires: libmtp-devel
-BuildRequires: libmusicbrainz-devel
%endif
# Creative Nomad Jukebox
@@ -176,6 +175,15 @@ BuildRequires: libnjb-devel
BuildRequires: libvisual-devel
%endif
+# MUSICBRAINZ support
+%if 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version}
+%if 0%{?fedora} >= 24
+BuildRequires: libmusicbrainz5-devel
+%else
+BuildRequires: libmusicbrainz-devel
+%endif
+%endif
+
# TUNEPIMP support
%if 0%{?pclinuxos}
BuildRequires: libofa-devel
@@ -183,7 +191,10 @@ BuildRequires: libofa-devel
%if 0%{?mgaversion} && 0%{?mgaversion} <= 2
BuildRequires: libtunepimp-devel
%endif
-%if 0%{?fedora} || 0%{?suse_version}
+%if 0%{?suse_version}
+BuildRequires: libtunepimp-devel
+%endif
+%if 0%{?fedora} && 0%{?fedora} <= 23
BuildRequires: libtunepimp-devel
%endif
@@ -349,17 +360,6 @@ Amarok is a multimedia player with:
%{tde_tdelibdir}/libamarok_aKode-engine.*
%endif
-%post
-/sbin/ldconfig
-xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
-xdg-desktop-menu forceupdate 2> /dev/null || :
-
-%postun
-/sbin/ldconfig
-xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
-xdg-desktop-menu forceupdate 2> /dev/null || :
-
-
##########
%package ruby