summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-04-25 18:23:11 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-04-25 18:23:11 +0000
commite3156b007d2ae99c75489dc7518535140d7ab574 (patch)
tree9ff355b7b7c3ce3e1aa23d90c5d4b2af5995d026
parente691b664e3cd92651264e67a6b40b7c9e1b67db2 (diff)
downloadmetacity-e3156b007d2ae99c75489dc7518535140d7ab574.tar.gz
fix to install gconf schemas
2002-04-25 Havoc Pennington <hp@redhat.com> * metacity.spec: fix to install gconf schemas
-rw-r--r--ChangeLog4
-rw-r--r--metacity.spec17
2 files changed, 20 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6eb0f6f8..f506569d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-25 Havoc Pennington <hp@redhat.com>
+
+ * metacity.spec: fix to install gconf schemas
+
2002-04-25 jacob berkman <jacob@ximian.com>
* src/session.c (load_state): g_file_get_contents() takes a gsize
diff --git a/metacity.spec b/metacity.spec
index 721bf213..09a86129 100644
--- a/metacity.spec
+++ b/metacity.spec
@@ -1,7 +1,7 @@
Summary: Metacity window manager
Name: metacity
Version: 2.3.89
-Release: 1
+Release: 2
URL: http://people.redhat.com/~hp/metacity/
Source0: %{name}-%{version}.tar.gz
License: GPL
@@ -24,11 +24,22 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
+
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+SCHEMAS="metacity.schemas"
+for S in $SCHEMAS; do
+ gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
+done
+
%files
%defattr(-,root,root)
%doc README AUTHORS COPYING NEWS HACKING theme-format.txt
@@ -39,6 +50,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/metacity
%changelog
+* Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
+- rebuild in different environment
+- add gconf schemas boilerplate
+
* Mon Apr 15 2002 Havoc Pennington <hp@pobox.com>
- 2.3.89