]> git.pld-linux.org Git - packages/mako.git/blob - mako.spec
new
[packages/mako.git] / mako.spec
1 Summary:        A lightweight Wayland notification daemon
2 Name:           mako
3 Version:        1.4.1
4 Release:        1
5 License:        MIT
6 Group:          Applications
7 Source0:        https://github.com/emersion/mako/releases/download/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  1da0e274b25e61d0f8ce956270f3f737
9 URL:            https://wayland.emersion.fr/mako/
10 BuildRequires:  cairo-devel
11 BuildRequires:  gdk-pixbuf2-devel
12 BuildRequires:  glib2-devel
13 BuildRequires:  meson >= 0.50.0
14 BuildRequires:  ninja
15 BuildRequires:  pango-devel
16 BuildRequires:  rpmbuild(macros) >= 1.736
17 BuildRequires:  scdoc
18 BuildRequires:  systemd-devel
19 BuildRequires:  wayland-devel
20 BuildRequires:  wayland-protocols >= 1.14
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 mako is a lightweight notification daemon for Wayland compositors that
25 support the layer-shell protocol.
26
27 %package -n zsh-completion-mako
28 Summary:        ZSH completion for mako
29 Group:          Applications/Shells
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       zsh
32 BuildArch:      noarch
33
34 %description -n zsh-completion-mako
35 ZSH completion for mako.
36
37 %prep
38 %setup -q
39
40 %build
41 %meson build \
42         -Dzsh-completions=true
43 %ninja_build -C build
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 %ninja_install -C build
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README.md
55 %attr(755,root,root) %{_bindir}/mako
56 %attr(755,root,root) %{_bindir}/makoctl
57 %{_datadir}/dbus-1/services/fr.emersion.mako.service
58 %{_mandir}/man1/mako.1*
59 %{_mandir}/man1/makoctl.1*
60 %{_mandir}/man5/mako.5*
61
62 %files -n zsh-completion-mako
63 %defattr(644,root,root,755)
64 %{zsh_compdir}/_mako
65 %{zsh_compdir}/_makoctl
This page took 0.078221 seconds and 3 git commands to generate.