2ae16bd0a6
Update to 3.12.1 OBS-URL: https://build.opensuse.org/request/show/230286 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=149
206 lines
6.2 KiB
RPMSpec
206 lines
6.2 KiB
RPMSpec
#
|
|
# spec file for package mutter
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: mutter
|
|
Version: 3.12.1
|
|
Release: 0
|
|
Summary: Window and compositing manager based on Clutter
|
|
License: GPL-2.0+
|
|
Group: System/GUI/GNOME
|
|
Url: http://www.gnome.org
|
|
Source: http://download.gnome.org/sources/mutter/3.12/%{name}-%{version}.tar.xz
|
|
BuildRequires: fdupes
|
|
BuildRequires: gobject-introspection-devel >= 0.9.5
|
|
BuildRequires: intltool
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXinerama-devel
|
|
BuildRequires: libXrandr-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: zenity
|
|
BuildRequires: pkgconfig(cairo) >= 1.10.0
|
|
BuildRequires: pkgconfig(clutter-1.0) >= 1.15.90
|
|
BuildRequires: pkgconfig(cogl-1.0) >= 1.17.1
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.25.10
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.7.3
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.11
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
|
BuildRequires: pkgconfig(pango) >= 1.2.0
|
|
BuildRequires: pkgconfig(upower-glib) >= 0.99.0
|
|
BuildRequires: pkgconfig(xcomposite) >= 0.2
|
|
BuildRequires: pkgconfig(xcursor)
|
|
BuildRequires: pkgconfig(xdamage)
|
|
BuildRequires: pkgconfig(xfixes)
|
|
BuildRequires: pkgconfig(xi)
|
|
BuildRequires: pkgconfig(xrender)
|
|
Requires: zenity
|
|
Recommends: %{name}-lang
|
|
Provides: windowmanager
|
|
# mutter 3.9.90 dropped old, unused tools. Likely, nobody has them installed anyway
|
|
Obsoletes: %{name}-tools < %{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Mutter is a window and compositing manager based on Clutter, forked
|
|
from Metacity.
|
|
|
|
%package -n libmutter0
|
|
Summary: Window and compositing manager based on Clutter -- Library
|
|
Group: System/Libraries
|
|
# we need the gsettings schema; hopefully, they'll stay backwards compatible
|
|
# (since we can't require = version, to not break SLPP)
|
|
Requires: %{name}-data >= %{version}
|
|
|
|
%description -n libmutter0
|
|
Mutter is a window and compositing manager based on Clutter, forked
|
|
from Metacity.
|
|
|
|
This package contains a library for shared features.
|
|
|
|
%package -n typelib-1_0-Meta-3_0
|
|
Summary: Window and compositing manager based on Clutter -- Introspection bindings
|
|
Group: System/Libraries
|
|
|
|
%description -n typelib-1_0-Meta-3_0
|
|
Mutter is a window and compositing manager based on Clutter, forked
|
|
from Metacity.
|
|
|
|
This package provides the GObject Introspection bindings for libmutter.
|
|
|
|
%package data
|
|
Summary: Window and compositing manager based on Clutter -- Data Files
|
|
Group: System/GUI/GNOME
|
|
Requires: %{name} = %{version}
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description data
|
|
Mutter is a window and compositing manager based on Clutter, forked
|
|
from Metacity.
|
|
|
|
This package contains data files needed by mutter and its library.
|
|
|
|
%package devel
|
|
Summary: Include Files and Libraries mandatory for Development
|
|
Group: Development/Libraries/GNOME
|
|
Requires: libmutter0 = %{version}
|
|
Requires: typelib-1_0-Meta-3_0 = %{version}
|
|
|
|
%description devel
|
|
This package contains all necessary include files and libraries needed
|
|
to develop applications that require these.
|
|
|
|
%package devel-doc
|
|
Summary: API Documentation of mutter
|
|
Group: Development/Libraries/GNOME
|
|
|
|
%description devel-doc
|
|
This package contains all necessary include files and libraries needed
|
|
to develop applications that require these.
|
|
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%configure \
|
|
--disable-static \
|
|
--enable-compile-warnings=maximum
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
|
%suse_update_desktop_file %{name}
|
|
%suse_update_desktop_file %{buildroot}%{_datadir}/gnome/wm-properties/mutter-wm.desktop
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%fdupes %{buildroot}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post
|
|
%desktop_database_post
|
|
|
|
%postun
|
|
%desktop_database_postun
|
|
|
|
%post -n libmutter0 -p /sbin/ldconfig
|
|
|
|
%postun -n libmutter0 -p /sbin/ldconfig
|
|
|
|
%post data
|
|
%glib2_gsettings_schema_post
|
|
|
|
%postun data
|
|
%glib2_gsettings_schema_postun
|
|
|
|
%files
|
|
%defattr (-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS rationales.txt README
|
|
%{_bindir}/mutter
|
|
%{_libdir}/mutter/plugins/default.so
|
|
%{_datadir}/applications/mutter.desktop
|
|
%doc %{_mandir}/man1/mutter.1%{?ext_man}
|
|
|
|
%files -n libmutter0
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libmutter.so.*
|
|
%dir %{_libdir}/mutter/
|
|
# users of libmutter need this directory
|
|
%dir %{_libdir}/mutter/plugins/
|
|
|
|
%files -n typelib-1_0-Meta-3_0
|
|
%defattr(-,root,root)
|
|
%{_libdir}/mutter/Meta-3.0.typelib
|
|
|
|
%files data
|
|
%defattr(-,root,root)
|
|
# Do not depend on libgnome just for a directory
|
|
%dir %{_datadir}/gnome
|
|
%dir %{_datadir}/gnome/wm-properties
|
|
%{_datadir}/gnome/wm-properties/mutter-wm.desktop
|
|
# 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
|
|
%{_datadir}/gnome-control-center/keybindings/50-mutter-navigation.xml
|
|
%{_datadir}/gnome-control-center/keybindings/50-mutter-system.xml
|
|
%{_datadir}/GConf/gsettings/mutter-schemas.convert
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%files devel
|
|
%{_includedir}/mutter/
|
|
%{_libdir}/libmutter.so
|
|
%{_libdir}/mutter/Meta-3.0.gir
|
|
%{_libdir}/pkgconfig/libmutter.pc
|
|
%{_libdir}/pkgconfig/mutter-plugins.pc
|
|
|
|
%files devel-doc
|
|
%defattr (-, root, root)
|
|
%doc %{_datadir}/gtk-doc/html/meta/
|
|
|
|
%changelog
|