Name: nq Version: 0.4 Release: 1%{?dist} Summary: Unix command line queue utility License: CC0 URL: https://github.com/leahneukirchen/nq Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # Add an INSTALL variable to the Makefile # https://github.com/leahneukirchen/nq/pull/40 Patch0: %{url}/pull/40.patch BuildRequires: make BuildRequires: gcc BuildRequires: perl(Test::Harness) Recommends: (tmux or screen) %description The nq utility provides a very lightweight queuing system without requiring setup, maintenance, supervision or any long-running processes. %prep %autosetup -p1 %build %make_build CFLAGS='%{build_cflags}' %check %make_build check %install %make_install PREFIX=%{_prefix} %files %license COPYING %doc README.md NEWS.md %{_bindir}/%{name} %{_bindir}/fq %{_bindir}/tq %{_mandir}/man1/%{name}.1* %{_mandir}/man1/fq.1* %{_mandir}/man1/tq.1* %changelog * Tue Oct 12 2021 Gustavo Costa - 0.4-1 - Initial package