Name: signify Version: 30 Release: 1%{?dist} Summary: OpenBSD tool to sign and verify signatures on files License: ISC and BSD and Public Domain URL: https://github.com/aperezdc/signify Source0: %url/releases/download/v%{version}/%{name}-%{version}.tar.xz Source1: %url/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/5AA3BC334FD7E3369E7C77B291C559DBE4C9123B # Replace install command with \$(INSTALL) variable to keep timestamp with %%make_install Patch0: 0001-Replace-install-command-with-INSTALL-variable.patch BuildRequires: gcc BuildRequires: gnupg2 BuildRequires: make BuildRequires: pkgconfig(libbsd) %description The signify utility creates and verifies cryptographic signatures. A signature verifies the integrity of a message. This is a portable version which uses libbsd. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %build %set_build_flags %make_build LTO=1 %install %make_install PREFIX=%{_prefix} %files %license COPYING %doc CHANGELOG.md README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.* %changelog * Sat May 29 13:00:53 CEST 2021 Robert-André Mauchin - 30-1 - Initial package