author | lsgunda |
Thu, 20 Jan 2005 11:33:19 +0000 | |
changeset 4881 | 2686eb194244 |
parent 4867 | e8cfe7e64783 |
child 4973 | e0638725bbc5 |
permissions | -rw-r--r-- |
47 | 1 |
Name: metacity |
2 |
License: GPL |
|
3 |
Group: System/GUI/GNOME |
|
2415 | 4 |
Version: 2.8.0 |
4881 | 5 |
Release: 32 |
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 |
4846
ffaaacbb77db
Uprevved l10n po tarball version from 1.10 to 1.11 in all spec files
miles
parents:
4813
diff
changeset
|
10 |
Source1: metacity-l10n-po-1.11.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 |
47 | 25 |
URL: http://www.gnome.org |
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
226 | 27 |
Docdir: %{_defaultdocdir}/doc |
28 |
Autoreqprov: on |
|
1080 | 29 |
Prereq: /sbin/ldconfig |
226 | 30 |
|
3628 | 31 |
%define intltool_version 0.30 |
32 |
%define GConf_version 2.6.1 |
|
226 | 33 |
%define pkgconfig_version 0.15.0 |
3628 | 34 |
%define libglade_version 2.3.6 |
226 | 35 |
|
36 |
Requires: GConf >= %{GConf_version} |
|
37 |
Requires: libglade >= %{libglade_version} |
|
38 |
BuildRequires: intltool >= %{intltool_version} |
|
39 |
BuildRequires: pkgconfig >= %{pkgconfig_version} |
|
40 |
BuildRequires: GConf >= %{GConf_version} |
|
41 |
BuildRequires: libglade >= %{libglade_version} |
|
47 | 42 |
|
43 |
%description |
|
226 | 44 |
Metacity is the window manager for the GNOME Desktop. |
47 | 45 |
|
46 |
%prep |
|
631 | 47 |
%setup -q |
1630 | 48 |
%patch1 -p0 |
49 |
%patch2 -p0 |
|
50 |
%patch3 -p0 |
|
2603 | 51 |
%patch4 -p1 |
3587
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
52 |
%patch5 -p1 |
4115 | 53 |
%patch6 -p1 |
4169 | 54 |
%patch7 -p1 |
4796 | 55 |
%patch8 -p1 |
4881 | 56 |
%patch9 -p1 |
4796 | 57 |
|
1522 | 58 |
bzcat %SOURCE1 | tar xf - |
47 | 59 |
|
4455 | 60 |
bash -x %SOURCE6 |
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 |
75 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
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 |
91 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
92 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
4357 | 93 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
94 |
install --mode=0644 %SOURCE5 $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}/pixmaps/metacity-properties.png |
|
128 |
%{_datadir}/themes/*/metacity-1/* |
|
1448 | 129 |
%{_mandir}/man1/* |
47 | 130 |
|
226 | 131 |
%changelog |
4881 | 132 |
* Thu Jan 20 2005 - [email protected] |
133 |
- Added metacity-09-wireframe-double-click.diff to restore window on |
|
134 |
double-clicking the title-bar to unmaximize. Fixes bug 6204338. |
|
135 |
||
4813 | 136 |
* Tue Jan 11 2005 - [email protected] |
137 |
- Modified metacity-02-ctrl-esc-mod4-r.diff to map 'show desktop' to <mod4>+d |
|
138 |
Fixes bug #5028221. |
|
139 |
||
4796 | 140 |
* Mon Jan 03 2005 - [email protected] |
141 |
- Add patch to disable wireframe feature when |
|
142 |
accessiblity is on. |
|
143 |
||
4626 | 144 |
* Wed Nov 24 2004 - [email protected] |
145 |
- Updated metacity-04-sunpowerswitch-key.diff to fix stopper bug #5104104. |
|
146 |
||
4357 | 147 |
* Thu Oct 28 2004 - [email protected] |
148 |
- Add metacity-message.1, metacity-window-demo.1 man pages |
|
149 |
||
4218 | 150 |
* Mon Oct 11 2004 - [email protected] |
151 |
- Updated metacity-04-sunpowerswitch-key.diff to check if Xserver is local |
|
152 |
for GDM also. Fixes bug #5107206. |
|
153 |
||
4169 | 154 |
* Wed Oct 06 2004 - [email protected] |
155 |
- Added metacity-07-logout-shortcut.diff Patch to implement an |
|
156 |
"apps/metacity/global_keybindings/logout" gconf key and |
|
157 |
its functionality. Fixes bug #5101706. |
|
158 |
||
4115 | 159 |
* Fri Oct 01 2004 - [email protected] |
160 |
- Add the window_raise_on_frame_only key under sun-extenstions |
|
161 |
||
3897 | 162 |
* Sat Sep 11 2004 - [email protected] |
163 |
- Move Solaris specific LDFLAGS to the Solaris spec file |
|
164 |
||
3895
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
165 |
* Fri Sep 10 2004 - [email protected] |
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
166 |
- 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
|
167 |
|
3587
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
168 |
* Mon Aug 16 2004 - [email protected] |
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
169 |
- 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
|
170 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
171 |
* 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
|
172 |
- 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
|
173 |
|
3628 | 174 |
* Wed Jul 07 2004 - [email protected] |
175 |
- ported to rpm4 |
|
176 |
||
3263 | 177 |
* Wed Jul 07 2004 - [email protected] |
178 |
- added "-j $CPUS" to make to speed up builds |
|
179 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2729
diff
changeset
|
180 |
* 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
|
181 |
- 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
|
182 |
|
2729 | 183 |
* Wed May 12 2004 - [email protected] |
184 |
- Do aclocal, autoheader, autoconf and automake before doing a configure. |
|
185 |
||
2603 | 186 |
* Fri Apr 30 2004 - [email protected] |
187 |
- Added patch metacity-04-sunpowerswitch-key.diff to bind SunPowerSwitch |
|
188 |
key to gnome-sys-suspend for Solaris. |
|
189 |
||
2415 | 190 |
* Wed Apr 07 2004 - [email protected] |
191 |
- Updated to 2.8.0 |
|
192 |
||
2350 | 193 |
* Mon Mar 29 2004 - [email protected] |
194 |
- Updated l10n content to metacity-l10n-po-1.0.tar.bz2 |
|
195 |
||
1916 | 196 |
* Tue Feb 24 2004 - <[email protected]> 2.7.0-1 |
197 |
- Update to 2.7.0 |
|
198 |
||
1630 | 199 |
* Thu Feb 12 2004 - <[email protected]> |
200 |
- add "-p0" strip argument to patch commands |
|
201 |
||
1448 | 202 |
* Tue Dec 16 2003 - <[email protected]> 2.6.3-1 |
203 |
- Update to 2.6.3 |
|
204 |
||
1276 | 205 |
* Thu Oct 16 2003 - <[email protected]> 2.6.2-1 |
206 |
- Update to 2.6.2 |
|
207 |
||
1222 | 208 |
* Thu Oct 09 2003 - <[email protected]> 2.6.1-1 |
209 |
- Update to 2.6.1 |
|
210 |
- Remove panel keybindings patches - they're in 2.6.x |
|
211 |
||
918 | 212 |
* Fri Aug 01 2003 - <[email protected]> 2.4.55-1 |
213 |
- Update to 2.4.55 |
|
214 |
||
868 | 215 |
* Thu Jul 31 2003 - <[email protected]> 2.4.34-11 |
918 | 216 |
- Add patch to fix workspace names not retained after |
868 | 217 |
logging out. |
218 |
||
219 |
* Thu Jul 17 2003 - <[email protected]> |
|
631 | 220 |
- Combined the esc-ctrl patch with Mod4 (window) R key |
221 |
patch. |
|
222 |
||
868 | 223 |
* Thu Jul 10 2003 - <[email protected]> |
523 | 224 |
- Added .po tarball |
225 |
||
868 | 226 |
* Thu Jul 03 2003 - <[email protected]> |
423 | 227 |
- redo default window border theme patch |
228 |
||
868 | 229 |
* Wed Jul 02 2003 - <[email protected]> |
401 | 230 |
- add metacity-04-ctrl-escape.diff |
231 |
||
868 | 232 |
* Wed Jul 02 2003 - <[email protected]> |
399 | 233 |
- new version of metacity-01-panel-keybindings.diff |
234 |
||
868 | 235 |
* Fri May 30 2003 - <[email protected]> |
241 | 236 |
- Backport panel keybindings patches. |
237 |
||
868 | 238 |
* Tue May 13 2003 - <[email protected]> |
47 | 239 |
- initial release |