Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix:apps
step-kms-plugin
step-kms-plugin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File step-kms-plugin.spec of Package step-kms-plugin
# # spec file for package step-kms-plugin # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %define configdir /etc/step %define certsdir /etc/step/certs %define services cert-renewer.target ssh-cert-renewer.timer ssh-cert-renewer@.timer cert-renewer@.timer ssh-cert-renewer.service ssh-cert-renewer@.service cert-renewer@.service Name: step-kms-plugin Version: 0.11.1 Release: 0 %define pkg_name %{name} %define pkg_version %{version} Summary: Smallstep CA - KMS plugin License: Apache-2.0 Group: Productivity/Networking/Security Url: https://github.com/smallstep/step-kms-plugin # https://github.com/smallstep/step-kms-plugin/releases Source: %{pkg_name}-%{pkg_version}.tar.gz Source1: vendor.tar.xz BuildRequires: golang-packaging BuildRequires: golang(API) >= 1.21 BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(libpcsclite) BuildRequires: zsh BuildRequires: fish Requires: step-ca %go_nostrip %description A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc. KMS plugin. %package bash-completion Summary: Bash Completion for %{name} Group: Productivity/Networking/Security Requires: %{name} = %{version} Requires: bash-completion Supplements: (%{name} and bash-completion) BuildArch: noarch %description bash-completion Bash completion script for %{name}. %package zsh-completion Summary: ZSH completion for %{name} Group: Productivity/Networking/Security Requires: %{name} = %{version} Requires: zsh Supplements: (%{name} and zsh) BuildArch: noarch %description zsh-completion zsh shell completions for %{name}. %package fish-completion Summary: Fish completion for %{name} Group: Productivity/Networking/Security Requires: %{name} = %{version} Requires: fish Supplements: (%{name} and zsh) BuildArch: noarch %description fish-completion fish shell completions for %{name}. %prep %autosetup -p1 -n %{pkg_name}-%{pkg_version} -a 1 %build source_date=$(date -u '+%Y-%m-%d %H:%M UTC' -d "@${SOURCE_DATE_EPOCH}") go build -mod=vendor -buildmode=pie -o bin/step-kms-plugin -ldflags="-w -X 'cmd.Version=%{version}' -X 'cmd.BuildTime=${source_date}'" go generate ./... mkdir -p completions bin/step-kms-plugin completion bash > completions/bash_completion bin/step-kms-plugin completion fish > completions/fish_completion bin/step-kms-plugin completion powershell > completions/powershell_completion bin/step-kms-plugin completion zsh > completions/zsh_completion %install install -D -m 0755 bin/step-kms-plugin %{buildroot}/%{_bindir}/step-kms-plugin # shell completions install -D -m 0644 completions/bash_completion %{buildroot}%{_datadir}/bash-completion/completions/%{name} install -D -m 0644 completions/zsh_completion %{buildroot}%{_sysconfdir}/zsh_completion.d/%{name} install -D -m 0644 completions/fish_completion %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish %files %doc README.md %license LICENSE %{_bindir}/step* %files bash-completion %{_datadir}/bash-completion/completions/%{name} %files zsh-completion %config %{_sysconfdir}/zsh_completion.d/%{name} %files fish-completion %license LICENSE %{_datadir}/fish/vendor_completions.d/%{name}.fish
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor