author | fujiwara |
Fri, 05 Nov 2004 12:17:36 +0000 | |
changeset 4455 | aea26bce3124 |
parent 4409 | 4fec71e58697 |
child 4541 | aa555c8d3378 |
permissions | -rw-r--r-- |
47 | 1 |
Name: metacity |
2 |
License: GPL |
|
3 |
Group: System/GUI/GNOME |
|
2415 | 4 |
Version: 2.8.0 |
4409 | 5 |
Release: 25 |
1916 | 6 |
Distribution: Cinnabar |
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 |
4387 | 10 |
Source1: metacity-l10n-po-1.7.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 |
47 | 23 |
URL: http://www.gnome.org |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
226 | 25 |
Docdir: %{_defaultdocdir}/doc |
26 |
Autoreqprov: on |
|
1080 | 27 |
Prereq: /sbin/ldconfig |
226 | 28 |
|
3628 | 29 |
%define intltool_version 0.30 |
30 |
%define GConf_version 2.6.1 |
|
226 | 31 |
%define pkgconfig_version 0.15.0 |
3628 | 32 |
%define libglade_version 2.3.6 |
226 | 33 |
|
34 |
Requires: GConf >= %{GConf_version} |
|
35 |
Requires: libglade >= %{libglade_version} |
|
36 |
BuildRequires: intltool >= %{intltool_version} |
|
37 |
BuildRequires: pkgconfig >= %{pkgconfig_version} |
|
38 |
BuildRequires: GConf >= %{GConf_version} |
|
39 |
BuildRequires: libglade >= %{libglade_version} |
|
47 | 40 |
|
41 |
%description |
|
226 | 42 |
Metacity is the window manager for the GNOME Desktop. |
47 | 43 |
|
44 |
%prep |
|
631 | 45 |
%setup -q |
1630 | 46 |
%patch1 -p0 |
47 |
%patch2 -p0 |
|
48 |
%patch3 -p0 |
|
2603 | 49 |
%patch4 -p1 |
3587
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
50 |
%patch5 -p1 |
4115 | 51 |
%patch6 -p1 |
4169 | 52 |
%patch7 -p1 |
1522 | 53 |
bzcat %SOURCE1 | tar xf - |
47 | 54 |
|
4455 | 55 |
bash -x %SOURCE6 |
56 |
||
47 | 57 |
%build |
3263 | 58 |
%ifos linux |
59 |
if [ -x /usr/bin/getconf ]; then |
|
60 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
61 |
fi |
|
62 |
%else |
|
3846 | 63 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 64 |
%endif |
65 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
66 |
CPUS=1 |
|
67 |
fi |
|
68 |
||
2729 | 69 |
libtoolize --force |
70 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
71 |
autoheader |
|
72 |
automake -a -c -f |
|
73 |
autoconf |
|
3897 | 74 |
CFLAGS="$RPM_OPT_FLAGS" \ |
226 | 75 |
./configure --prefix=%{_prefix} \ |
76 |
--mandir=%{_mandir} \ |
|
1700 | 77 |
--libexecdir=%{_libexecdir} \ |
226 | 78 |
--sysconfdir=%{_sysconfdir} |
3263 | 79 |
make -j $CPUS |
47 | 80 |
|
81 |
%install |
|
82 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
226 | 83 |
make DESTDIR=$RPM_BUILD_ROOT install |
47 | 84 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 85 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
86 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
87 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
4357 | 88 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
89 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
1448 | 90 |
#Copy zh_HK from zh_TW |
91 |
#Fixes bug 4930405 |
|
1522 | 92 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
93 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
3628 | 94 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
95 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
1448 | 96 |
|
47 | 97 |
%post |
226 | 98 |
/sbin/ldconfig |
47 | 99 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
100 |
SCHEMAS="metacity.schemas" |
|
101 |
for S in $SCHEMAS; do |
|
102 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
103 |
done |
|
104 |
||
226 | 105 |
%postun |
106 |
/sbin/ldconfig |
|
47 | 107 |
|
108 |
%clean |
|
109 |
rm -rf $RPM_BUILD_ROOT |
|
110 |
||
111 |
%files |
|
112 |
%defattr (-, root, root) |
|
226 | 113 |
%{_bindir}/* |
114 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
47 | 115 |
%{_sysconfdir}/gconf/schemas/metacity.schemas |
226 | 116 |
%{_libexecdir}/* |
117 |
%{_libdir}/*.so* |
|
118 |
%{_libdir}/pkgconfig/*.pc |
|
119 |
%{_includedir}/metacity-1/metacity-private |
|
120 |
%{_datadir}/gnome/wm-properties/metacity.desktop |
|
121 |
%{_datadir}/metacity |
|
122 |
%{_datadir}/pixmaps/metacity-properties.png |
|
123 |
%{_datadir}/themes/*/metacity-1/* |
|
1448 | 124 |
%{_mandir}/man1/* |
47 | 125 |
|
226 | 126 |
%changelog |
4357 | 127 |
* Thu Oct 28 2004 - [email protected] |
128 |
- Add metacity-message.1, metacity-window-demo.1 man pages |
|
129 |
||
4218 | 130 |
* Mon Oct 11 2004 - [email protected] |
131 |
- Updated metacity-04-sunpowerswitch-key.diff to check if Xserver is local |
|
132 |
for GDM also. Fixes bug #5107206. |
|
133 |
||
4169 | 134 |
* Wed Oct 06 2004 - [email protected] |
135 |
- Added metacity-07-logout-shortcut.diff Patch to implement an |
|
136 |
"apps/metacity/global_keybindings/logout" gconf key and |
|
137 |
its functionality. Fixes bug #5101706. |
|
138 |
||
4115 | 139 |
* Fri Oct 01 2004 - [email protected] |
140 |
- Add the window_raise_on_frame_only key under sun-extenstions |
|
141 |
||
3897 | 142 |
* Sat Sep 11 2004 - [email protected] |
143 |
- Move Solaris specific LDFLAGS to the Solaris spec file |
|
144 |
||
3895
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
145 |
* Fri Sep 10 2004 - [email protected] |
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
146 |
- 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
|
147 |
|
3587
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
148 |
* Mon Aug 16 2004 - [email protected] |
09fcf8ea5e70
Bumped gok.spec version and added metacity patch for large strut values.
wh70179
parents:
3580
diff
changeset
|
149 |
- 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
|
150 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
151 |
* 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
|
152 |
- 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
|
153 |
|
3628 | 154 |
* Wed Jul 07 2004 - [email protected] |
155 |
- ported to rpm4 |
|
156 |
||
3263 | 157 |
* Wed Jul 07 2004 - [email protected] |
158 |
- added "-j $CPUS" to make to speed up builds |
|
159 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2729
diff
changeset
|
160 |
* 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
|
161 |
- 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
|
162 |
|
2729 | 163 |
* Wed May 12 2004 - [email protected] |
164 |
- Do aclocal, autoheader, autoconf and automake before doing a configure. |
|
165 |
||
2603 | 166 |
* Fri Apr 30 2004 - [email protected] |
167 |
- Added patch metacity-04-sunpowerswitch-key.diff to bind SunPowerSwitch |
|
168 |
key to gnome-sys-suspend for Solaris. |
|
169 |
||
2415 | 170 |
* Wed Apr 07 2004 - [email protected] |
171 |
- Updated to 2.8.0 |
|
172 |
||
2350 | 173 |
* Mon Mar 29 2004 - [email protected] |
174 |
- Updated l10n content to metacity-l10n-po-1.0.tar.bz2 |
|
175 |
||
1916 | 176 |
* Tue Feb 24 2004 - <[email protected]> 2.7.0-1 |
177 |
- Update to 2.7.0 |
|
178 |
||
1630 | 179 |
* Thu Feb 12 2004 - <[email protected]> |
180 |
- add "-p0" strip argument to patch commands |
|
181 |
||
1448 | 182 |
* Tue Dec 16 2003 - <[email protected]> 2.6.3-1 |
183 |
- Update to 2.6.3 |
|
184 |
||
1276 | 185 |
* Thu Oct 16 2003 - <[email protected]> 2.6.2-1 |
186 |
- Update to 2.6.2 |
|
187 |
||
1222 | 188 |
* Thu Oct 09 2003 - <[email protected]> 2.6.1-1 |
189 |
- Update to 2.6.1 |
|
190 |
- Remove panel keybindings patches - they're in 2.6.x |
|
191 |
||
918 | 192 |
* Fri Aug 01 2003 - <[email protected]> 2.4.55-1 |
193 |
- Update to 2.4.55 |
|
194 |
||
868 | 195 |
* Thu Jul 31 2003 - <[email protected]> 2.4.34-11 |
918 | 196 |
- Add patch to fix workspace names not retained after |
868 | 197 |
logging out. |
198 |
||
199 |
* Thu Jul 17 2003 - <[email protected]> |
|
631 | 200 |
- Combined the esc-ctrl patch with Mod4 (window) R key |
201 |
patch. |
|
202 |
||
868 | 203 |
* Thu Jul 10 2003 - <[email protected]> |
523 | 204 |
- Added .po tarball |
205 |
||
868 | 206 |
* Thu Jul 03 2003 - <[email protected]> |
423 | 207 |
- redo default window border theme patch |
208 |
||
868 | 209 |
* Wed Jul 02 2003 - <[email protected]> |
401 | 210 |
- add metacity-04-ctrl-escape.diff |
211 |
||
868 | 212 |
* Wed Jul 02 2003 - <[email protected]> |
399 | 213 |
- new version of metacity-01-panel-keybindings.diff |
214 |
||
868 | 215 |
* Fri May 30 2003 - <[email protected]> |
241 | 216 |
- Backport panel keybindings patches. |
217 |
||
868 | 218 |
* Tue May 13 2003 - <[email protected]> |
47 | 219 |
- initial release |