%global __provides_exclude_from ^%{_libdir}/gala/.*\\.so$ %global commit 985baa08bd2ad6fab5f3f702e12fdf298d5d41d9 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commitdate 20180607 Name: gala Summary: Gala window manager Version: 0.3.1 Release: 0.4.%{commitdate}.git%{shortcommit}%{?dist} License: GPLv3+ URL: https://github.com/elementary/%{name} Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz # Include a patch to set some default settings to better match fedora Patch0: 00-fedora-default-settings.patch BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: meson BuildRequires: vala BuildRequires: pkgconfig(clutter-1.0) >= 1.12.0 BuildRequires: pkgconfig(clutter-gtk-1.0) BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(glib-2.0) >= 2.44.0 BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(gnome-settings-daemon) >= 3.15.2 BuildRequires: pkgconfig(granite) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libbamf3) BuildRequires: pkgconfig(libcanberra) BuildRequires: pkgconfig(plank) >= 0.11.0 BuildRequires: mutter-devel >= 3.18.3 Requires: %{name}-libs%{?_isa} = %{version}-%{release} # gala provides a generic icon (apps/multitasking-view) Requires: hicolor-icon-theme # gala's multitasking view is activated via dbus Requires: dbus %description Gala is Pantheon's Window Manager, part of the elementary project. %package libs Summary: Gala window manager libraries %description libs Gala is Pantheon's Window Manager, part of the elementary project. This package contains the shared libraries. %package devel Summary: Gala window manager development files Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel Gala is Pantheon's Window Manager, part of the elementary project. This package contains the development headers. %prep %autosetup -n %{name}-%{commit} -p1 %build %meson %meson_build %install %meson_install %find_lang gala %check desktop-file-validate \ %{buildroot}/%{_datadir}/applications/gala*.desktop %files -f gala.lang %{_bindir}/gala %{_libdir}/gala/plugins/* %{_datadir}/applications/gala*.desktop %{_datadir}/gala/ %{_datadir}/glib-2.0/schemas/org.pantheon.desktop.gala.gschema.xml %{_datadir}/icons/hicolor/*/apps/multitasking-view.svg %files libs %doc AUTHORS %license COPYING %dir %{_libdir}/gala %dir %{_libdir}/gala/plugins %{_libdir}/libgala.so.0 %{_libdir}/libgala.so.0.0.0 %files devel %{_includedir}/gala/ %{_libdir}/libgala.so %{_libdir}/pkgconfig/gala.pc %{_datadir}/vala/vapi/gala.deps %{_datadir}/vala/vapi/gala.vapi %changelog * Wed Jun 13 2018 Fabio Valentini - 0.3.1-0.4.20180607.git985baa0 - Bump to commit 985baa0 and update default settings overrides. * Sun Jun 03 2018 Fabio Valentini - 0.3.1-0.3.20180603.git3661cbd - Bump to commit 3661cbd. * Tue May 01 2018 Fabio Valentini - 0.3.1-0.2.20180430.gitf02b776 - Bump to commit f02b776. * Sun Mar 18 2018 Fabio Valentini - 0.3.1-0.1.20180318.gita71e8c1 - Bump to version 0.3.1 snapshots, commit a71e8c1. - Remove obsolete ldconfig scriptlets. * Thu Mar 15 2018 Fabio Valentini - 0.3.0-2.20180314.git22f0d95 - Update to commit 22f0d95. * Mon Mar 12 2018 Fabio Valentini - 0.3.0-1.20180311.git6d3253a - Update to commit 6d3253a and switch to meson. * Thu Feb 15 2018 Fabio Valentini - 0.3.0-0.git146.22e1.1 - Update to latest snapshot (git 146-22e1). * Wed Feb 14 2018 Fabio Valentini - 0.3.0-0.git141.f90f.2 - Rebuild for libgnome-desktop soname bump. * Wed Feb 07 2018 Fedora Release Engineering - 0.3.0-0.git141.f90f.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 26 2018 Fabio Valentini - 0.3.0-0.git141.f90f.1 - Update to latest snapshot (git 141-f90f). * Tue Jan 23 2018 Fabio Valentini - 0.3.0-0.git140.d76c.1 - Update to latest snapshot (git 140-d76c). * Sat Jan 06 2018 Fabio Valentini - 0.3.0-0.git139.439f.3 - Remove icon cache scriptlets, replaced by file triggers. * Wed Dec 27 2017 Fabio Valentini - 0.3.0-0.git139.439f.2 - Add patch so window buttons match fedora's default layout. * Wed Dec 27 2017 Fabio Valentini - 0.3.0-0.git139.439f.1 - Update to latest snapshot (git 139-439f). * Tue Nov 21 2017 Fabio Valentini - 0.3.0-0.git138.a82b.1 - Update to latest snapshot (git 138-a82b). * Sat Nov 04 2017 Fabio Valentini - 0.3.0-0.git136.60ee.2 - Rebuild for granite soname bump. * Fri Oct 13 2017 Fabio Valentini - 0.3.0-0.git136.60ee.1 - Update to latest snapshot (git 136-60ee). * Thu Sep 21 2017 Fabio Valentini - 0.3.0-0.git126.4fe5.1 - Update to latest snapshot (git 126-4fe5). * Wed Aug 23 2017 Fabio Valentini - 0.3.0-0.git124.cd28.1 - Update to latest snapshot (git 124-cd28). * Sat Aug 05 2017 Fabio Valentini - 0.3.0-0.git120.87f5a.1 - Update to latest snapshot (git 120-87f5a). * Mon Jul 31 2017 Fabio Valentini - 0.3.0-0.git119.c7d5.1 - Update to latest snapshot (git 119-c7d5). * Wed Jul 26 2017 Fedora Release Engineering - 0.3.0-0.bzr567.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Feb 20 2017 Fabio Valentini - 0.3.0-0.bzr567.1 - Update to latest snapshot (rev 567). - De-remove other configurations, now the .desktop files are valid again. * Sat Feb 18 2017 Fabio Valentini - 0.3.0-0.bzr562.1 - Update to latest snapshot (rev 562). - Filter provides to exclude internal plugins. - Remove explicit pkgconfig BR. - Remove unsupported / broken configurations. - Fix build with mutter-3.24. * Fri Feb 10 2017 Fedora Release Engineering - 0.3.0-0.bzr552.4.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jan 23 2017 Fabio Valentini - 0.3.0-0.bzr552.4 - Make BR on /usr/bin/pkg-config explicit. * Sat Jan 07 2017 Fabio Valentini - 0.3.0-0.bzr552.3 - Put plugins and the plugin directory into the right respective subpackages. * Thu Jan 05 2017 Fabio Valentini - 0.3.0-0.bzr552.2 - Make sure no *.la files are in the packages. * Thu Jan 05 2017 Fabio Valentini - 0.3.0-0.bzr552.1 - Initial package.