SPECS: xfmedia.spec - add link patch - use %update_icon_cache macr...

megabajt megabajt at pld-linux.org
Sat Sep 23 20:45:21 CEST 2006


Author: megabajt                     Date: Sat Sep 23 18:45:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add link patch
- use %update_icon_cache macro
- release 3

---- Files affected:
SPECS:
   xfmedia.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/xfmedia.spec
diff -u SPECS/xfmedia.spec:1.15 SPECS/xfmedia.spec:1.16
--- SPECS/xfmedia.spec:1.15	Mon May 22 13:13:24 2006
+++ SPECS/xfmedia.spec	Sat Sep 23 20:45:15 2006
@@ -1,12 +1,13 @@
 # $Revision$, $Date$
 #
-%bcond_without	dbus
+# Conditional build:
+%bcond_without	dbus	# build without dbus support
 #
 Summary:	Xfmedia - lightweight media player based on the xine engine
 Summary(pl):	Xfmedia - lekki odtwarzacz multimedialny oparty na silniku xine
 Name:		xfmedia
 Version:	0.9.1
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		X11/Applications/Multimedia
 Source0:	http://spuriousinterrupt.org/projects/xfmedia/files/%{name}-%{version}.tar.bz2
@@ -14,15 +15,18 @@
 Patch0:		%{name}-desktop.patch
 Patch1:		%{name}-dbus_use_newapi.patch
 Patch2:		%{name}-trayicon-volume-scroll.patch
+Patch3:		%{name}-link.patch
 URL:		http://spuriousinterrupt.org/projects/xfmedia/index.php
-#BuildRequires:	autoconf >= 2.50
-#BuildRequires:	automake >= 1:1.8
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake >= 1:1.8
 %{?with_dbus:BuildRequires:	dbus-devel >= 0.60}
 BuildRequires:	gtk+2-devel >= 2:2.4.0
 BuildRequires:	libexo-devel >= 0.3.0
+BuildRequires:	libtool
 BuildRequires:	libxfcegui4-devel >= 4.2.0
 BuildRequires:	libxfce4util-devel >= 4.2.0
 BuildRequires:	xine-lib-devel
+Requires(post,postun):	hicolor-icon-theme
 Requires:	gtk+2 >= 2:2.4.0
 Requires:	libexo >= 0.3.0
 Requires:	libxfcegui4 >= 4.2.0
@@ -69,11 +73,14 @@
 %patch0 -p1
 %patch1 -p0
 %patch2 -p0
+%patch3 -p1
 
 %build
-#%%{__aclocal} -I m4
-#%%{__autoconf}
-#%%{__automake}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	--disable-static \
 	%{!?with_dbus: --disable-dbus}
@@ -90,16 +97,24 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README* TODO
+%dir /etc/xdg/%{name}
 %config(noreplace) %verify(not md5 mtime size) /etc/xdg/%{name}/*
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/plugins
 %{_iconsdir}/hicolor/48x48/apps/*
 %{_iconsdir}/hicolor/22x22/actions/*
-%{_desktopdir}/*
+%{_desktopdir}/*.desktop
+%dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/doc
 %{_datadir}/%{name}/doc/xfce.css
 %dir %{_datadir}/%{name}/doc/C/
@@ -120,6 +135,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2006/09/23 18:45:15  megabajt
+- add link patch
+- use %update_icon_cache macro
+- release 3
+
 Revision 1.15  2006/05/22 11:13:24  baggins
 - rel 2
 - fix build with recent dbus
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xfmedia.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list