Blob Blame History Raw
Name:           cerbere
Summary:        Pantheon session watchdog
Version:        0.2.2
Release:        8%{?dist}
License:        GPLv2
URL:            https://launchpad.net/cerbere

Source0:        https://launchpad.net/%{name}/0.x/%{version}/+download/%{name}-%{version}.tar.xz

BuildRequires:  /usr/bin/pkg-config

BuildRequires:  cmake
BuildRequires:  desktop-file-utils
BuildRequires:  gettext
BuildRequires:  vala >= 0.16
BuildRequires:  vala-tools

BuildRequires:  pkgconfig(gee-0.8)
BuildRequires:  pkgconfig(glib-2.0) >= 2.32.0

Recommends:     gala
Recommends:     plank
Recommends:     wingpanel


%description
Cerbere is a sort of watchdog designed for Pantheon. It monitors a
predefined list of processes (configurable through dconf) and relaunches
them if they end. This is helpful to keep the panel, dock, and wallpaper
running, even if they crash or are killed by another process.

Designed for elementary OS.


%prep
%autosetup


%build
mkdir build && pushd build
%cmake ..
%make_build
popd


%install
pushd build
%make_install
popd


%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/cerbere.desktop


%files
%{_bindir}/cerbere

%{_datadir}/applications/cerbere.desktop
%{_datadir}/glib-2.0/schemas/org.pantheon.cerbere.gschema.xml


%changelog
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Mon Jan 23 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-7
- Make BR on /usr/bin/pkg-config explicit.

* Fri Jan 20 2017 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-6
- Clean up spec file.

* Thu Sep 29 2016 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-5
- Mass rebuild.

* Wed Sep 28 2016 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-4
- Spec file cleanups.

* Tue Sep 27 2016 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-3
- Validate .desktop file.

* Mon Sep 19 2016 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-2
- Spec file cosmetics.

* Fri Aug 19 2016 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-1
- Update to version 0.2.2.