author | laca |
Thu, 11 Aug 2005 18:34:53 +0000 | |
changeset 5518 | 235b0b4aa324 |
parent 5517 | c3ddcedacbf0 |
child 5547 | b5f23b6bd6ab |
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 |
|
5518 | 11 |
Version: 2.10.1 |
12 |
Release: 1 |
|
13 |
Distribution: Java Desktop System |
|
575 | 14 |
Vendor: Sun Microsystems, Inc. |
226 | 15 |
Summary: GNOME Window Manager |
5518 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/metacity/2.10/metacity-%{version}.tar.bz2 |
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 |
|
28 |
Patch8: metacity-08-constrain-window.diff |
|
47 | 29 |
URL: http://www.gnome.org |
30 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
226 | 31 |
Docdir: %{_defaultdocdir}/doc |
32 |
Autoreqprov: on |
|
1080 | 33 |
Prereq: /sbin/ldconfig |
226 | 34 |
|
3628 | 35 |
%define intltool_version 0.30 |
36 |
%define GConf_version 2.6.1 |
|
226 | 37 |
%define pkgconfig_version 0.15.0 |
3628 | 38 |
%define libglade_version 2.3.6 |
226 | 39 |
|
40 |
Requires: GConf >= %{GConf_version} |
|
41 |
Requires: libglade >= %{libglade_version} |
|
42 |
BuildRequires: intltool >= %{intltool_version} |
|
43 |
BuildRequires: pkgconfig >= %{pkgconfig_version} |
|
44 |
BuildRequires: GConf >= %{GConf_version} |
|
45 |
BuildRequires: libglade >= %{libglade_version} |
|
47 | 46 |
|
47 |
%description |
|
226 | 48 |
Metacity is the window manager for the GNOME Desktop. |
47 | 49 |
|
50 |
%prep |
|
631 | 51 |
%setup -q |
5518 | 52 |
%patch1 -p1 |
53 |
%patch2 -p1 |
|
54 |
%patch3 -p1 |
|
55 |
#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
|
56 |
%patch5 -p1 |
4115 | 57 |
%patch6 -p1 |
4169 | 58 |
%patch7 -p1 |
4796 | 59 |
%patch8 -p1 |
60 |
||
4455 | 61 |
|
47 | 62 |
%build |
3263 | 63 |
%ifos linux |
64 |
if [ -x /usr/bin/getconf ]; then |
|
65 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
66 |
fi |
|
67 |
%else |
|
3846 | 68 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 69 |
%endif |
70 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
71 |
CPUS=1 |
|
72 |
fi |
|
73 |
||
2729 | 74 |
libtoolize --force |
5518 | 75 |
aclocal $ACLOCAL_FLAGS |
2729 | 76 |
autoheader |
77 |
automake -a -c -f |
|
78 |
autoconf |
|
3897 | 79 |
CFLAGS="$RPM_OPT_FLAGS" \ |
226 | 80 |
./configure --prefix=%{_prefix} \ |
81 |
--mandir=%{_mandir} \ |
|
1700 | 82 |
--libexecdir=%{_libexecdir} \ |
226 | 83 |
--sysconfdir=%{_sysconfdir} |
3263 | 84 |
make -j $CPUS |
47 | 85 |
|
86 |
%install |
|
87 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
226 | 88 |
make DESTDIR=$RPM_BUILD_ROOT install |
47 | 89 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 90 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
5518 | 91 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
1522 | 92 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
93 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
4357 | 94 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
1448 | 95 |
#Copy zh_HK from zh_TW |
96 |
#Fixes bug 4930405 |
|
1522 | 97 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
98 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
3628 | 99 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
100 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
1448 | 101 |
|
47 | 102 |
%post |
226 | 103 |
/sbin/ldconfig |
47 | 104 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
105 |
SCHEMAS="metacity.schemas" |
|
106 |
for S in $SCHEMAS; do |
|
107 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
108 |
done |
|
109 |
||
226 | 110 |
%postun |
111 |
/sbin/ldconfig |
|
47 | 112 |
|
113 |
%clean |
|
114 |
rm -rf $RPM_BUILD_ROOT |
|
115 |
||
116 |
%files |
|
117 |
%defattr (-, root, root) |
|
226 | 118 |
%{_bindir}/* |
119 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
47 | 120 |
%{_sysconfdir}/gconf/schemas/metacity.schemas |
226 | 121 |
%{_libexecdir}/* |
122 |
%{_libdir}/*.so* |
|
123 |
%{_libdir}/pkgconfig/*.pc |
|
124 |
%{_includedir}/metacity-1/metacity-private |
|
125 |
%{_datadir}/gnome/wm-properties/metacity.desktop |
|
126 |
%{_datadir}/metacity |
|
127 |
%{_datadir}/themes/*/metacity-1/* |
|
1448 | 128 |
%{_mandir}/man1/* |
47 | 129 |
|
226 | 130 |
%changelog |
5518 | 131 |
* Wed Aug 03 2005 - [email protected] |
132 |
- remove upstream patch splash-layer.diff |
|
133 |
||
134 |
* Fri Jul 01 2005 - [email protected] |
|
135 |
- Add patch -09-pkgconfig.diff to add needed libs |
|
136 |
||
137 |
* Thu May 19 2005 - [email protected] |
|
138 |
- Fix patch so it uses -p1 instead of -p0 since Solaris is less |
|
139 |
forgiving than Linux. Remove patch 4 since it breaks the build. |
|
140 |
||
141 |
* Tue May 17 2005 - [email protected] |
|
142 |
- Adding patch to fix splash screens not to be |
|
143 |
on top of all windows all the time Fixes #6268588 |
|
144 |
||
5097 | 145 |
* Wed Feb 16 2005 - [email protected] |
146 |
- Added metacity-11-constrain-window.diff to constrain windows within |
|
147 |
the strut area when shown for the first time. Fixes bug #6182510. |
|
148 |
||
5060 | 149 |
* Fri Feb 11 2005 - [email protected] |
150 |
- Added metacity-10-window-title.diff to enable user to edit |
|
151 |
window title using font capplet. Fixes bug #6227065. |
|
152 |
||
4881 | 153 |
* Thu Jan 20 2005 - [email protected] |
154 |
- Added metacity-09-wireframe-double-click.diff to restore window on |
|
155 |
double-clicking the title-bar to unmaximize. Fixes bug 6204338. |
|
156 |
||
4813 | 157 |
* Tue Jan 11 2005 - [email protected] |
158 |
- Modified metacity-02-ctrl-esc-mod4-r.diff to map 'show desktop' to <mod4>+d |
|
159 |
Fixes bug #5028221. |
|
160 |
||
4796 | 161 |
* Mon Jan 03 2005 - [email protected] |
162 |
- Add patch to disable wireframe feature when |
|
163 |
accessiblity is on. |
|
164 |
||
4626 | 165 |
* Wed Nov 24 2004 - [email protected] |
166 |
- Updated metacity-04-sunpowerswitch-key.diff to fix stopper bug #5104104. |
|
167 |
||
4357 | 168 |
* Thu Oct 28 2004 - [email protected] |
169 |
- Add metacity-message.1, metacity-window-demo.1 man pages |
|
170 |
||
4218 | 171 |
* Mon Oct 11 2004 - [email protected] |
172 |
- Updated metacity-04-sunpowerswitch-key.diff to check if Xserver is local |
|
173 |
for GDM also. Fixes bug #5107206. |
|
174 |
||
4169 | 175 |
* Wed Oct 06 2004 - [email protected] |
176 |
- Added metacity-07-logout-shortcut.diff Patch to implement an |
|
177 |
"apps/metacity/global_keybindings/logout" gconf key and |
|
178 |
its functionality. Fixes bug #5101706. |
|
179 |
||
4115 | 180 |
* Fri Oct 01 2004 - [email protected] |
181 |
- Add the window_raise_on_frame_only key under sun-extenstions |
|
182 |
||
3897 | 183 |
* Sat Sep 11 2004 - [email protected] |
184 |
- Move Solaris specific LDFLAGS to the Solaris spec file |
|
185 |
||
3895
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
186 |
* Fri Sep 10 2004 - [email protected] |
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
187 |
- 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
|
188 |
|
3587
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
189 |
* Mon Aug 16 2004 - [email protected] |
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
190 |
- 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
|
191 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
192 |
* 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
|
193 |
- 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
|
194 |
|
3628 | 195 |
* Wed Jul 07 2004 - [email protected] |
196 |
- ported to rpm4 |
|
197 |
||
3263 | 198 |
* Wed Jul 07 2004 - [email protected] |
199 |
- added "-j $CPUS" to make to speed up builds |
|
200 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2729
diff
changeset
|
201 |
* 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
|
202 |
- 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
|
203 |
|
2729 | 204 |
* Wed May 12 2004 - [email protected] |
205 |
- Do aclocal, autoheader, autoconf and automake before doing a configure. |
|
206 |
||
2603 | 207 |
* Fri Apr 30 2004 - [email protected] |
208 |
- Added patch metacity-04-sunpowerswitch-key.diff to bind SunPowerSwitch |
|
209 |
key to gnome-sys-suspend for Solaris. |
|
210 |
||
2415 | 211 |
* Wed Apr 07 2004 - [email protected] |
212 |
- Updated to 2.8.0 |
|
213 |
||
2350 | 214 |
* Mon Mar 29 2004 - [email protected] |
215 |
- Updated l10n content to metacity-l10n-po-1.0.tar.bz2 |
|
216 |
||
1916 | 217 |
* Tue Feb 24 2004 - <[email protected]> 2.7.0-1 |
218 |
- Update to 2.7.0 |
|
219 |
||
1630 | 220 |
* Thu Feb 12 2004 - <[email protected]> |
221 |
- add "-p0" strip argument to patch commands |
|
222 |
||
1448 | 223 |
* Tue Dec 16 2003 - <[email protected]> 2.6.3-1 |
224 |
- Update to 2.6.3 |
|
225 |
||
1276 | 226 |
* Thu Oct 16 2003 - <[email protected]> 2.6.2-1 |
227 |
- Update to 2.6.2 |
|
228 |
||
1222 | 229 |
* Thu Oct 09 2003 - <[email protected]> 2.6.1-1 |
230 |
- Update to 2.6.1 |
|
231 |
- Remove panel keybindings patches - they're in 2.6.x |
|
232 |
||
918 | 233 |
* Fri Aug 01 2003 - <[email protected]> 2.4.55-1 |
234 |
- Update to 2.4.55 |
|
235 |
||
868 | 236 |
* Thu Jul 31 2003 - <[email protected]> 2.4.34-11 |
918 | 237 |
- Add patch to fix workspace names not retained after |
868 | 238 |
logging out. |
239 |
||
240 |
* Thu Jul 17 2003 - <[email protected]> |
|
631 | 241 |
- Combined the esc-ctrl patch with Mod4 (window) R key |
242 |
patch. |
|
243 |
||
868 | 244 |
* Thu Jul 10 2003 - <[email protected]> |
523 | 245 |
- Added .po tarball |
246 |
||
868 | 247 |
* Thu Jul 03 2003 - <[email protected]> |
423 | 248 |
- redo default window border theme patch |
249 |
||
868 | 250 |
* Wed Jul 02 2003 - <[email protected]> |
401 | 251 |
- add metacity-04-ctrl-escape.diff |
252 |
||
868 | 253 |
* Wed Jul 02 2003 - <[email protected]> |
399 | 254 |
- new version of metacity-01-panel-keybindings.diff |
255 |
||
868 | 256 |
* Fri May 30 2003 - <[email protected]> |
241 | 257 |
- Backport panel keybindings patches. |
258 |
||
868 | 259 |
* Tue May 13 2003 - <[email protected]> |
47 | 260 |
- initial release |