2009-08-01 13:11:59 +02:00
|
|
|
#
|
2011-01-15 03:01:20 +01:00
|
|
|
# spec file for package mutter
|
2009-08-01 13:11:59 +02:00
|
|
|
#
|
2012-01-05 10:32:28 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-08-01 13:11:59 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-08 20:55:25 +01:00
|
|
|
|
2009-08-01 13:11:59 +02:00
|
|
|
Name: mutter
|
2012-04-18 17:08:09 +02:00
|
|
|
Version: 3.4.1
|
2012-01-18 18:02:17 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Window and compositing manager based on Clutter
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Url: http://www.gnome.org
|
2012-03-28 08:07:32 +02:00
|
|
|
Source: http://download.gnome.org/sources/mutter/3.4/%{name}-%{version}.tar.xz
|
2012-05-06 12:56:36 +02:00
|
|
|
# PATCH-FIX-UPSTREAM mutter-fix-crash-when-frame-is-NULL.patch bgo#675254 zaitor@opensuse.org -- fixes crashes in extensions.
|
|
|
|
Patch0: mutter-fix-crash-when-frame-is-NULL.patch
|
2012-06-04 19:35:41 +02:00
|
|
|
# PATCH-FIX-UPSTREAM mutter-never-slice-shape-mask.patch bgo#674731 rh#813648 fcrozat@suse.com -- Fix window texturing on hardware without ARB_texture_non_power_of_two
|
|
|
|
Patch1: mutter-never-slice-shape-mask.patch
|
|
|
|
# PATCH-FIX-UPSTREAM mutter-use-cogl-texrect-api.patch bgo#672711 rh#813648 fcrozat@suse.com -- Fix window texturing on hardware without ARB_texture_non_power_of_two
|
|
|
|
Patch2: mutter-use-cogl-texrect-api.patch
|
2009-08-01 13:11:59 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
2012-02-25 15:39:19 +01:00
|
|
|
BuildRequires: gobject-introspection-devel >= 0.9.5
|
2009-08-01 13:11:59 +02:00
|
|
|
BuildRequires: intltool
|
2012-02-20 23:09:45 +01:00
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXinerama-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
2009-08-01 13:11:59 +02:00
|
|
|
BuildRequires: startup-notification-devel
|
2011-02-16 08:53:03 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2009-08-01 13:11:59 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: zenity
|
2012-02-25 15:39:19 +01:00
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.10.0
|
|
|
|
BuildRequires: pkgconfig(clutter-1.0) >= 1.9.10
|
|
|
|
BuildRequires: pkgconfig(cogl-1.0) >= 1.9.6
|
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.25.10
|
2011-11-28 09:20:11 +01:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.3.0
|
2012-02-25 15:39:19 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.7
|
2011-04-22 11:28:00 +02:00
|
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
2012-02-25 15:39:19 +01:00
|
|
|
BuildRequires: pkgconfig(pango) >= 1.2.0
|
2012-02-20 23:09:45 +01:00
|
|
|
BuildRequires: pkgconfig(xcomposite) >= 0.2
|
|
|
|
BuildRequires: pkgconfig(xcursor)
|
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
2011-02-13 23:26:31 +01:00
|
|
|
%if 0%{?BUILD_FROM_VCS}
|
|
|
|
BuildRequires: gnome-common
|
|
|
|
%endif
|
2009-08-01 13:11:59 +02:00
|
|
|
Requires: zenity
|
2011-02-13 23:30:22 +01:00
|
|
|
Recommends: %{name}-lang
|
2009-08-01 13:11:59 +02:00
|
|
|
Provides: windowmanager
|
2012-01-18 18:02:17 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-11-28 09:20:11 +01:00
|
|
|
%glib2_gsettings_schema_requires
|
2009-08-01 13:11:59 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Mutter is a window and compositing manager based on Clutter, forked
|
|
|
|
from Metacity.
|
|
|
|
|
2012-02-08 20:55:25 +01:00
|
|
|
%package tools
|
|
|
|
Summary: Window and compositing manager based on Clutter -- Tools
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
Mutter is a window and compositing manager based on Clutter, forked
|
|
|
|
from Metacity.
|
|
|
|
|
|
|
|
This package contains tools related to mutter, including an utility to
|
|
|
|
test themes and a small application to test window managers.
|
|
|
|
|
2009-08-01 13:11:59 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-05-06 12:56:36 +02:00
|
|
|
%patch0 -p1
|
2012-06-04 19:35:41 +02:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2011-02-16 08:53:03 +01:00
|
|
|
translation-update-upstream
|
2009-08-01 13:11:59 +02:00
|
|
|
|
2011-02-13 23:26:31 +01:00
|
|
|
%if 0%{?BUILD_FROM_VCS}
|
|
|
|
[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
|
|
|
|
%endif
|
|
|
|
|
2009-08-01 13:11:59 +02:00
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
2011-12-12 12:48:43 +01:00
|
|
|
--enable-compile-warnings=maximum
|
2011-04-22 11:28:00 +02:00
|
|
|
%__make %{?jobs:-j%jobs} V=1
|
2009-08-01 13:11:59 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
%{__rm} %{buildroot}/%{_libdir}/*.la
|
|
|
|
%suse_update_desktop_file %{name}
|
2011-07-01 11:52:41 +02:00
|
|
|
%suse_update_desktop_file %{buildroot}%{_datadir}/gnome/wm-properties/mutter-wm.desktop
|
2011-02-13 23:30:22 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2009-08-01 13:11:59 +02:00
|
|
|
%fdupes %{buildroot}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2011-02-13 23:30:22 +01:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%desktop_database_post
|
2011-11-28 09:20:11 +01:00
|
|
|
%glib2_gsettings_schema_post
|
2009-08-01 13:11:59 +02:00
|
|
|
|
2011-02-13 23:30:22 +01:00
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
%desktop_database_postun
|
2011-11-28 09:20:11 +01:00
|
|
|
%glib2_gsettings_schema_postun
|
2009-08-01 13:11:59 +02:00
|
|
|
|
2011-11-28 09:20:11 +01:00
|
|
|
%files
|
2009-08-01 13:11:59 +02:00
|
|
|
%defattr (-, root, root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS rationales.txt README
|
2012-02-08 20:55:25 +01:00
|
|
|
%{_bindir}/mutter
|
|
|
|
%{_bindir}/mutter-message
|
|
|
|
%{_libdir}/libmutter.so.*
|
2011-01-07 23:52:33 +01:00
|
|
|
%{_libdir}/mutter/
|
2011-07-02 12:31:04 +02:00
|
|
|
%exclude %{_libdir}/mutter/Meta-3.0.gir
|
2009-08-01 13:11:59 +02:00
|
|
|
%{_datadir}/applications/mutter.desktop
|
|
|
|
# Do not depend on libgnome just for a directory
|
|
|
|
%dir %{_datadir}/gnome
|
|
|
|
%dir %{_datadir}/gnome/wm-properties
|
|
|
|
%{_datadir}/gnome/wm-properties/mutter-wm.desktop
|
2012-01-05 10:32:28 +01:00
|
|
|
# Do not depend on g-c-c just for a directory
|
|
|
|
%dir %{_datadir}/gnome-control-center
|
|
|
|
%dir %{_datadir}/gnome-control-center/keybindings
|
|
|
|
%{_datadir}/gnome-control-center/keybindings/50-mutter-windows.xml
|
2012-02-08 20:55:25 +01:00
|
|
|
%doc %{_mandir}/man1/mutter.1%{?ext_man}
|
|
|
|
%doc %{_mandir}/man1/mutter-message.1%{?ext_man}
|
2011-11-28 09:20:11 +01:00
|
|
|
%{_datadir}/GConf/gsettings/mutter-schemas.convert
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
|
2009-08-01 13:11:59 +02:00
|
|
|
|
2012-02-08 20:55:25 +01:00
|
|
|
%files tools
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_bindir}/mutter-theme-viewer
|
|
|
|
%{_bindir}/mutter-window-demo
|
|
|
|
%dir %{_datadir}/mutter
|
|
|
|
%dir %{_datadir}/mutter/icons
|
|
|
|
%{_datadir}/mutter/icons/mutter-window-demo.png
|
|
|
|
%doc %{_mandir}/man1/mutter-theme-viewer.1%{?ext_man}
|
|
|
|
%doc %{_mandir}/man1/mutter-window-demo.1%{?ext_man}
|
|
|
|
|
2009-08-01 13:11:59 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
2011-01-07 23:52:33 +01:00
|
|
|
%{_includedir}/mutter/
|
2009-08-01 13:11:59 +02:00
|
|
|
%{_libdir}/*.so
|
2011-07-02 12:31:04 +02:00
|
|
|
%{_libdir}/mutter/Meta-3.0.gir
|
2009-08-01 13:11:59 +02:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|