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