rpms/audacious/devel audacious.spec,1.57,1.58

Michael Schwendt mschwendt at fedoraproject.org
Wed Dec 2 13:43:11 UTC 2009


Author: mschwendt

Update of /cvs/pkgs/rpms/audacious/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6769

Modified Files:
	audacious.spec 
Log Message:
* Wed Dec  2 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 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.



Index: audacious.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audacious/devel/audacious.spec,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -p -r1.57 -r1.58
--- audacious.spec	25 Nov 2009 14:40:44 -0000	1.57
+++ audacious.spec	2 Dec 2009 13:43:11 -0000	1.58
@@ -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 
 %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/
 
 
 %changelog
+* Wed Dec  2 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 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 <mschwendt at fedoraproject.org> - 2.2-1
 - Upgrade to 2.2 (declared as the next "stable release" after 2.1).
 




More information about the fedora-extras-commits mailing list