From: <rl...@us...> - 2006-09-11 07:01:17
|
Revision: 17247 http://svn.sourceforge.net/gaim/?rev=17247&view=rev Author: rlaager Date: 2006-09-11 00:01:15 -0700 (Mon, 11 Sep 2006) Log Message: ----------- 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/ Modified Paths: -------------- trunk/gaim.spec.in Modified: trunk/gaim.spec.in =================================================================== --- trunk/gaim.spec.in 2006-09-11 06:17:14 UTC (rev 17246) +++ trunk/gaim.spec.in 2006-09-11 07:01:15 UTC (rev 17247) @@ -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) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |