rpms/gucharmap/devel gucharmap.spec,1.15,1.16
Matthias Clasen (mclasen)
fedora-extras-commits at redhat.com
Thu Dec 6 13:06:55 UTC 2007
Author: mclasen
Update of /cvs/extras/rpms/gucharmap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32593
Modified Files:
gucharmap.spec
Log Message:
Fix file lists
Index: gucharmap.spec
===================================================================
RCS file: /cvs/extras/rpms/gucharmap/devel/gucharmap.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- gucharmap.spec 6 Dec 2007 11:22:49 -0000 1.15
+++ gucharmap.spec 6 Dec 2007 13:06:22 -0000 1.16
@@ -86,7 +86,8 @@
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
-
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gucharmap.schemas > /dev/null || :
%postun
/sbin/ldconfig
@@ -97,6 +98,17 @@
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
+%pre
+if [ "$1" -gt 1 -a -f %{_sysconfdir}/gconf/schemas/gucharmap.schemas ]; then
+ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+ gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gucharmap.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/gucharmap.schemas > /dev/null || :
+fi
%files -f gucharmap.lang
%defattr(-,root,root,-)
@@ -107,7 +119,7 @@
%{_libdir}/libgucharmap.so.*
%{_datadir}/applications/gnome-gucharmap.desktop
%{_datadir}/icons/hicolor/48x48/apps/gucharmap.png
-%{_datadir}/omf/gucharmap/
+%{_sysconfdir}/gconf/schemas/gucharmap.schemas
%files devel
More information about the fedora-extras-commits
mailing list