rpms/audacious/F-11 audacious-1.5.1-desktop-name.patch, NONE, 1.1 audacious.spec, 1.45, 1.46
Michael Schwendt
mschwendt at fedoraproject.org
Fri Jun 5 11:13:26 UTC 2009
- Previous message (by thread): rpms/audacious/F-10 audacious-1.3.1-xmms-skins.patch,1.1,NONE
- Next message (by thread): rpms/audacious/F-10 audacious-1.5.1-desktop-name.patch, NONE, 1.1 audacious-1.5.1-playlist-length.patch, NONE, 1.1 audacious-1.5.1-playlist-play-clicked.patch, NONE, 1.1 audacious.spec, 1.42, 1.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/pkgs/rpms/audacious/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5307
Modified Files:
audacious.spec
Added Files:
audacious-1.5.1-desktop-name.patch
Log Message:
sync with devel
audacious-1.5.1-desktop-name.patch:
--- NEW FILE audacious-1.5.1-desktop-name.patch ---
diff -Nur audacious-1.5.1-orig/configure audacious-1.5.1/configure
--- audacious-1.5.1-orig/configure 2008-05-24 00:00:38.000000000 +0200
+++ audacious-1.5.1/configure 2009-06-04 19:59:54.000000000 +0200
@@ -12651,7 +12651,7 @@
### ---------------------------------------------------------------------------
EXP_VAR=desktop_file
- FROM_VAR="${datadir}/applications/audacious.desktop"
+ FROM_VAR="${datadir}/applications/fedora-audacious.desktop"
prefix_save=$prefix
exec_prefix_save=$exec_prefix
Index: audacious.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audacious/F-11/audacious.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -p -r1.45 -r1.46
--- audacious.spec 1 May 2009 17:48:35 -0000 1.45
+++ audacious.spec 5 Jun 2009 11:12:56 -0000 1.46
@@ -1,9 +1,11 @@
-%define aud_ver 1.5.0
+# Minimum audacious/audacious-plugins version in inter-package
+# dependencies. We have 1.5.1 for both, so we enforce 1.5.1.
+%define aud_ver 1.5.1
Name: audacious
Version: 1.5.1
-Release: 8%{?dist}
-Summary: A GTK2 based media player similar to xmms
+Release: 9%{?dist}
+Summary: GTK2 based media player similar to XMMS
Group: Applications/Multimedia
License: GPLv2
@@ -23,12 +25,12 @@ Patch9: audacious-1.4.2-id3tag-c
Patch10: audacious-1.5.1-libsad-header.patch
Patch11: audacious-1.5.1-playlist-length.patch
Patch12: audacious-1.5.1-playlist-play-clicked.patch
+Patch13: audacious-1.5.1-desktop-name.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= 2.6
BuildRequires: zlib-devel, desktop-file-utils >= 0.9
BuildRequires: libglade2-devel >= 2.4
-BuildRequires: GConf2-devel
BuildRequires: gettext
BuildRequires: mcs-devel >= 0.7
BuildRequires: libmowgli-devel >= 0.4
@@ -36,12 +38,7 @@ BuildRequires: dbus-devel >= 0.60, dbus
Requires: audacious-plugins >= %{aud_ver}
-Requires(post): desktop-file-utils >= 0.9
-Requires(postun): desktop-file-utils >= 0.9
-
-Obsoletes: bmp <= 0.9.7.1
-Provides: bmp = 0.9.7.1
-
+# last tagged f8-final
Provides: audacious-docklet
Obsoletes: audacious-docklet < 0.1.1-3
@@ -49,40 +46,30 @@ Obsoletes: audacious-docklet < 0.1.
Provides: xmms-gui
%description
-Audacious is a media player that currently uses a skinned
-user interface based on Winamp 2.x skins. It is based on ("forked off")
-BMP.
+Audacious is a media player that currently uses a skinned user interface
+based on Winamp 2.x skins. It is based on ("forked off") BMP.
%package libs
-Summary: Library files for Audacious
+Summary: Library files for the Audacious media player
Group: System Environment/Libraries
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-
%description libs
-Library files for Audacious
+Library files for the Audacious media player.
%package devel
-Summary: Development files for Audacious
+Summary: Development files for the Audacious media player
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
-Requires: glib2-devel, gtk2-devel >= 2.6, GConf2-devel, libglade2-devel >= 2.4
-Requires: mcs-devel >= 0.1
-Requires: libmowgli-devel >= 0.4
+Requires: glib2-devel, gtk2-devel >= 2.6, libglade2-devel >= 2.4
+Requires: mcs-devel
+Requires: libmowgli-devel
Requires: pkgconfig
Requires: dbus-glib-devel >= 0.60
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-
-Obsoletes: bmp-devel <= 0.9.7.1
-Provides: bmp-devel = 0.9.7.1
-
%description devel
-Development files for Audacious
+Files needed when building software for the Audacious media player.
%prep
@@ -127,23 +114,24 @@ Development files for Audacious
# When passing a file on the command line, play the file, not the first playlist entry
%patch12 -p1 -b playlist-play-clicked
-perl -pi -e 's/^\.SILENT:.*$//' buildsys.mk.in
+# /usr/bin/audacious looks for the fedora-audacious.desktop file
+%patch13 -p1 -b .desktop-name
+
+sed -i '\,^.SILENT:,d' buildsys.mk.in
%build
%configure \
--disable-rpath \
- --enable-gconf \
- --disable-gnome-vfs \
--enable-chardet \
--enable-dbus \
--disable-sse2 \
--disable-dependency-tracking
-make V=1 %{?_smp_mflags}
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%find_lang %{name}
desktop-file-install --vendor fedora \
@@ -168,25 +156,25 @@ mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/au
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT%{_includedir}/libSAD
+
%clean
rm -rf $RPM_BUILD_ROOT
%post
-update-desktop-database %{_datadir}/applications
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-
+update-desktop-database &> /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-update-desktop-database %{_datadir}/applications
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+update-desktop-database &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
@@ -197,24 +185,34 @@ fi
%doc AUTHORS COPYING NEWS README
%{_bindir}/audacious
%{_bindir}/audtool
-%{_datadir}/audacious
+%{_datadir}/audacious/
%{_mandir}/man[^3]/*
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/48x48/apps/*
%files libs
%defattr(-,root,root,-)
-%{_libdir}/audacious
+%{_libdir}/audacious/
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
-%{_includedir}/audacious
+%{_includedir}/audacious/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%changelog
+* Fri Jun 5 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 1.5.1-9
+- update post/postun/posttrans scriptlets to match guidelines
+- drop BR GConf2-devel
+- drop obsolete configure options
+- drop ancient Obsoletes/Provides for BMP
+- minor spec updates
+
+* Thu Jun 4 2009 Michael Schwendt <mschwendt at fedoraproject.org>
+- Patch /usr/bin/audacious to find fedora-audacious.desktop file.
+
* Fri May 01 2009 Ralf Ertzinger <ralf at skytale.net> 1.5.1-8
- Fix for "segfault with no playlist present" (BZ#475691)
- Fix for broken playlist handling (BZ#475691), patch from
- Previous message (by thread): rpms/audacious/F-10 audacious-1.3.1-xmms-skins.patch,1.1,NONE
- Next message (by thread): rpms/audacious/F-10 audacious-1.5.1-desktop-name.patch, NONE, 1.1 audacious-1.5.1-playlist-length.patch, NONE, 1.1 audacious-1.5.1-playlist-play-clicked.patch, NONE, 1.1 audacious.spec, 1.42, 1.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list