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