2019-04-15 11:47:02 +00:00
|
|
|
#
|
2019-04-26 12:27:20 +00:00
|
|
|
# spec file for package certstrap
|
2019-04-15 11:47:02 +00:00
|
|
|
#
|
2022-07-11 09:25:20 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2019-04-15 11:47:02 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-04-26 12:27:20 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-04-15 11:47:02 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: certstrap
|
2022-07-11 09:25:20 +00:00
|
|
|
Version: 1.3.0+git20220701.1377eab
|
2019-04-15 11:47:02 +00:00
|
|
|
Release: 0
|
2019-04-26 12:50:47 +00:00
|
|
|
Summary: Tool for bootstrapping CAs, certificate requests, and signed certificates
|
2019-04-15 11:47:02 +00:00
|
|
|
License: Apache-2.0
|
2019-04-26 12:27:20 +00:00
|
|
|
Group: System/Management
|
2019-04-15 11:47:02 +00:00
|
|
|
URL: https://github.com/square/certstrap
|
|
|
|
|
Source: %{name}-%{version}.tar.xz
|
2022-07-11 09:25:20 +00:00
|
|
|
BuildRequires: golang(API) >= 1.18
|
2019-04-15 11:47:02 +00:00
|
|
|
ExcludeArch: s390
|
|
|
|
|
|
|
|
|
|
%description
|
2019-04-26 12:50:47 +00:00
|
|
|
Certstrap is a certificate manager for bootstrapping one's own
|
|
|
|
|
certificate authority and public key infrastructure.
|
2019-04-26 12:27:20 +00:00
|
|
|
certstrap can be used if you do not feel like dealing with openssl,
|
|
|
|
|
its myriad of options or config files.
|
2019-04-15 11:47:02 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export GOPATH=$HOME/go
|
2019-09-21 08:40:30 +00:00
|
|
|
go build -v -buildmode=pie -mod vendor
|
2019-04-15 11:47:02 +00:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
install -d -p %{buildroot}%{_bindir}
|
|
|
|
|
install -p -m 0755 certstrap %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{_bindir}/certstrap
|
|
|
|
|
|
|
|
|
|
%changelog
|