rpms/byzanz/devel byzanz.spec,1.3,1.4

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Fri Jan 27 05:19:59 UTC 2006


Author: jcollie

Update of /cvs/extras/rpms/byzanz/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv463

Modified Files:
	byzanz.spec 
Log Message:
Add post and postun scripts to update the GTK+ icon cache.


Index: byzanz.spec
===================================================================
RCS file: /cvs/extras/rpms/byzanz/devel/byzanz.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- byzanz.spec	27 Jan 2006 05:09:48 -0000	1.3
+++ byzanz.spec	27 Jan 2006 05:19:59 -0000	1.4
@@ -1,7 +1,7 @@
 Summary: A desktop recorder
 Name: byzanz
 Version: 0.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL
 Group: Applications/Multimedia
 URL: http://www.freedesktop.org/~company/byzanz/
@@ -62,6 +62,16 @@
 gconftool-2 --makefile-install-rule \
   %{_sysconfdir}/gconf/schemas/byzanz.schemas > /dev/null || :
 killall -HUP gconfd-2 || :
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 
 %files -f byzanz.lang
 %defattr(-,root,root,-)
@@ -77,6 +87,9 @@
 %{_datadir}/icons/hicolor/24x24/apps/byzanz-record-window.png
 
 %changelog
+* Thu Jan 26 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.1.0-2
+- Add post and postun scripts to update the GTK+ icon cache.
+
 * Thu Jan 26 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.1.0-1
 - Update to 0.1.0
 - Add scriptlet for installing GConf schema.




More information about the fedora-extras-commits mailing list