author | dc144907 |
Wed, 26 Jul 2006 11:45:05 +0000 | |
changeset 7764 | d8b749236969 |
parent 7757 | 75600432f5f7 |
child 7878 | 2bb7a2c1914f |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package metacity |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
47 | 8 |
Name: metacity |
9 |
License: GPL |
|
10 |
Group: System/GUI/GNOME |
|
7743 | 11 |
Version: 2.15.13 |
7510 | 12 |
Release: 4 |
5518 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
226 | 15 |
Summary: GNOME Window Manager |
6929 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/metacity/2.14/metacity-%{version}.tar.bz2 |
5518 | 17 |
Source1: metacity-window-demo.1.gz |
1448 | 18 |
Source2: metacity.1.gz |
19 |
Source3: metacity-theme-viewer.1.gz |
|
4357 | 20 |
Source4: metacity-message.1.gz |
1222 | 21 |
Patch1: metacity-01-default-theme.diff |
22 |
Patch2: metacity-02-ctrl-esc-mod4-r.diff |
|
1421 | 23 |
Patch3: metacity-03-ctrl-alt-del.diff |
2603 | 24 |
Patch4: metacity-04-sunpowerswitch-key.diff |
5518 | 25 |
Patch5: metacity-05-raise-on-frame-click.diff |
26 |
Patch6: metacity-06-logout-shortcut.diff |
|
27 |
Patch7: metacity-07-window-title.diff |
|
6539
0cbe0d2f0a4c
* metacity.spec: Add patch, pretty-function, to use a Gnome define
dc144907
parents:
6490
diff
changeset
|
28 |
Patch8: metacity-08-pretty-function.diff |
7272 | 29 |
Patch9: metacity-09-branding-hack.diff |
7488 | 30 |
Patch10: metacity-10-trusted-extensions.diff |
7764 | 31 |
Patch11: metacity-11-empty-struct.diff |
47 | 32 |
URL: http://www.gnome.org |
33 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
226 | 34 |
Docdir: %{_defaultdocdir}/doc |
35 |
Autoreqprov: on |
|
1080 | 36 |
Prereq: /sbin/ldconfig |
226 | 37 |
|
3628 | 38 |
%define intltool_version 0.30 |
39 |
%define GConf_version 2.6.1 |
|
226 | 40 |
%define pkgconfig_version 0.15.0 |
3628 | 41 |
%define libglade_version 2.3.6 |
226 | 42 |
|
43 |
Requires: GConf >= %{GConf_version} |
|
44 |
Requires: libglade >= %{libglade_version} |
|
45 |
BuildRequires: intltool >= %{intltool_version} |
|
46 |
BuildRequires: pkgconfig >= %{pkgconfig_version} |
|
47 |
BuildRequires: GConf >= %{GConf_version} |
|
48 |
BuildRequires: libglade >= %{libglade_version} |
|
47 | 49 |
|
50 |
%description |
|
226 | 51 |
Metacity is the window manager for the GNOME Desktop. |
47 | 52 |
|
53 |
%prep |
|
631 | 54 |
%setup -q |
5913 | 55 |
%patch1 -p1 |
5518 | 56 |
%patch2 -p1 |
57 |
%patch3 -p1 |
|
58 |
#FIXME - This patch doesn't compile on Solaris %patch4 -p1 |
|
3587
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
59 |
%patch5 -p1 |
4115 | 60 |
%patch6 -p1 |
4169 | 61 |
%patch7 -p1 |
6539
0cbe0d2f0a4c
* metacity.spec: Add patch, pretty-function, to use a Gnome define
dc144907
parents:
6490
diff
changeset
|
62 |
%patch8 -p1 |
7272 | 63 |
%patch9 -p1 |
7757
75600432f5f7
Comment out very broken patches to allow the nightly build to progress.
dc144907
parents:
7743
diff
changeset
|
64 |
##FIXME: Needs engineer rework: %patch10 -p1 |
7764 | 65 |
%patch11 -p1 |
4796 | 66 |
|
4455 | 67 |
|
47 | 68 |
%build |
3263 | 69 |
%ifos linux |
70 |
if [ -x /usr/bin/getconf ]; then |
|
71 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
72 |
fi |
|
73 |
%else |
|
3846 | 74 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 75 |
%endif |
76 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
77 |
CPUS=1 |
|
78 |
fi |
|
79 |
||
2729 | 80 |
libtoolize --force |
6540
3258004303c1
*metacity.spec: Call intltoolize to process intltool-update/merge.
dc144907
parents:
6539
diff
changeset
|
81 |
intltoolize --force --copy |
5518 | 82 |
aclocal $ACLOCAL_FLAGS |
2729 | 83 |
autoheader |
84 |
automake -a -c -f |
|
85 |
autoconf |
|
3897 | 86 |
CFLAGS="$RPM_OPT_FLAGS" \ |
226 | 87 |
./configure --prefix=%{_prefix} \ |
88 |
--mandir=%{_mandir} \ |
|
1700 | 89 |
--libexecdir=%{_libexecdir} \ |
226 | 90 |
--sysconfdir=%{_sysconfdir} |
3263 | 91 |
make -j $CPUS |
47 | 92 |
|
93 |
%install |
|
94 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
226 | 95 |
make DESTDIR=$RPM_BUILD_ROOT install |
47 | 96 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 97 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
5518 | 98 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
1522 | 99 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
100 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
4357 | 101 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
1448 | 102 |
#Copy zh_HK from zh_TW |
103 |
#Fixes bug 4930405 |
|
1522 | 104 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
105 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
3628 | 106 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
107 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
1448 | 108 |
|
47 | 109 |
%post |
226 | 110 |
/sbin/ldconfig |
47 | 111 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
112 |
SCHEMAS="metacity.schemas" |
|
113 |
for S in $SCHEMAS; do |
|
114 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
115 |
done |
|
116 |
||
226 | 117 |
%postun |
118 |
/sbin/ldconfig |
|
47 | 119 |
|
120 |
%clean |
|
121 |
rm -rf $RPM_BUILD_ROOT |
|
122 |
||
123 |
%files |
|
124 |
%defattr (-, root, root) |
|
226 | 125 |
%{_bindir}/* |
126 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
47 | 127 |
%{_sysconfdir}/gconf/schemas/metacity.schemas |
226 | 128 |
%{_libexecdir}/* |
129 |
%{_libdir}/*.so* |
|
130 |
%{_libdir}/pkgconfig/*.pc |
|
131 |
%{_includedir}/metacity-1/metacity-private |
|
132 |
%{_datadir}/gnome/wm-properties/metacity.desktop |
|
133 |
%{_datadir}/metacity |
|
134 |
%{_datadir}/themes/*/metacity-1/* |
|
1448 | 135 |
%{_mandir}/man1/* |
47 | 136 |
|
226 | 137 |
%changelog |
7743 | 138 |
* Mon Jul 24 2006 - [email protected] |
139 |
- Bump to 2.15.13. |
|
140 |
||
7510 | 141 |
* Fri Jun 23 2006 - [email protected] |
142 |
- Bump to 2.14.5. |
|
143 |
||
7079 | 144 |
* Tue Apr 18 2006 - [email protected] |
145 |
- Bump to 2.14.3. |
|
146 |
||
7042 | 147 |
* Tue Apr 11 2006 - [email protected] |
148 |
- Bump to 2.14.2. |
|
149 |
||
6929 | 150 |
* Tue Mar 14 2006 - [email protected] |
151 |
- Bump to 2.14.1. |
|
152 |
||
6862 | 153 |
* Tue Feb 28 2006 - [email protected] |
154 |
- Bump to 2.13.144. |
|
155 |
||
6750 | 156 |
* Tue Feb 14 2006 - [email protected] |
157 |
- Bump to 2.13.89. |
|
158 |
||
6698 | 159 |
* Tue Jan 31 2006 - [email protected] |
160 |
- Bump to 2.13.55. |
|
161 |
||
6635 | 162 |
* Sat Jan 21 2006 - [email protected] |
163 |
- Bump to 2.13.34 |
|
164 |
||
6587
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6564
diff
changeset
|
165 |
* Tue Jan 17 2006 - [email protected] |
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6564
diff
changeset
|
166 |
- Bump to 2.13.21 |
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6564
diff
changeset
|
167 |
|
6564
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6540
diff
changeset
|
168 |
* Sun Jan 15 2006 - [email protected] |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6540
diff
changeset
|
169 |
- Bump to 2.13.13 |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6540
diff
changeset
|
170 |
|
6539
0cbe0d2f0a4c
* metacity.spec: Add patch, pretty-function, to use a Gnome define
dc144907
parents:
6490
diff
changeset
|
171 |
* Mon Jan 09 2006 - [email protected] |
0cbe0d2f0a4c
* metacity.spec: Add patch, pretty-function, to use a Gnome define
dc144907
parents:
6490
diff
changeset
|
172 |
- Add patch, pretty-function, to use a Gnome define instead of a pragma not |
0cbe0d2f0a4c
* metacity.spec: Add patch, pretty-function, to use a Gnome define
dc144907
parents:
6490
diff
changeset
|
173 |
available in forte. Bugzilla 326281. |
6540
3258004303c1
*metacity.spec: Call intltoolize to process intltool-update/merge.
dc144907
parents:
6539
diff
changeset
|
174 |
- Call intltoolize to process intltool-update/merge. |
6539
0cbe0d2f0a4c
* metacity.spec: Add patch, pretty-function, to use a Gnome define
dc144907
parents:
6490
diff
changeset
|
175 |
|
6490
8caaa83a7fe5
* metacity.spec: Remove obsolete patch, 08-constrain-window.
dc144907
parents:
6436
diff
changeset
|
176 |
* Wed Jan 04 2006 - [email protected] |
8caaa83a7fe5
* metacity.spec: Remove obsolete patch, 08-constrain-window.
dc144907
parents:
6436
diff
changeset
|
177 |
- Remove obsolete patch, 08-constrain-window. |
8caaa83a7fe5
* metacity.spec: Remove obsolete patch, 08-constrain-window.
dc144907
parents:
6436
diff
changeset
|
178 |
|
6436 | 179 |
* Tue Dec 20 2005 - [email protected] |
180 |
- Bump to 2.13.5 |
|
181 |
||
6297
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6080
diff
changeset
|
182 |
* Tue Nov 29 2005 - [email protected] |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6080
diff
changeset
|
183 |
- Bump to 2.12.2. |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6080
diff
changeset
|
184 |
|
6080
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5913
diff
changeset
|
185 |
* Tue Oct 11 2005 - [email protected] |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5913
diff
changeset
|
186 |
- Bump to 2.12.1 |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5913
diff
changeset
|
187 |
|
5895 | 188 |
* Sat Sep 17 2005 - [email protected] |
189 |
- Bump to 2.12.0 |
|
190 |
||
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5564
diff
changeset
|
191 |
* Mon Sep 05 2005 - [email protected] |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5564
diff
changeset
|
192 |
- Bump to 2.11.3. |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5564
diff
changeset
|
193 |
|
5547
b5f23b6bd6ab
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
194 |
* Tue Aug 16 2005 - [email protected] |
b5f23b6bd6ab
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
195 |
- Bump to 2.11.2. |
b5f23b6bd6ab
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
196 |
|
5518 | 197 |
* Wed Aug 03 2005 - [email protected] |
198 |
- remove upstream patch splash-layer.diff |
|
199 |
||
200 |
* Fri Jul 01 2005 - [email protected] |
|
201 |
- Add patch -09-pkgconfig.diff to add needed libs |
|
202 |
||
203 |
* Thu May 19 2005 - [email protected] |
|
204 |
- Fix patch so it uses -p1 instead of -p0 since Solaris is less |
|
205 |
forgiving than Linux. Remove patch 4 since it breaks the build. |
|
206 |
||
207 |
* Tue May 17 2005 - [email protected] |
|
208 |
- Adding patch to fix splash screens not to be |
|
209 |
on top of all windows all the time Fixes #6268588 |
|
210 |
||
5097 | 211 |
* Wed Feb 16 2005 - [email protected] |
212 |
- Added metacity-11-constrain-window.diff to constrain windows within |
|
213 |
the strut area when shown for the first time. Fixes bug #6182510. |
|
214 |
||
5060 | 215 |
* Fri Feb 11 2005 - [email protected] |
216 |
- Added metacity-10-window-title.diff to enable user to edit |
|
217 |
window title using font capplet. Fixes bug #6227065. |
|
218 |
||
4881 | 219 |
* Thu Jan 20 2005 - [email protected] |
220 |
- Added metacity-09-wireframe-double-click.diff to restore window on |
|
221 |
double-clicking the title-bar to unmaximize. Fixes bug 6204338. |
|
222 |
||
4813 | 223 |
* Tue Jan 11 2005 - [email protected] |
224 |
- Modified metacity-02-ctrl-esc-mod4-r.diff to map 'show desktop' to <mod4>+d |
|
225 |
Fixes bug #5028221. |
|
226 |
||
4796 | 227 |
* Mon Jan 03 2005 - [email protected] |
228 |
- Add patch to disable wireframe feature when |
|
229 |
accessiblity is on. |
|
230 |
||
4626 | 231 |
* Wed Nov 24 2004 - [email protected] |
232 |
- Updated metacity-04-sunpowerswitch-key.diff to fix stopper bug #5104104. |
|
233 |
||
4357 | 234 |
* Thu Oct 28 2004 - [email protected] |
235 |
- Add metacity-message.1, metacity-window-demo.1 man pages |
|
236 |
||
4218 | 237 |
* Mon Oct 11 2004 - [email protected] |
238 |
- Updated metacity-04-sunpowerswitch-key.diff to check if Xserver is local |
|
239 |
for GDM also. Fixes bug #5107206. |
|
240 |
||
4169 | 241 |
* Wed Oct 06 2004 - [email protected] |
242 |
- Added metacity-07-logout-shortcut.diff Patch to implement an |
|
243 |
"apps/metacity/global_keybindings/logout" gconf key and |
|
244 |
its functionality. Fixes bug #5101706. |
|
245 |
||
4115 | 246 |
* Fri Oct 01 2004 - [email protected] |
247 |
- Add the window_raise_on_frame_only key under sun-extenstions |
|
248 |
||
3897 | 249 |
* Sat Sep 11 2004 - [email protected] |
250 |
- Move Solaris specific LDFLAGS to the Solaris spec file |
|
251 |
||
3895
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
252 |
* Fri Sep 10 2004 - [email protected] |
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
253 |
- Set LDFLAGS so Xrandr and Xrender can be found. |
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
254 |
|
3587
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
255 |
* Mon Aug 16 2004 - [email protected] |
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
256 |
- Added patch metacity-05-bigstruts.diff for bugzilla #144126. |
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
257 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
258 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
259 |
- Updated l10n content to metacity-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
260 |
|
3628 | 261 |
* Wed Jul 07 2004 - [email protected] |
262 |
- ported to rpm4 |
|
263 |
||
3263 | 264 |
* Wed Jul 07 2004 - [email protected] |
265 |
- added "-j $CPUS" to make to speed up builds |
|
266 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2729
diff
changeset
|
267 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2729
diff
changeset
|
268 |
- Updated l10n content to metacity-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2729
diff
changeset
|
269 |
|
2729 | 270 |
* Wed May 12 2004 - [email protected] |
271 |
- Do aclocal, autoheader, autoconf and automake before doing a configure. |
|
272 |
||
2603 | 273 |
* Fri Apr 30 2004 - [email protected] |
274 |
- Added patch metacity-04-sunpowerswitch-key.diff to bind SunPowerSwitch |
|
275 |
key to gnome-sys-suspend for Solaris. |
|
276 |
||
2415 | 277 |
* Wed Apr 07 2004 - [email protected] |
278 |
- Updated to 2.8.0 |
|
279 |
||
2350 | 280 |
* Mon Mar 29 2004 - [email protected] |
281 |
- Updated l10n content to metacity-l10n-po-1.0.tar.bz2 |
|
282 |
||
1916 | 283 |
* Tue Feb 24 2004 - <[email protected]> 2.7.0-1 |
284 |
- Update to 2.7.0 |
|
285 |
||
1630 | 286 |
* Thu Feb 12 2004 - <[email protected]> |
287 |
- add "-p0" strip argument to patch commands |
|
288 |
||
1448 | 289 |
* Tue Dec 16 2003 - <[email protected]> 2.6.3-1 |
290 |
- Update to 2.6.3 |
|
291 |
||
1276 | 292 |
* Thu Oct 16 2003 - <[email protected]> 2.6.2-1 |
293 |
- Update to 2.6.2 |
|
294 |
||
1222 | 295 |
* Thu Oct 09 2003 - <[email protected]> 2.6.1-1 |
296 |
- Update to 2.6.1 |
|
297 |
- Remove panel keybindings patches - they're in 2.6.x |
|
298 |
||
918 | 299 |
* Fri Aug 01 2003 - <[email protected]> 2.4.55-1 |
300 |
- Update to 2.4.55 |
|
301 |
||
868 | 302 |
* Thu Jul 31 2003 - <[email protected]> 2.4.34-11 |
918 | 303 |
- Add patch to fix workspace names not retained after |
868 | 304 |
logging out. |
305 |
||
306 |
* Thu Jul 17 2003 - <[email protected]> |
|
631 | 307 |
- Combined the esc-ctrl patch with Mod4 (window) R key |
308 |
patch. |
|
309 |
||
868 | 310 |
* Thu Jul 10 2003 - <[email protected]> |
523 | 311 |
- Added .po tarball |
312 |
||
868 | 313 |
* Thu Jul 03 2003 - <[email protected]> |
423 | 314 |
- redo default window border theme patch |
315 |
||
868 | 316 |
* Wed Jul 02 2003 - <[email protected]> |
401 | 317 |
- add metacity-04-ctrl-escape.diff |
318 |
||
868 | 319 |
* Wed Jul 02 2003 - <[email protected]> |
399 | 320 |
- new version of metacity-01-panel-keybindings.diff |
321 |
||
868 | 322 |
* Fri May 30 2003 - <[email protected]> |
241 | 323 |
- Backport panel keybindings patches. |
324 |
||
868 | 325 |
* Tue May 13 2003 - <[email protected]> |
47 | 326 |
- initial release |