Blob Blame Raw
Name:       mako
Version:    1.2
Release:    2%{?dist}
Summary:    Lightweight Wayland notification daemon
Provides:   desktop-notification-daemon

License:    MIT
Source0:    %{url}/archive/v%{version}.tar.gz
# Add dbus-activated systemd unit as required by the packaging guidelines. To
# be upstreamed as discussed in RHBZ#1689634.
Source1:    %{name}.service
Source2:    fr.emersion.Mako.service
# Disable werror compiler flag breaking compilation with warning_level > 2,
# which is implied by Fedora's default compiler flags. Discussed in
# RHBZ#1689634.
Patch0:     meson-disable-werror.patch

BuildRequires:  systemd-rpm-macros
BuildRequires:  gcc
BuildRequires:  meson >= 0.43.0
BuildRequires:  pkgconfig(wayland-protocols) >= 1.14
BuildRequires:  pkgconfig(wayland-client)
BuildRequires:  pkgconfig(pango)
BuildRequires:  pkgconfig(cairo)
BuildRequires:  systemd-devel
BuildRequires:  scdoc
Requires:       dbus

mako is a lightweight notification daemon for Wayland compositors that support
the layer-shell protocol.




# Install dbus-activated systemd unit
install -m0644 -Dt %{buildroot}%{_userunitdir}/ %{SOURCE1}
install -m0644 -Dt %{buildroot}%{_datadir}/dbus-1/services/ %{SOURCE2}

%systemd_user_post %{name}.service

%systemd_user_preun %{name}.service

%license LICENSE

* Thu Apr 04 2019 Timothée Floure <> - 1.2-2
- Fix location of systemd service file

* Sun Mar 17 2019 Timothée Floure <> - 1.2-1
- Let there be package