author | woos |
Mon, 28 Jun 2004 02:49:14 +0000 | |
changeset 3224 | 8ca3f4526524 |
parent 3120 | cb346324f8c9 |
child 3263 | 3c14210c0b99 |
permissions | -rw-r--r-- |
47 | 1 |
Name: metacity |
2 |
License: GPL |
|
3 |
Group: System/GUI/GNOME |
|
2415 | 4 |
Version: 2.8.0 |
3224 | 5 |
Release: 14 |
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 |
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2729
diff
changeset
|
10 |
Source1: metacity-l10n-po-1.1.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 |
|
2729 | 47 |
libtoolize --force |
48 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
49 |
autoheader |
|
50 |
automake -a -c -f |
|
51 |
autoconf |
|
52 |
||
226 | 53 |
CFLAGS="$RPM_OPT_FLAGS" \ |
54 |
./configure --prefix=%{_prefix} \ |
|
55 |
--mandir=%{_mandir} \ |
|
1700 | 56 |
--libexecdir=%{_libexecdir} \ |
226 | 57 |
--sysconfdir=%{_sysconfdir} |
47 | 58 |
make |
59 |
||
60 |
%install |
|
61 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
226 | 62 |
make DESTDIR=$RPM_BUILD_ROOT install |
47 | 63 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 64 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
65 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
66 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
1448 | 67 |
#Copy zh_HK from zh_TW |
68 |
#Fixes bug 4930405 |
|
1522 | 69 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
70 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1448 | 71 |
|
47 | 72 |
%post |
226 | 73 |
/sbin/ldconfig |
47 | 74 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
75 |
SCHEMAS="metacity.schemas" |
|
76 |
for S in $SCHEMAS; do |
|
77 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
78 |
done |
|
79 |
||
226 | 80 |
%postun |
81 |
/sbin/ldconfig |
|
47 | 82 |
|
83 |
%clean |
|
84 |
rm -rf $RPM_BUILD_ROOT |
|
85 |
||
86 |
%files |
|
87 |
%defattr (-, root, root) |
|
226 | 88 |
%{_bindir}/* |
89 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
47 | 90 |
%{_sysconfdir}/gconf/schemas/metacity.schemas |
226 | 91 |
%{_libexecdir}/* |
92 |
%{_libdir}/*.so* |
|
93 |
%{_libdir}/pkgconfig/*.pc |
|
94 |
%{_includedir}/metacity-1/metacity-private |
|
95 |
%{_datadir}/gnome/wm-properties/metacity.desktop |
|
96 |
%{_datadir}/metacity |
|
97 |
%{_datadir}/pixmaps/metacity-properties.png |
|
98 |
%{_datadir}/themes/*/metacity-1/* |
|
1448 | 99 |
%{_mandir}/man1/* |
47 | 100 |
|
226 | 101 |
%changelog |
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2729
diff
changeset
|
102 |
* 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
|
103 |
- 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
|
104 |
|
2729 | 105 |
* Wed May 12 2004 - [email protected] |
106 |
- Do aclocal, autoheader, autoconf and automake before doing a configure. |
|
107 |
||
2603 | 108 |
* Fri Apr 30 2004 - [email protected] |
109 |
- Added patch metacity-04-sunpowerswitch-key.diff to bind SunPowerSwitch |
|
110 |
key to gnome-sys-suspend for Solaris. |
|
111 |
||
2415 | 112 |
* Wed Apr 07 2004 - [email protected] |
113 |
- Updated to 2.8.0 |
|
114 |
||
2350 | 115 |
* Mon Mar 29 2004 - [email protected] |
116 |
- Updated l10n content to metacity-l10n-po-1.0.tar.bz2 |
|
117 |
||
1916 | 118 |
* Tue Feb 24 2004 - <[email protected]> 2.7.0-1 |
119 |
- Update to 2.7.0 |
|
120 |
||
1630 | 121 |
* Thu Feb 12 2004 - <[email protected]> |
122 |
- add "-p0" strip argument to patch commands |
|
123 |
||
1448 | 124 |
* Tue Dec 16 2003 - <[email protected]> 2.6.3-1 |
125 |
- Update to 2.6.3 |
|
126 |
||
1276 | 127 |
* Thu Oct 16 2003 - <[email protected]> 2.6.2-1 |
128 |
- Update to 2.6.2 |
|
129 |
||
1222 | 130 |
* Thu Oct 09 2003 - <[email protected]> 2.6.1-1 |
131 |
- Update to 2.6.1 |
|
132 |
- Remove panel keybindings patches - they're in 2.6.x |
|
133 |
||
918 | 134 |
* Fri Aug 01 2003 - <[email protected]> 2.4.55-1 |
135 |
- Update to 2.4.55 |
|
136 |
||
868 | 137 |
* Thu Jul 31 2003 - <[email protected]> 2.4.34-11 |
918 | 138 |
- Add patch to fix workspace names not retained after |
868 | 139 |
logging out. |
140 |
||
141 |
* Thu Jul 17 2003 - <[email protected]> |
|
631 | 142 |
- Combined the esc-ctrl patch with Mod4 (window) R key |
143 |
patch. |
|
144 |
||
868 | 145 |
* Thu Jul 10 2003 - <[email protected]> |
523 | 146 |
- Added .po tarball |
147 |
||
868 | 148 |
* Thu Jul 03 2003 - <[email protected]> |
423 | 149 |
- redo default window border theme patch |
150 |
||
868 | 151 |
* Wed Jul 02 2003 - <[email protected]> |
401 | 152 |
- add metacity-04-ctrl-escape.diff |
153 |
||
868 | 154 |
* Wed Jul 02 2003 - <[email protected]> |
399 | 155 |
- new version of metacity-01-panel-keybindings.diff |
156 |
||
868 | 157 |
* Fri May 30 2003 - <[email protected]> |
241 | 158 |
- Backport panel keybindings patches. |
159 |
||
868 | 160 |
* Tue May 13 2003 - <[email protected]> |
47 | 161 |
- initial release |