forked from pool/mutter
Accepting request 132775 from GNOME:Next
Starting to push GNOME:Next... OBS-URL: https://build.opensuse.org/request/show/132775 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=98
This commit is contained in:
committed by
Git OBS Bridge
parent
5c20421cdb
commit
f7ce7b7e8c
37
mutter.spec
37
mutter.spec
@@ -17,21 +17,14 @@
|
||||
|
||||
|
||||
Name: mutter
|
||||
Version: 3.4.1
|
||||
Version: 3.5.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.4/%{name}-%{version}.tar.xz
|
||||
# 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
|
||||
# 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
|
||||
Source: http://download.gnome.org/sources/mutter/3.5/%{name}-%{version}.tar.xz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gnome-doc-utils-devel
|
||||
BuildRequires: gobject-introspection-devel >= 0.9.5
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libSM-devel
|
||||
@@ -69,6 +62,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
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
|
||||
|
||||
%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 tools
|
||||
Summary: Window and compositing manager based on Clutter -- Tools
|
||||
Group: System/GUI/GNOME
|
||||
@@ -84,7 +87,7 @@ test themes and a small application to test window managers.
|
||||
%package devel
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: %{name} = %{version}
|
||||
Requires: libmutter0 = %{version}
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
@@ -94,9 +97,6 @@ to develop applications that require these.
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
translation-update-upstream
|
||||
|
||||
%if 0%{?BUILD_FROM_VCS}
|
||||
@@ -121,21 +121,22 @@ translation-update-upstream
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%desktop_database_post
|
||||
%glib2_gsettings_schema_post
|
||||
|
||||
%post -n libmutter0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%desktop_database_postun
|
||||
%glib2_gsettings_schema_postun
|
||||
|
||||
%postun -n libmutter0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr (-, root, root)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS rationales.txt README
|
||||
%{_bindir}/mutter
|
||||
%{_bindir}/mutter-message
|
||||
%{_libdir}/libmutter.so.*
|
||||
%{_libdir}/mutter/
|
||||
%exclude %{_libdir}/mutter/Meta-3.0.gir
|
||||
%{_datadir}/applications/mutter.desktop
|
||||
@@ -152,6 +153,10 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/GConf/gsettings/mutter-schemas.convert
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
|
||||
|
||||
%files -n libmutter0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libmutter.so.*
|
||||
|
||||
%files tools
|
||||
%defattr (-, root, root)
|
||||
%{_bindir}/mutter-theme-viewer
|
||||
|
Reference in New Issue
Block a user