summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--Makefile.am2
-rw-r--r--configure.in1
-rw-r--r--metacity.spec.in87
4 files changed, 98 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b122b549..24c4bcc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-08-20 Steve Fox <drfickle@k-lug.org>
+
+ * metacity.spec.in: Add so that the spec file gets auto-updated
+ whenever configure.in gets bumped. Include some missing
+ directories.
+
+ * Makefile.am
+ * configure.in: Necessary changes for spec file magic
+
2002-08-20 Havoc Pennington <hp@redhat.com>
* src/frames.c (get_control): if in the title rect check for y
diff --git a/Makefile.am b/Makefile.am
index 659611e9..08d8498d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
SUBDIRS=src po
-EXTRA_DIST=HACKING theme-format.txt metacity.spec \
+EXTRA_DIST=HACKING theme-format.txt metacity.spec.in metacity.spec \
intltool-extract.in intltool-merge.in intltool-update.in
diff --git a/configure.in b/configure.in
index d68c191a..6ef2ab51 100644
--- a/configure.in
+++ b/configure.in
@@ -184,4 +184,5 @@ src/wm-tester/Makefile
src/tools/Makefile
src/themes/Makefile
po/Makefile.in
+metacity.spec
])
diff --git a/metacity.spec.in b/metacity.spec.in
new file mode 100644
index 00000000..71b6adac
--- /dev/null
+++ b/metacity.spec.in
@@ -0,0 +1,87 @@
+%define ver @VERSION@
+%define RELEASE 1
+%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
+
+Summary: Metacity window manager
+Name: metacity
+Version: %ver
+Release: %rel
+URL: http://people.redhat.com/~hp/metacity/
+Source0: %{name}-%{version}.tar.gz
+License: GPL
+Group: User Interface/Desktops
+BuildRoot: %{_tmppath}/%{name}-root
+BuildRequires: gtk2-devel >= 2.0.0
+BuildRequires: GConf2-devel >= 1.1.9
+
+%description
+
+Metacity is a simple window manager that integrates nicely with
+GNOME 2.
+
+%prep
+%setup -q
+
+%build
+%configure
+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
+%{_bindir}/*
+%{_libexecdir}/*
+%{_datadir}/gnome/wm-properties/*
+%{_sysconfdir}/gconf/schemas/*.schemas
+%{_datadir}/control-center-2.0/capplets/*
+%{_datadir}/metacity
+%{_datadir}/pixmaps/*
+%{_datadir}/themes/*
+
+%changelog
+* Tue Aug 20 2002 Steve Fox <drfickle@k-lug.org>
+- Autoconf-ize the spec file to magic updates
+- Include missing dirs
+
+* Thu May 2 2002 Havoc Pennington <hp@redhat.com>
+- 2.3.233
+
+* 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
+
+* Tue Oct 30 2001 Havoc Pennington <hp@redhat.com>
+- 2.3.34
+
+* Fri Oct 13 2001 Havoc Pennington <hp@redhat.com>
+- 2.3.21
+
+* Mon Sep 17 2001 Havoc Pennington <hp@redhat.com>
+- 2.3.8
+- 2.3.13
+
+* Wed Sep 5 2001 Havoc Pennington <hp@redhat.com>
+- Initial build.
+
+