packages: gtk+2/gtk+2.spec - %update_icon_cache hicolor when either gtk+2 o...

glen glen at pld-linux.org
Tue Dec 21 19:37:04 CET 2010


Author: glen                         Date: Tue Dec 21 18:37:04 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- %update_icon_cache hicolor when either gtk+2 or hicolor-icon-theme are both installed for the fist time. LP#693074

---- Files affected:
packages/gtk+2:
   gtk+2.spec (1.340 -> 1.341) 

---- Diffs:

================================================================
Index: packages/gtk+2/gtk+2.spec
diff -u packages/gtk+2/gtk+2.spec:1.340 packages/gtk+2/gtk+2.spec:1.341
--- packages/gtk+2/gtk+2.spec:1.340	Tue Nov 16 11:09:17 2010
+++ packages/gtk+2/gtk+2.spec	Tue Dec 21 19:36:59 2010
@@ -10,7 +10,7 @@
 %bcond_without	apidocs		# disable gtk-doc
 %bcond_without	cups		# disable CUPS support
 %bcond_without	static_libs	# don't build static library
-#
+
 Summary:	The GIMP Toolkit
 Summary(cs.UTF-8):	Sada nástrojů pro GIMP
 Summary(de.UTF-8):	Der GIMP-Toolkit
@@ -21,7 +21,7 @@
 Summary(tr.UTF-8):	GIMP ToolKit arayüz kitaplığı
 Name:		gtk+2
 Version:	2.22.1
-Release:	2
+Release:	3
 Epoch:		2
 License:	LGPL v2+
 Group:		X11/Libraries
@@ -50,7 +50,7 @@
 BuildRequires:	perl-base
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.197
+BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xorg-lib-libXcomposite-devel
 BuildRequires:	xorg-lib-libXcursor-devel
@@ -312,6 +312,11 @@
 %{_bindir}/gtk-query-immodules-2.0%{pqext} > %{_sysconfdir}/gtk.immodules
 exit 0
 
+%triggerin -- hicolor-icon-theme
+if [ "$1" = "1" ] && [ "$2" = "1" ]; then
+	%update_icon_cache hicolor
+fi
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS README
@@ -415,6 +420,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.341  2010/12/21 18:36:59  glen
+- %update_icon_cache hicolor when either gtk+2 or hicolor-icon-theme are both installed for the fist time. LP#693074
+
 Revision 1.340  2010/11/16 10:09:17  lisu
 - drop unsupported kg locale
 - use rm macro in some places
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gtk+2/gtk+2.spec?r1=1.340&r2=1.341&f=u



More information about the pld-cvs-commit mailing list