Accepting request 158464 from GNOME:Next

Push GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/158464
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=113
This commit is contained in:
2013-03-13 22:45:59 +00:00
committed by Git OBS Bridge
parent e2cafc73ec
commit 62c2663898
4 changed files with 133 additions and 26 deletions

View File

@@ -17,13 +17,13 @@
Name: mutter
Version: 3.6.3
Version: 3.7.91
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.6/%{name}-%{version}.tar.xz
Source: http://download.gnome.org/sources/mutter/3.7/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: gobject-introspection-devel >= 0.9.5
BuildRequires: intltool
@@ -32,26 +32,24 @@ BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel
BuildRequires: startup-notification-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: zenity
BuildRequires: pkgconfig(cairo) >= 1.10.0
BuildRequires: pkgconfig(clutter-1.0) >= 1.9.10
BuildRequires: pkgconfig(cogl-1.0) >= 1.9.6
BuildRequires: pkgconfig(clutter-1.0) >= 1.13.5
BuildRequires: pkgconfig(cogl-1.0) >= 1.13.3
BuildRequires: pkgconfig(gio-2.0) >= 2.25.10
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.3.0
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.7.3
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.7
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: pkgconfig(pango) >= 1.2.0
BuildRequires: pkgconfig(xcomposite) >= 0.2
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xrender)
%if 0%{?BUILD_FROM_VCS}
BuildRequires: gnome-common
%endif
Requires: zenity
Recommends: %{name}-lang
Provides: windowmanager
@@ -118,25 +116,20 @@ Requires: typelib-1_0-Meta-3_0 = %{version}
This package contains all necessary include files and libraries needed
to develop applications that require these.
%lang_package
%prep
%setup -q
translation-update-upstream
%if 0%{?BUILD_FROM_VCS}
[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
%endif
%build
%configure \
--disable-static \
--disable-static \
--enable-compile-warnings=maximum
%__make %{?jobs:-j%jobs} V=1
make %{?_smp_mflags} V=1
%install
%makeinstall
%{__rm} %{buildroot}/%{_libdir}/*.la
%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}
@@ -148,16 +141,16 @@ rm -rf %{buildroot}
%post
%desktop_database_post
%post -n libmutter0 -p /sbin/ldconfig
%post data
%glib2_gsettings_schema_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
@@ -192,6 +185,8 @@ rm -rf %{buildroot}
%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