Репозиторий Sisyphus
Последнее обновление: 16 июля 2018 | Пакетов: 18595 | Посещений: 11881481
en ru br
Репозитории ALT
5.1: 2.28.0-alt1

Группа :: Графические оболочки/GNOME
Пакет: mutter

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# since 3.21.90 (libmutter-clutter-1.0.so private library)
%set_verify_elf_method unresolved=relaxed

%def_disable snapshot

%define ver_major 3.28
%define xdg_name org.gnome.mutter
%define _libexecdir %_prefix/libexec
%def_enable privatelib
%def_enable remote_desktop
%def_disable egl_device
%define api_ver 2

Name: mutter
Version: %ver_major.2
Release: alt1
Epoch: 1

Summary: Clutter based compositing GTK3 Window Manager
Group: Graphical desktop/GNOME
License: GPLv2+
Url: http://ftp.gnome.org/pub/gnome/sources/%name

%if_disabled snapshot
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz
Source: %name-%version.tar

%set_typelibdir %_libdir/%name
%set_girdir %_libdir/%name

# since 3.22 mutter forks Cogl and Clutter libraries into own private libraries

#%%filter_from_provides /[typelib\|gir]([Cally\|Clutter\|Cogl].*/d
#%%filter_from_requires /[typelib\|gir]([Cally\|Clutter\|Cogl].*/d


%define gtk_ver 3.20.0
%define gi_ver 0.9.5
%define glib_ver 2.56.0
%define pango_ver 1.2.0
%define cairo_ver 1.10.0
%define Xi_ver 1.6.0
%define wayland_ver 1.13.0
%define wayland_protocols_ver 1.7
%define upower_ver 0.99.0
%define libinput_ver 0.99.0
%define gsds_ver 3.21.4
%define gudev_ver 232
%define pipewire_ver 0.1.8

Requires: lib%name = %EVR
Requires: zenity
%{?_enable_remote_desktop:Requires: pipewire >= %pipewire_ver}

BuildPreReq: rpm-build-gnome gnome-common
BuildRequires: gobject-introspection-devel >= %gi_ver
BuildRequires: libgtk+3-devel >= %gtk_ver
BuildRequires: libgio-devel >= %glib_ver
BuildRequires: libpango-devel >= %pango_ver
BuildRequires: libcairo-devel >= %cairo_ver
BuildRequires: gsettings-desktop-schemas-devel >= %gsds_ver
BuildRequires: libXcomposite-devel libXfixes-devel libXrender-devel
BuildRequires: libXdamage-devel libXtst-devel libXi-devel >= %Xi_ver
BuildRequires: libXcursor-devel libX11-devel libXinerama-devel libXext-devel libXrandr-devel libSM-devel libICE-devel
BuildRequires: libxcb-devel
BuildRequires: libwayland-server-devel >= %wayland_ver wayland-protocols >= %wayland_protocols_ver
BuildRequires: libgdk-pixbuf-devel libgbm-devel
BuildRequires: libstartup-notification-devel zenity libcanberra-gtk3-devel
BuildRequires: libclutter-gir-devel libpango-gir-devel libgtk+3-gir-devel gsettings-desktop-schemas-gir-devel
BuildRequires: libgnome-desktop3-devel libupower-devel >= %upower_ver
BuildRequires: libxkbcommon-x11-devel libinput-devel >= %libinput_ver libxkbfile-devel xkeyboard-config-devel
BuildRequires: libwacom-devel
%{?_enable_remote_desktop:BuildRequires: pipewire-libs-devel >= %pipewire_ver}
# for mutter native backend
BuildRequires: libdrm-devel libsystemd-devel libgudev-devel >= %gudev_ver
BuildRequires: libGL-devel libGLES-devel

mutter is a minimal X window manager aimed at nontechnical users and is
designed  to  integrate well with the GNOME desktop.  mutter lacks some
features that may be expected by traditional UNIX  or  other  technical
users;  these users may want to investigate other available window man-
agers for use with GNOME or standalone.

%package -n lib%name
Summary: Shared library for Mutter
Group: System/Libraries

%description -n lib%name
This package contains shared library needed to run Mutter.

%package -n lib%name-devel
Summary: Development files for lib%name
Group: Development/C
Requires: lib%name = %EVR

%description -n lib%name-devel
This package contains headers and development libraries for lib%name

%package -n lib%name-gir
Summary: GObject introspection data for the Mutter library
Group: System/Libraries
Requires: lib%name = %EVR

%description -n lib%name-gir
GObject introspection data for the Mutter library

%package -n lib%name-gir-devel
Summary: GObject introspection devel data for the Mutter library
Group: System/Libraries
Requires: lib%name-devel = %EVR
Requires: lib%name-gir = %EVR

%description -n lib%name-gir-devel
GObject introspection devel data for the Mutter library.

%package gnome
Summary: GNOME-specific parts of Mutter
Group: Graphical desktop/GNOME
BuildArch: noarch
Provides: gnome-wm
Requires: %name = %EVR

%description gnome
This package contains everything necessary to use Mutter in GNOME desktop

[ ! -d m4 ] && mkdir m4

%add_optflags -D_FILE_OFFSET_BITS=64
export ac_cv_path_CVT=%_bindir/cvt
DATADIRNAME=share %configure \
--enable-introspection \
--disable-static \
--disable-schemas-compile \
--enable-compile-warnings=maximum \
%{?_enable_remote_desktop:--enable-remote-desktop} \


%find_lang --with-gnome %name creating-%name-themes

%files -f %name.lang
%dir %_libdir/%name
%exclude %_libdir/%name/*.la
%dir %_libdir/%name/plugins
%doc NEWS

%if_enabled privatelib
%files -n lib%name

%files -n lib%name-devel
#%doc doc/*.txt HACKING

%files -n lib%name-gir

%files -n lib%name-gir-devel

%files gnome


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin