jpeeler / rpms / mako

Forked from rpms/mako 3 years ago
Blob Blame History Raw
Name:       mako
Version:    1.3
Release:    1%{?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:  cmake
BuildRequires:  systemd-rpm-macros
BuildRequires:  gcc
BuildRequires:  meson >= 0.43.0
BuildRequires:  pkgconfig(gdk-pixbuf-2.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.


%meson -Dzsh-completions=true


# 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
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions

* Sun Jul 14 2019 Jeff Peeler <> - 1.3-1
- Upstream 1.3 release

* 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