rpms/vinagre/devel vinagre.spec,1.13,1.14

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Tue Feb 12 05:22:49 UTC 2008


Author: mclasen

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

Modified Files:
	vinagre.spec 
Log Message:
update file lists



Index: vinagre.spec
===================================================================
RCS file: /cvs/extras/rpms/vinagre/devel/vinagre.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- vinagre.spec	12 Feb 2008 05:08:55 -0000	1.13
+++ vinagre.spec	12 Feb 2008 05:22:08 -0000	1.14
@@ -58,14 +58,30 @@
 
 %post
 update-desktop-database -q
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/vinagre.schemas > /dev/null || :
+
+%pre
+if [ "$1" -gt 1 -a -f %{_sysconfdir}/gconf/schemas/vinagre.schemas ]; then
+  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/vinagre.schemas > /dev/null || :
+fi
+
+%preun
+if [ "$1" -eq 0 ]; then
+  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/vinagre.schemas > /dev/null || :
+fi
 
 %postun
 update-desktop-database -q
 update-mime-database %{_datadir}/mime >/dev/null
 
+
 %files -f vinagre.lang
 %defattr(-,root,root,-)
 %{_bindir}/*
+%{_sysconfdir}/gconf/schemas/vinagre.schemas
 %{_datadir}/applications/*.desktop
 %{_datadir}/icons/hicolor/*/*/*
 %{_datadir}/mime/packages/vinagre-mime.xml




More information about the fedora-extras-commits mailing list