# HG changeset patch # User Richard Laager # Date 1157958075 0 # Node ID 9df42423eea872a59e17914955fca78b22abab07 # Parent dfd6435cac04490555762fb7a0005d3003bbca87 [gaim-migrate @ 17247] Tell configure to disable the installation of the gconf schema. Add a %post section that calls gconftool-2 to do the real installation. This is entirely untested, but is documented as The Right Way at: http://www.gnome.org/projects/gconf/ committer: Tailor Script diff -r dfd6435cac04 -r 9df42423eea8 gaim.spec.in --- a/gaim.spec.in Mon Sep 11 06:17:14 2006 +0000 +++ b/gaim.spec.in Mon Sep 11 07:01:15 2006 +0000 @@ -171,6 +171,7 @@ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} \ + --disable-schemas-install \ %{!?_with_dbus:--disable-dbus} \ %{?_without_gstreamer:--disable-gstreamer} \ %{?_without_gtkspell:--disable-gtkspell} \ @@ -243,6 +244,11 @@ %clean rm -rf %{buildroot} +%post +# From: http://www.gnome.org/projects/gconf/ +export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` +gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gaim.schemas > /dev/null + %files -f %{name}-%{version}-coreplugins %defattr(-, root, root)