]> git.pld-linux.org Git - packages/fnott.git/blame - fnott.spec
up to 1.3.0
[packages/fnott.git] / fnott.spec
CommitLineData
4b95f670
JP
1Summary: Keyboard driven and lightweight Wayland notification daemon
2Name: fnott
7132c977 3Version: 1.3.0
4b95f670
JP
4Release: 1
5License: MIT and Zlib
6Group: Applications
7Source0: https://codeberg.org/dnkl/fnott/archive/%{version}.tar.gz
7132c977 8# Source0-md5: 71187b9d941ae155a2dbbf6b2478300a
4b95f670
JP
9URL: https://codeberg.org/dnkl/fnott/
10BuildRequires: dbus-devel
11BuildRequires: fcft-devel < 4.0.0
12BuildRequires: fcft-devel >= 3.0.0
13BuildRequires: libpng-devel
7132c977 14BuildRequires: meson >= 0.58.0
4b95f670
JP
15BuildRequires: ninja
16BuildRequires: pixman-devel
17BuildRequires: pkgconfig
18BuildRequires: rpm-build >= 4.6
19BuildRequires: rpmbuild(macros) >= 1.736
20BuildRequires: scdoc
21BuildRequires: tllist-devel >= 1.0.1
22BuildRequires: wayland-devel
23BuildRequires: wayland-protocols
24Requires(post,postun): desktop-file-utils
25Requires: fcft < 4.0.0
26Requires: fcft >= 3.0.0
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Fnott is a keyboard driven and lightweight notification daemon for
31wlroots-based Wayland compositors.
32
33%package -n zsh-completion-fnott
34Summary: ZSH completion for fnott command line
35Group: Applications/Shells
36Requires: %{name} = %{version}-%{release}
37Requires: zsh
38BuildArch: noarch
39
40%description -n zsh-completion-fnott
41ZSH 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
52rm -rf $RPM_BUILD_ROOT
53
54%ninja_install -C build
55
56%clean
57rm -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.145515 seconds and 4 git commands to generate.