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