metacity.spec
author markmc
Fri, 30 May 2003 13:06:40 +0000
changeset 237 1a3716a514e3
parent 226 9fb26844a575
child 241 3b17e5eeccd9
permissions -rw-r--r--
2003-05-29 Mark McLoughlin <[email protected]> * metacity.spec: add new patches. * patches/metacity-01-panel-keybindings.diff, patches/metacity-02-panel-keybindings.diff, patches/metacity-03-default-theme.diff: add patches required by gnome-panel-2.3.x and add patch to change the default theme.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
     1
Name:         metacity
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
     2
License:      GPL
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
     3
Group:        System/GUI/GNOME
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
     4
Version:      2.4.34
237
1a3716a514e3 2003-05-29 Mark McLoughlin <[email protected]>
markmc
parents: 226
diff changeset
     5
Release:      2
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
     6
Distribution: Mercury
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
     7
Vendor:       Sun Microsystems Inc.
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
     8
Summary:      GNOME Window Manager
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
     9
Source:       http://ftp.gnome.org/pub/GNOME/sources/metacity/2.4/metacity-%{version}.tar.bz2
237
1a3716a514e3 2003-05-29 Mark McLoughlin <[email protected]>
markmc
parents: 226
diff changeset
    10
Patch0:       metacity-01-panel-keybindings.diff
1a3716a514e3 2003-05-29 Mark McLoughlin <[email protected]>
markmc
parents: 226
diff changeset
    11
Patch1:       metacity-02-panel-keybindings.diff
1a3716a514e3 2003-05-29 Mark McLoughlin <[email protected]>
markmc
parents: 226
diff changeset
    12
Patch2:       metacity-03-default-theme.diff
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    13
URL:          http://www.gnome.org
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    14
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    15
Docdir:       %{_defaultdocdir}/doc
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    16
Autoreqprov:  on
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    17
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    18
%define intltool_version 0.25
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    19
%define GConf_version 2.2.0
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    20
%define pkgconfig_version 0.15.0
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    21
%define libglade_version 2.0.1
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    22
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    23
Requires: GConf >= %{GConf_version}
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    24
Requires: libglade >= %{libglade_version}
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    25
BuildRequires: intltool >= %{intltool_version}
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    26
BuildRequires: pkgconfig >= %{pkgconfig_version}
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    27
BuildRequires: GConf >= %{GConf_version}
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    28
BuildRequires: libglade >= %{libglade_version}
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    29
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    30
%description
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    31
Metacity is the window manager for the GNOME Desktop.
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    32
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    33
%prep
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    34
%setup
125
3e1b209ab0ad 2003-05-15 Glynn Foster <[email protected]>
gman
parents: 47
diff changeset
    35
%patch0
237
1a3716a514e3 2003-05-29 Mark McLoughlin <[email protected]>
markmc
parents: 226
diff changeset
    36
%patch1
1a3716a514e3 2003-05-29 Mark McLoughlin <[email protected]>
markmc
parents: 226
diff changeset
    37
%patch2
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    38
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    39
%build
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    40
CFLAGS="$RPM_OPT_FLAGS"			\
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    41
./configure --prefix=%{_prefix}		\
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    42
	    --mandir=%{_mandir}		\
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    43
	    --sysconfdir=%{_sysconfdir}
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    44
make 
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    45
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    46
%install
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    47
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    48
make DESTDIR=$RPM_BUILD_ROOT install
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    49
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    50
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    51
%post
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    52
/sbin/ldconfig
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    53
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    54
SCHEMAS="metacity.schemas"
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    55
for S in $SCHEMAS; do
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    56
	gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    57
done
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    58
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    59
%postun
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    60
/sbin/ldconfig
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    61
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    62
%clean
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    63
rm -rf $RPM_BUILD_ROOT
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    64
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    65
%files
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    66
%defattr (-, root, root)
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    67
%{_bindir}/*
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    68
%{_datadir}/locale/*/LC_MESSAGES/*.mo
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    69
%{_sysconfdir}/gconf/schemas/metacity.schemas
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    70
%{_libexecdir}/*
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    71
%{_libdir}/*.so*
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    72
%{_libdir}/pkgconfig/*.pc
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    73
%{_includedir}/metacity-1/metacity-private
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    74
%{_datadir}/gnome/wm-properties/metacity.desktop
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    75
%{_datadir}/metacity
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    76
%{_datadir}/pixmaps/metacity-properties.png
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    77
%{_datadir}/themes/*/metacity-1/*
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    78
226
9fb26844a575 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 125
diff changeset
    79
%changelog
47
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    80
* Tue May 13 2003 - [email protected]
73a0f4237093 new file metacity.spec
stephen
parents:
diff changeset
    81
- initial release