Mercurial > pidgin.yaz
changeset 14526:9df42423eea8
[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 <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 11 Sep 2006 07:01:15 +0000 |
parents | dfd6435cac04 |
children | 50d1a1ecce57 |
files | gaim.spec.in |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)