1 Summary: Keyboard driven and lightweight Wayland notification daemon
7 Source0: https://codeberg.org/dnkl/fnott/archive/%{version}.tar.gz
8 # Source0-md5: 71187b9d941ae155a2dbbf6b2478300a
9 URL: https://codeberg.org/dnkl/fnott/
10 BuildRequires: dbus-devel
11 BuildRequires: fcft-devel < 4.0.0
12 BuildRequires: fcft-devel >= 3.0.0
13 BuildRequires: libpng-devel
14 BuildRequires: meson >= 0.58.0
16 BuildRequires: pixman-devel
17 BuildRequires: pkgconfig
18 BuildRequires: rpm-build >= 4.6
19 BuildRequires: rpmbuild(macros) >= 1.736
21 BuildRequires: tllist-devel >= 1.0.1
22 BuildRequires: wayland-devel
23 BuildRequires: wayland-protocols
24 Requires(post,postun): desktop-file-utils
25 Requires: fcft < 4.0.0
26 Requires: fcft >= 3.0.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Fnott is a keyboard driven and lightweight notification daemon for
31 wlroots-based Wayland compositors.
33 %package -n zsh-completion-fnott
34 Summary: ZSH completion for fnott command line
35 Group: Applications/Shells
36 Requires: %{name} = %{version}-%{release}
40 %description -n zsh-completion-fnott
41 ZSH completion for fnott command line.
52 rm -rf $RPM_BUILD_ROOT
54 %ninja_install -C build
57 rm -rf $RPM_BUILD_ROOT
60 %update_desktop_database_post
63 %update_desktop_database_postun
66 %defattr(644,root,root,755)
67 %doc CHANGELOG.md README.md
68 %attr(755,root,root) %{_bindir}/fnott
69 %attr(755,root,root) %{_bindir}/fnottctl
70 %{_desktopdir}/fnott.desktop
71 %dir %{_datadir}/fnott
72 %{_datadir}/fnott/fnott.ini
73 %{_mandir}/man1/fnott.1*
74 %{_mandir}/man1/fnottctl.1*
75 %{_mandir}/man5/fnott.ini.5*
77 %files -n zsh-completion-fnott
78 %defattr(644,root,root,755)
80 %{zsh_compdir}/_fnottctl