47
|
1 |
Name: metacity
|
|
2 |
License: GPL
|
|
3 |
Group: System/GUI/GNOME
|
1448
|
4 |
Version: 2.6.3
|
|
5 |
Release: 1
|
47
|
6 |
Distribution: Mercury
|
575
|
7 |
Vendor: Sun Microsystems, Inc.
|
226
|
8 |
Summary: GNOME Window Manager
|
1222
|
9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/metacity/2.6/metacity-%{version}.tar.bz2
|
1448
|
10 |
Source1: metacity-l10n-po-0.6.tar.bz2
|
|
11 |
Source2: metacity.1.gz
|
|
12 |
Source3: metacity-theme-viewer.1.gz
|
1222
|
13 |
Patch1: metacity-01-default-theme.diff
|
|
14 |
Patch2: metacity-02-ctrl-esc-mod4-r.diff
|
1421
|
15 |
Patch3: metacity-03-ctrl-alt-del.diff
|
47
|
16 |
URL: http://www.gnome.org
|
|
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
226
|
18 |
Docdir: %{_defaultdocdir}/doc
|
|
19 |
Autoreqprov: on
|
1080
|
20 |
Prereq: /sbin/ldconfig
|
226
|
21 |
|
1222
|
22 |
%define intltool_version 0.27
|
|
23 |
%define GConf_version 2.4.0
|
226
|
24 |
%define pkgconfig_version 0.15.0
|
|
25 |
%define libglade_version 2.0.1
|
|
26 |
|
|
27 |
Requires: GConf >= %{GConf_version}
|
|
28 |
Requires: libglade >= %{libglade_version}
|
|
29 |
BuildRequires: intltool >= %{intltool_version}
|
|
30 |
BuildRequires: pkgconfig >= %{pkgconfig_version}
|
|
31 |
BuildRequires: GConf >= %{GConf_version}
|
|
32 |
BuildRequires: libglade >= %{libglade_version}
|
47
|
33 |
|
|
34 |
%description
|
226
|
35 |
Metacity is the window manager for the GNOME Desktop.
|
47
|
36 |
|
|
37 |
%prep
|
631
|
38 |
%setup -q
|
237
|
39 |
%patch1
|
|
40 |
%patch2
|
1421
|
41 |
%patch3
|
1522
|
42 |
bzcat %SOURCE1 | tar xf -
|
47
|
43 |
|
|
44 |
%build
|
226
|
45 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
46 |
./configure --prefix=%{_prefix} \
|
|
47 |
--mandir=%{_mandir} \
|
|
48 |
--sysconfdir=%{_sysconfdir}
|
47
|
49 |
make
|
|
50 |
|
|
51 |
%install
|
|
52 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
226
|
53 |
make DESTDIR=$RPM_BUILD_ROOT install
|
47
|
54 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
1522
|
55 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1
|
|
56 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
57 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1
|
1448
|
58 |
#Copy zh_HK from zh_TW
|
|
59 |
#Fixes bug 4930405
|
1522
|
60 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
61 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
1448
|
62 |
|
47
|
63 |
%post
|
226
|
64 |
/sbin/ldconfig
|
47
|
65 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
66 |
SCHEMAS="metacity.schemas"
|
|
67 |
for S in $SCHEMAS; do
|
|
68 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
|
|
69 |
done
|
|
70 |
|
226
|
71 |
%postun
|
|
72 |
/sbin/ldconfig
|
47
|
73 |
|
|
74 |
%clean
|
|
75 |
rm -rf $RPM_BUILD_ROOT
|
|
76 |
|
|
77 |
%files
|
|
78 |
%defattr (-, root, root)
|
226
|
79 |
%{_bindir}/*
|
|
80 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
47
|
81 |
%{_sysconfdir}/gconf/schemas/metacity.schemas
|
226
|
82 |
%{_libexecdir}/*
|
|
83 |
%{_libdir}/*.so*
|
|
84 |
%{_libdir}/pkgconfig/*.pc
|
|
85 |
%{_includedir}/metacity-1/metacity-private
|
|
86 |
%{_datadir}/gnome/wm-properties/metacity.desktop
|
|
87 |
%{_datadir}/metacity
|
|
88 |
%{_datadir}/pixmaps/metacity-properties.png
|
|
89 |
%{_datadir}/themes/*/metacity-1/*
|
1448
|
90 |
%{_mandir}/man1/*
|
47
|
91 |
|
226
|
92 |
%changelog
|
1448
|
93 |
* Tue Dec 16 2003 - <[email protected]> 2.6.3-1
|
|
94 |
- Update to 2.6.3
|
|
95 |
|
1276
|
96 |
* Thu Oct 16 2003 - <[email protected]> 2.6.2-1
|
|
97 |
- Update to 2.6.2
|
|
98 |
|
1222
|
99 |
* Thu Oct 09 2003 - <[email protected]> 2.6.1-1
|
|
100 |
- Update to 2.6.1
|
|
101 |
- Remove panel keybindings patches - they're in 2.6.x
|
|
102 |
|
918
|
103 |
* Fri Aug 01 2003 - <[email protected]> 2.4.55-1
|
|
104 |
- Update to 2.4.55
|
|
105 |
|
868
|
106 |
* Thu Jul 31 2003 - <[email protected]> 2.4.34-11
|
918
|
107 |
- Add patch to fix workspace names not retained after
|
868
|
108 |
logging out.
|
|
109 |
|
|
110 |
* Thu Jul 17 2003 - <[email protected]>
|
631
|
111 |
- Combined the esc-ctrl patch with Mod4 (window) R key
|
|
112 |
patch.
|
|
113 |
|
868
|
114 |
* Thu Jul 10 2003 - <[email protected]>
|
523
|
115 |
- Added .po tarball
|
|
116 |
|
868
|
117 |
* Thu Jul 03 2003 - <[email protected]>
|
423
|
118 |
- redo default window border theme patch
|
|
119 |
|
868
|
120 |
* Wed Jul 02 2003 - <[email protected]>
|
401
|
121 |
- add metacity-04-ctrl-escape.diff
|
|
122 |
|
868
|
123 |
* Wed Jul 02 2003 - <[email protected]>
|
399
|
124 |
- new version of metacity-01-panel-keybindings.diff
|
|
125 |
|
868
|
126 |
* Fri May 30 2003 - <[email protected]>
|
241
|
127 |
- Backport panel keybindings patches.
|
|
128 |
|
868
|
129 |
* Tue May 13 2003 - <[email protected]>
|
47
|
130 |
- initial release
|