summaryrefslogtreecommitdiffstats
path: root/metacity.spec
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2006-08-13 14:46:48 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2006-08-13 14:46:48 +0000
commit4d09c22b5c6cd23a96b8679a3e9a42b9229827ed (patch)
treee4d55860f5c226054ced0f07a967239ba4eaf912 /metacity.spec
parentdf19e9c6439b8bdba294898405ba38954a6780d7 (diff)
downloadmetacity-4d09c22b5c6cd23a96b8679a3e9a42b9229827ed.tar.gz
metacity-4d09c22b5c6cd23a96b8679a3e9a42b9229827ed.tar.xz
metacity-4d09c22b5c6cd23a96b8679a3e9a42b9229827ed.zip
Diffstat (limited to 'metacity.spec')
-rw-r--r--metacity.spec22
1 files changed, 17 insertions, 5 deletions
diff --git a/metacity.spec b/metacity.spec
index c2f237f..14e5876 100644
--- a/metacity.spec
+++ b/metacity.spec
@@ -1,15 +1,15 @@
%define gettext_package metacity
-%define metacity_version 2.15.13
+%define metacity_version 2.15.21
%define metacity_filename metacity-%{metacity_version}
Summary: Metacity window manager
Name: metacity
Version: %{metacity_version}
-Release: 2
+Release: 1%{?dist}
URL: http://ftp.gnome.org/pub/gnome/sources/metacity/
-Source0: %{metacity_filename}.tar.gz
+Source0: %{metacity_filename}.tar.bz2
License: GPL
Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-root
@@ -18,8 +18,7 @@ BuildRequires: pango-devel >= 1.2.0
BuildRequires: fontconfig-devel
BuildRequires: GConf2-devel >= 2.2.0
BuildRequires: desktop-file-utils >= 0.3
-BuildRequires: libglade2-devel >= 2.0.0
-BuildRequires: intltool >= 0.35
+BuildRequires: libglade2-devel >= 2.0.0BuildRequires: intltool >= 0.35
BuildRequires: startup-notification-devel >= 0.7
BuildRequires: libtool automake autoconf gettext
BuildRequires: xorg-x11-proto-devel >= 7.0-13
@@ -91,6 +90,15 @@ for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
done
+%preun
+if [ "$1" -eq 0 ]; then
+ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+ SCHEMAS="metacity.schemas"
+ for S in $SCHEMAS; do
+ gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
+ done
+fi
+
%postun -p /sbin/ldconfig
%files -f %{gettext_package}.lang
@@ -109,6 +117,10 @@ done
%{_mandir}/man1/*
%changelog
+* Sun Aug 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.21-1.fc6
+- Update to 2.15.21
+- Uninstall gconf schemas in %%preun
+
* Mon Aug 7 2006 Soren Sandmann <sandmann@redhat.com> - 2.15.13-2
- Remove leftover snapshot string.