1 Summary: Keyboard driven and lightweight Wayland notification daemon
7 Source0: https://codeberg.org/dnkl/fnott/archive/%{version}.tar.gz
8 # Source0-md5: 211d9dbaf608c79bcd3e5ece2c898190
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: fontconfig-devel
14 BuildRequires: libpng-devel
15 BuildRequires: meson >= 0.58.0
17 BuildRequires: pixman-devel
18 BuildRequires: pkgconfig
19 BuildRequires: rpm-build >= 4.6
20 BuildRequires: rpmbuild(macros) >= 1.736
22 BuildRequires: tllist-devel >= 1.0.1
23 BuildRequires: wayland-devel
24 BuildRequires: wayland-protocols >= 1.27
25 Requires(post,postun): desktop-file-utils
26 Requires: fcft < 4.0.0
27 Requires: fcft >= 3.0.0
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Fnott is a keyboard driven and lightweight notification daemon for
32 wlroots-based Wayland compositors.
34 %package -n zsh-completion-fnott
35 Summary: ZSH completion for fnott command line
36 Group: Applications/Shells
37 Requires: %{name} = %{version}-%{release}
41 %description -n zsh-completion-fnott
42 ZSH completion for fnott command line.
53 rm -rf $RPM_BUILD_ROOT
55 %ninja_install -C build
58 rm -rf $RPM_BUILD_ROOT
61 %update_desktop_database_post
64 %update_desktop_database_postun
67 %defattr(644,root,root,755)
68 %doc CHANGELOG.md README.md
69 %attr(755,root,root) %{_bindir}/fnott
70 %attr(755,root,root) %{_bindir}/fnottctl
71 %{_desktopdir}/fnott.desktop
72 %dir %{_datadir}/fnott
73 %{_datadir}/fnott/fnott.ini
74 %{_mandir}/man1/fnott.1*
75 %{_mandir}/man1/fnottctl.1*
76 %{_mandir}/man5/fnott.ini.5*
78 %files -n zsh-completion-fnott
79 %defattr(644,root,root,755)
81 %{zsh_compdir}/_fnottctl