Mercurial > pidgin
comparison gaim.spec.in @ 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 |
comparison
equal
deleted
inserted
replaced
14525:dfd6435cac04 | 14526:9df42423eea8 |
---|---|
169 --datadir=%{_datadir} \ | 169 --datadir=%{_datadir} \ |
170 --includedir=%{_includedir} \ | 170 --includedir=%{_includedir} \ |
171 --libdir=%{_libdir} \ | 171 --libdir=%{_libdir} \ |
172 --mandir=%{_mandir} \ | 172 --mandir=%{_mandir} \ |
173 --sysconfdir=%{_sysconfdir} \ | 173 --sysconfdir=%{_sysconfdir} \ |
174 --disable-schemas-install \ | |
174 %{!?_with_dbus:--disable-dbus} \ | 175 %{!?_with_dbus:--disable-dbus} \ |
175 %{?_without_gstreamer:--disable-gstreamer} \ | 176 %{?_without_gstreamer:--disable-gstreamer} \ |
176 %{?_without_gtkspell:--disable-gtkspell} \ | 177 %{?_without_gtkspell:--disable-gtkspell} \ |
177 %{?_with_mono:--enable-mono} \ | 178 %{?_with_mono:--enable-mono} \ |
178 %{?_with_perlmakehack:--with-perl-lib=%{buildroot}%{_prefix}} \ | 179 %{?_with_perlmakehack:--with-perl-lib=%{buildroot}%{_prefix}} \ |
240 grep -v ".dll$" | \ | 241 grep -v ".dll$" | \ |
241 grep -v ".tcl$" > %{name}-%{version}-coreplugins | 242 grep -v ".tcl$" > %{name}-%{version}-coreplugins |
242 | 243 |
243 %clean | 244 %clean |
244 rm -rf %{buildroot} | 245 rm -rf %{buildroot} |
246 | |
247 %post | |
248 # From: http://www.gnome.org/projects/gconf/ | |
249 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` | |
250 gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gaim.schemas > /dev/null | |
245 | 251 |
246 %files -f %{name}-%{version}-coreplugins | 252 %files -f %{name}-%{version}-coreplugins |
247 %defattr(-, root, root) | 253 %defattr(-, root, root) |
248 | 254 |
249 %doc AUTHORS | 255 %doc AUTHORS |