47
|
1 |
Name: metacity
|
|
2 |
License: GPL
|
|
3 |
Group: System/GUI/GNOME
|
|
4 |
Version: 2.4.34
|
237
|
5 |
Release: 2
|
47
|
6 |
Distribution: Mercury
|
|
7 |
Vendor: Sun Microsystems Inc.
|
226
|
8 |
Summary: GNOME Window Manager
|
|
9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/metacity/2.4/metacity-%{version}.tar.bz2
|
237
|
10 |
Patch0: metacity-01-panel-keybindings.diff
|
|
11 |
Patch1: metacity-02-panel-keybindings.diff
|
|
12 |
Patch2: metacity-03-default-theme.diff
|
47
|
13 |
URL: http://www.gnome.org
|
|
14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
226
|
15 |
Docdir: %{_defaultdocdir}/doc
|
|
16 |
Autoreqprov: on
|
|
17 |
|
|
18 |
%define intltool_version 0.25
|
|
19 |
%define GConf_version 2.2.0
|
|
20 |
%define pkgconfig_version 0.15.0
|
|
21 |
%define libglade_version 2.0.1
|
|
22 |
|
|
23 |
Requires: GConf >= %{GConf_version}
|
|
24 |
Requires: libglade >= %{libglade_version}
|
|
25 |
BuildRequires: intltool >= %{intltool_version}
|
|
26 |
BuildRequires: pkgconfig >= %{pkgconfig_version}
|
|
27 |
BuildRequires: GConf >= %{GConf_version}
|
|
28 |
BuildRequires: libglade >= %{libglade_version}
|
47
|
29 |
|
|
30 |
%description
|
226
|
31 |
Metacity is the window manager for the GNOME Desktop.
|
47
|
32 |
|
|
33 |
%prep
|
226
|
34 |
%setup
|
125
|
35 |
%patch0
|
237
|
36 |
%patch1
|
|
37 |
%patch2
|
47
|
38 |
|
|
39 |
%build
|
226
|
40 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
41 |
./configure --prefix=%{_prefix} \
|
|
42 |
--mandir=%{_mandir} \
|
|
43 |
--sysconfdir=%{_sysconfdir}
|
47
|
44 |
make
|
|
45 |
|
|
46 |
%install
|
|
47 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
226
|
48 |
make DESTDIR=$RPM_BUILD_ROOT install
|
47
|
49 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
50 |
|
|
51 |
%post
|
226
|
52 |
/sbin/ldconfig
|
47
|
53 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
54 |
SCHEMAS="metacity.schemas"
|
|
55 |
for S in $SCHEMAS; do
|
|
56 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
|
|
57 |
done
|
|
58 |
|
226
|
59 |
%postun
|
|
60 |
/sbin/ldconfig
|
47
|
61 |
|
|
62 |
%clean
|
|
63 |
rm -rf $RPM_BUILD_ROOT
|
|
64 |
|
|
65 |
%files
|
|
66 |
%defattr (-, root, root)
|
226
|
67 |
%{_bindir}/*
|
|
68 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
47
|
69 |
%{_sysconfdir}/gconf/schemas/metacity.schemas
|
226
|
70 |
%{_libexecdir}/*
|
|
71 |
%{_libdir}/*.so*
|
|
72 |
%{_libdir}/pkgconfig/*.pc
|
|
73 |
%{_includedir}/metacity-1/metacity-private
|
|
74 |
%{_datadir}/gnome/wm-properties/metacity.desktop
|
|
75 |
%{_datadir}/metacity
|
|
76 |
%{_datadir}/pixmaps/metacity-properties.png
|
|
77 |
%{_datadir}/themes/*/metacity-1/*
|
47
|
78 |
|
226
|
79 |
%changelog
|
47
|
80 |
* Tue May 13 2003 - [email protected]
|
|
81 |
- initial release
|