signify/signify.spec
Michael Vetter aa2fa12aea Accepting request 1156711 from home:mnhauke
- Update to version 32
  Changed
  * Allow overriding the INSTALL Make variable to set the program
    used instead of install.
  * Updated sources from upstream OpenBSD and libbsd 0.12.1
  Fixed
  * Fixed the build with VERIFY_ONLY=1.

OBS-URL: https://build.opensuse.org/request/show/1156711
OBS-URL: https://build.opensuse.org/package/show/utilities/signify?expand=0&rev=15
2024-03-12 05:41:27 +00:00

61 lines
1.8 KiB
RPMSpec

#
# spec file for package signify
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: signify
Version: 32
Release: 0
Summary: OpenBSD tool to sign and verify signatures on files (portable version)
License: BSD-3-Clause
Group: Productivity/Networking/Security
URL: https://github.com/aperezdc/signify
Source0: %{url}/releases/download/v%{version}/signify-%{version}.tar.xz
Source1: %{url}/releases/download/v%{version}/signify-%{version}.tar.xz.asc
# https://github.com/aperezdc/signify/blob/master/README.md#release-signing
Source2: %{name}.keyring
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libbsd) >= 0.11.0
%description
Signify - Sign and Verify.
A portable version of the OpenBSD tool to sign and verify signatures on files.
See http://www.tedunangst.com/flak/post/signify for more information.
%prep
%setup -q
%build
export EXTRA_CFLAGS="%{optflags} -D_GNU_SOURCE"
export PREFIX="%{_prefix}"
%make_build
%install
export EXTRA_CFLAGS="%{optflags} -D_GNU_SOURCE"
export PREFIX="%{_prefix}"
%make_install
%check
%make_build check
%files
%license COPYING
%doc README.md CHANGELOG.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog