From adde1553047fc0701fd0ee49633d69d7721c0ce3 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Dec 02 2009 13:43:11 +0000 Subject: - Drop Musepack and SID MIME types from desktop files. As of Audacious 2.2, Musepack is only supported by the separate "ffaudio" plugin. The SID plugin in a separate subpackage provides its own desktop file. - Drop unsupported MIME types from desktop files. --- diff --git a/audacious.spec b/audacious.spec index b85e5f1..d633586 100644 --- a/audacious.spec +++ b/audacious.spec @@ -5,7 +5,7 @@ Name: audacious Version: 2.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3 Summary: GTK2 based media player similar to XMMS @@ -40,7 +40,9 @@ Provides: xmms-gui %description Audacious is a media player that currently uses a skinned user interface -based on Winamp 2.x skins. +(based on Winamp 2.x skins) as well as a separate GTK2 based front end. +Historically, it started as a fork of Beep Media Player (BMP), which +itself forked from XMMS. %package libs @@ -69,6 +71,28 @@ Files needed when building software for the Audacious media player. %setup -q -n %{name}-%{version} sed -i '\,^.SILENT:,d' buildsys.mk.in +# From .desktop files remove MIME types the base build of the +# Fedora audacious-plugins package does not understand. +for t in \ + audio/mp3 \ + audio/mpeg \ + audio/mpegurl \ + audio/x-mp3 \ + audio/x-mpeg \ + audio/x-mpegurl \ + audio/x-ms-wma \ + audio/x-musepack \ + audio/prs.sid \ +; do + for f in audacious2.desktop audacious2-gtkui.desktop ; do + cp ${f} ${f}.old + sed -i "s!${t};!!g" $f + diff -u ${f}.old ${f} || : + rm -f ${f}.old + done +done + + %build %configure \ --enable-samplerate \ @@ -160,6 +184,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Wed Dec 2 2009 Michael Schwendt - 2.2-2 +- Drop Musepack and SID MIME types from desktop files. As of Audacious 2.2, + Musepack is only supported by the separate "ffaudio" plugin. The SID + plugin in a separate subpackage provides its own desktop file. +- Drop unsupported MIME types from desktop files. + * Wed Nov 25 2009 Michael Schwendt - 2.2-1 - Upgrade to 2.2 (declared as the next "stable release" after 2.1).