]> git.pld-linux.org Git - packages/fnott.git/blob - fnott.spec
up to 1.3.0
[packages/fnott.git] / fnott.spec
1 Summary:        Keyboard driven and lightweight Wayland notification daemon
2 Name:           fnott
3 Version:        1.3.0
4 Release:        1
5 License:        MIT and Zlib
6 Group:          Applications
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
15 BuildRequires:  ninja
16 BuildRequires:  pixman-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  rpm-build >= 4.6
19 BuildRequires:  rpmbuild(macros) >= 1.736
20 BuildRequires:  scdoc
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)
28
29 %description
30 Fnott is a keyboard driven and lightweight notification daemon for
31 wlroots-based Wayland compositors.
32
33 %package -n zsh-completion-fnott
34 Summary:        ZSH completion for fnott command line
35 Group:          Applications/Shells
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       zsh
38 BuildArch:      noarch
39
40 %description -n zsh-completion-fnott
41 ZSH completion for fnott command line.
42
43 %prep
44 %setup -q -n %{name}
45
46 %build
47 %meson build
48
49 %ninja_build -C build
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %ninja_install -C build
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post
60 %update_desktop_database_post
61
62 %postun
63 %update_desktop_database_postun
64
65 %files
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*
76
77 %files -n zsh-completion-fnott
78 %defattr(644,root,root,755)
79 %{zsh_compdir}/_fnott
80 %{zsh_compdir}/_fnottctl
This page took 0.304835 seconds and 3 git commands to generate.