1 | %define ver 2.4.34 |
---|
2 | %define RELEASE 1 |
---|
3 | %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} |
---|
4 | |
---|
5 | Summary: Metacity window manager |
---|
6 | Name: metacity |
---|
7 | Version: %ver |
---|
8 | Release: %rel |
---|
9 | URL: http://people.redhat.com/~hp/metacity/ |
---|
10 | Source0: %{name}-%{version}.tar.gz |
---|
11 | License: GPL |
---|
12 | Group: User Interface/Desktops |
---|
13 | BuildRoot: %{_tmppath}/%{name}-root |
---|
14 | BuildRequires: gtk2-devel >= 2.0.0 |
---|
15 | BuildRequires: GConf2-devel >= 1.1.9 |
---|
16 | |
---|
17 | %description |
---|
18 | |
---|
19 | Metacity is a simple window manager that integrates nicely with |
---|
20 | GNOME 2. |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q |
---|
24 | |
---|
25 | %build |
---|
26 | %configure |
---|
27 | make %{?_smp_mflags} |
---|
28 | |
---|
29 | %install |
---|
30 | rm -rf $RPM_BUILD_ROOT |
---|
31 | |
---|
32 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
33 | %makeinstall |
---|
34 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
35 | |
---|
36 | %clean |
---|
37 | rm -rf $RPM_BUILD_ROOT |
---|
38 | |
---|
39 | %post |
---|
40 | |
---|
41 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
42 | SCHEMAS="metacity.schemas" |
---|
43 | for S in $SCHEMAS; do |
---|
44 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null |
---|
45 | done |
---|
46 | |
---|
47 | %files |
---|
48 | %defattr(-,root,root) |
---|
49 | %doc README AUTHORS COPYING NEWS HACKING theme-format.txt |
---|
50 | %{_bindir}/* |
---|
51 | %{_libexecdir}/* |
---|
52 | %{_datadir}/gnome/wm-properties/* |
---|
53 | %{_sysconfdir}/gconf/schemas/*.schemas |
---|
54 | %{_datadir}/control-center-2.0/capplets/* |
---|
55 | %{_datadir}/metacity |
---|
56 | %{_datadir}/pixmaps/* |
---|
57 | %{_datadir}/themes/* |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Tue Aug 20 2002 Steve Fox <drfickle@k-lug.org> |
---|
61 | - Autoconf-ize the spec file to magic updates |
---|
62 | - Include missing dirs |
---|
63 | |
---|
64 | * Thu May 2 2002 Havoc Pennington <hp@redhat.com> |
---|
65 | - 2.3.233 |
---|
66 | |
---|
67 | * Thu Apr 25 2002 Havoc Pennington <hp@redhat.com> |
---|
68 | - rebuild in different environment |
---|
69 | - add gconf schemas boilerplate |
---|
70 | |
---|
71 | * Mon Apr 15 2002 Havoc Pennington <hp@pobox.com> |
---|
72 | - 2.3.89 |
---|
73 | |
---|
74 | * Tue Oct 30 2001 Havoc Pennington <hp@redhat.com> |
---|
75 | - 2.3.34 |
---|
76 | |
---|
77 | * Fri Oct 13 2001 Havoc Pennington <hp@redhat.com> |
---|
78 | - 2.3.21 |
---|
79 | |
---|
80 | * Mon Sep 17 2001 Havoc Pennington <hp@redhat.com> |
---|
81 | - 2.3.8 |
---|
82 | - 2.3.13 |
---|
83 | |
---|
84 | * Wed Sep 5 2001 Havoc Pennington <hp@redhat.com> |
---|
85 | - Initial build. |
---|
86 | |
---|
87 | |
---|