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