[packages/fnott] new

atler atler at pld-linux.org
Wed Apr 20 11:18:45 CEST 2022


commit 4b95f670e3ea101377b8a7416501e043e0344fb1
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Apr 20 11:17:23 2022 +0200

    new

 fnott.spec | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)
---
diff --git a/fnott.spec b/fnott.spec
new file mode 100644
index 0000000..2e3147c
--- /dev/null
+++ b/fnott.spec
@@ -0,0 +1,80 @@
+Summary:	Keyboard driven and lightweight Wayland notification daemon
+Name:		fnott
+Version:	1.2.1
+Release:	1
+License:	MIT and Zlib
+Group:		Applications
+Source0:	https://codeberg.org/dnkl/fnott/archive/%{version}.tar.gz
+# Source0-md5:	5461f6aae5a3e4f55b67b0c8406c7f1b
+URL:		https://codeberg.org/dnkl/fnott/
+BuildRequires:	dbus-devel
+BuildRequires:	fcft-devel < 4.0.0
+BuildRequires:	fcft-devel >= 3.0.0
+BuildRequires:	libpng-devel
+BuildRequires:	meson >= 0.54.0
+BuildRequires:	ninja
+BuildRequires:	pixman-devel
+BuildRequires:	pkgconfig
+BuildRequires:	rpm-build >= 4.6
+BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	scdoc
+BuildRequires:	tllist-devel >= 1.0.1
+BuildRequires:	wayland-devel
+BuildRequires:	wayland-protocols
+Requires(post,postun):	desktop-file-utils
+Requires:	fcft < 4.0.0
+Requires:	fcft >= 3.0.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Fnott is a keyboard driven and lightweight notification daemon for
+wlroots-based Wayland compositors.
+
+%package -n zsh-completion-fnott
+Summary:	ZSH completion for fnott command line
+Group:		Applications/Shells
+Requires:	%{name} = %{version}-%{release}
+Requires:	zsh
+BuildArch:	noarch
+
+%description -n zsh-completion-fnott
+ZSH completion for fnott command line.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%meson build
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.md README.md
+%attr(755,root,root) %{_bindir}/fnott
+%attr(755,root,root) %{_bindir}/fnottctl
+%{_desktopdir}/fnott.desktop
+%dir %{_datadir}/fnott
+%{_datadir}/fnott/fnott.ini
+%{_mandir}/man1/fnott.1*
+%{_mandir}/man1/fnottctl.1*
+%{_mandir}/man5/fnott.ini.5*
+
+%files -n zsh-completion-fnott
+%defattr(644,root,root,755)
+%{zsh_compdir}/_fnott
+%{zsh_compdir}/_fnottctl
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fnott.git/commitdiff/4b95f670e3ea101377b8a7416501e043e0344fb1



More information about the pld-cvs-commit mailing list