rpms/geany/F-10 geany.spec,1.27,1.28

Dominic Hopf dmaphy at fedoraproject.org
Sun Aug 16 20:03:42 UTC 2009


Author: dmaphy

Update of /cvs/pkgs/rpms/geany/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1734

Modified Files:
	geany.spec 
Log Message:
update icon cache



Index: geany.spec
===================================================================
RCS file: /cvs/pkgs/rpms/geany/F-10/geany.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- geany.spec	16 Aug 2009 19:20:54 -0000	1.27
+++ geany.spec	16 Aug 2009 20:03:41 -0000	1.28
@@ -1,6 +1,6 @@
 Name:      geany
 Version:   0.18
-Release:   1%{?dist}
+Release:   2%{?dist}
 Summary:   A fast and lightweight IDE using GTK2
 
 Group:     Development/Tools
@@ -74,6 +74,18 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/geany/*
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
 install -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
 
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+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 || :
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -95,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/geany.pc
 
 %changelog
+* Sun Aug 16 2009 Dominic Hopf <dmaphy at fedoraproject.org> - 0.18-2
+- update icon cache
+
 * Sun Aug 16 2009 Dominic Hopf <dmaphy at fedoraproject.org> - 0.18-1
 - new upstream release
 - remove button pixmaps patch since this fix is included in 0.18
@@ -157,7 +172,7 @@ rm -rf $RPM_BUILD_ROOT
 
 * Mon Mar 24 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.13-2
 - Fix docdir/doc_dir so geany correctly finds the system installed html docs (BZ
-  438534) 
+  438534)
 
 * Sun Feb 24 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.13-1
 - Update to version 0.13




More information about the fedora-extras-commits mailing list