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