]>
Commit | Line | Data |
---|---|---|
4b95f670 JP |
1 | Summary: Keyboard driven and lightweight Wayland notification daemon |
2 | Name: fnott | |
c1f8c45c JP |
3 | Version: 1.4.0 |
4 | Release: 1 | |
4b95f670 JP |
5 | License: MIT and Zlib |
6 | Group: Applications | |
7 | Source0: https://codeberg.org/dnkl/fnott/archive/%{version}.tar.gz | |
c1f8c45c | 8 | # Source0-md5: 211d9dbaf608c79bcd3e5ece2c898190 |
4b95f670 JP |
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 | |
c1f8c45c | 13 | BuildRequires: fontconfig-devel |
4b95f670 | 14 | BuildRequires: libpng-devel |
7132c977 | 15 | BuildRequires: meson >= 0.58.0 |
4b95f670 JP |
16 | BuildRequires: ninja |
17 | BuildRequires: pixman-devel | |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: rpm-build >= 4.6 | |
20 | BuildRequires: rpmbuild(macros) >= 1.736 | |
21 | BuildRequires: scdoc | |
22 | BuildRequires: tllist-devel >= 1.0.1 | |
23 | BuildRequires: wayland-devel | |
c1f8c45c | 24 | BuildRequires: wayland-protocols >= 1.27 |
4b95f670 JP |
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) | |
29 | ||
30 | %description | |
31 | Fnott is a keyboard driven and lightweight notification daemon for | |
32 | wlroots-based Wayland compositors. | |
33 | ||
34 | %package -n zsh-completion-fnott | |
35 | Summary: ZSH completion for fnott command line | |
36 | Group: Applications/Shells | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | Requires: zsh | |
39 | BuildArch: noarch | |
40 | ||
41 | %description -n zsh-completion-fnott | |
42 | ZSH completion for fnott command line. | |
43 | ||
44 | %prep | |
45 | %setup -q -n %{name} | |
46 | ||
47 | %build | |
48 | %meson build | |
49 | ||
50 | %ninja_build -C build | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %ninja_install -C build | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | %update_desktop_database_post | |
62 | ||
63 | %postun | |
64 | %update_desktop_database_postun | |
65 | ||
66 | %files | |
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* | |
77 | ||
78 | %files -n zsh-completion-fnott | |
79 | %defattr(644,root,root,755) | |
80 | %{zsh_compdir}/_fnott | |
81 | %{zsh_compdir}/_fnottctl |