SPECS: Thunar.spec - added desktop patch - use %update_desktop_dat...

megabajt megabajt at pld-linux.org
Tue Apr 3 20:11:40 CEST 2007


Author: megabajt                     Date: Tue Apr  3 18:11:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added desktop patch
- use %update_desktop_database_post{,un}
- release 2

---- Files affected:
SPECS:
   Thunar.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/Thunar.spec
diff -u SPECS/Thunar.spec:1.14 SPECS/Thunar.spec:1.15
--- SPECS/Thunar.spec:1.14	Mon Feb 12 22:23:45 2007
+++ SPECS/Thunar.spec	Tue Apr  3 20:11:35 2007
@@ -8,11 +8,12 @@
 Summary(pl.UTF-8):	Zarządca plików Xfce
 Name:		Thunar
 Version:	0.8.0
-Release:	1
+Release:	2
 License:	GPL v2 / LGPL v2
 Group:		X11/Applications
 Source0:	http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2
 # Source0-md5:	9f7b0945d6a235391049f6818fb4d188
+Patch0:		%{name}-desktop.patch
 URL:		http://thunar.xfce.org/
 BuildRequires:	GConf2-devel >= 2.16.0
 BuildRequires:	dbus-glib-devel >= 0.62
@@ -35,6 +36,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	startup-notification-devel >= 0.8
 BuildRequires:	xfce4-panel-devel >= %{xfce_version}
+Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	gtk+2
 Requires(post,postun):	hicolor-icon-theme
 Requires:	%{name}-libs = %{version}-%{release}
@@ -105,6 +107,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
@@ -133,9 +136,11 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
+%update_desktop_database_post
 %update_icon_cache hicolor
 
 %postun
+%update_desktop_database_postun
 %update_icon_cache hicolor
 
 %post	libs -p /sbin/ldconfig
@@ -210,6 +215,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2007/04/03 18:11:35  megabajt
+- added desktop patch
+- use %update_desktop_database_post{,un}
+- release 2
+
 Revision 1.14  2007/02/12 21:23:45  glen
 - tabs in preamble
 
================================================================

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



More information about the pld-cvs-commit mailing list