From 475b5f30a3b5b97a338fd32bae8d71a898e44627 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Jan 11 2013 15:58:23 +0000 Subject: Untested commit, because I'm in a hurry and snow is falling atm: Keep all MimeType definitions in the single .desktop file, even if the corresponding plug-ins may be missing. This is supposed to fix the assignment of Default Applications (GNOME bz #690119). --- diff --git a/audacious.spec b/audacious.spec index ff79385..bfe85fb 100644 --- a/audacious.spec +++ b/audacious.spec @@ -8,7 +8,7 @@ Name: audacious Version: 3.3.3 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Summary: Advanced audio player @@ -19,8 +19,9 @@ Source0: http://distfiles.audacious-media-player.org/audacious-%{tar_ver}.tar.bz BuildRequires: gettext BuildRequires: gtk3-devel -BuildRequires: libguess-devel >= 1.1 -BuildRequires: dbus-devel dbus-glib-devel +BuildRequires: libguess-devel +BuildRequires: dbus-devel +BuildRequires: dbus-glib-devel BuildRequires: desktop-file-utils BuildRequires: doxygen @@ -108,16 +109,6 @@ find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';' desktop-file-install \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ - --remove-mime-type audio/mp3 \ - --remove-mime-type audio/mpeg \ - --remove-mime-type audio/mpegurl \ - --remove-mime-type audio/x-mp3 \ - --remove-mime-type audio/x-mpeg \ - --remove-mime-type audio/x-mpegurl \ - --remove-mime-type audio/x-ms-wma \ - --remove-mime-type audio/x-musepack \ - --remove-mime-type audio/prs.sid \ - --remove-mime-type audio/midi \ ${RPM_BUILD_ROOT}%{_datadir}/applications/audacious.desktop @@ -165,6 +156,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Fri Jan 11 2013 Michael Schwendt - 3.3.3-2 +- Keep all MimeType definitions in the single .desktop file, even if the + corresponding plug-ins may be missing. This is supposed to fix the + assignment of Default Applications (GNOME bz #690119). + * Tue Dec 11 2012 Michael Schwendt - 3.3.3-1 - Update to 3.3.3 (a few bug-fixes and translation updates).