Name: step-cli Version: 0.27.4 Release: 1%{?dist} Summary: A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc License: ASL 2.0 URL: https://github.com/smallstep/cli/releases Source0: https://github.com/smallstep/cli/releases/download/v%{version}/step_linux_%{version}_amd64.tar.gz ExclusiveArch: x86_64 %description step is an easy-to-use CLI tool for building, operating, and automating Public Key Infrastructure (PKI) systems and workflows. It's the client counterpart to the step-ca online Certificate Authority (CA). You can use it for many common crypto and X.509 operations—either independently, or with an online CA. %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 fish-completion Summary: Fish completion for %{name} Group: Productivity/Networking/Security Requires: %{name} = %{version} Requires: fish Supplements: (%{name} and fish) BuildArch: noarch %description fish-completion fish shell completions 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}. %prep %autosetup -n step_%{version} %install mkdir -p %{buildroot}/%{_bindir} %{__install} -m 755 bin/step %{buildroot}/%{_bindir}/step # shell completions for shell in bash zsh fish ; do ./bin/step completion ${shell} > autocomplete/${shell}_autocomplete done install -D -m 0644 autocomplete/bash_autocomplete %{buildroot}%{_datadir}/bash-completion/completions/%{name} install -D -m 0644 autocomplete/zsh_autocomplete %{buildroot}%{_sysconfdir}/zsh_completion.d/%{name} install -D -m 0644 autocomplete/fish_autocomplete %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish %files %{_bindir}/step %license LICENSE %doc README.md %files bash-completion %license LICENSE %{_datadir}/bash-completion/completions/%{name} %files zsh-completion %license LICENSE %config %{_sysconfdir}/zsh_completion.d/%{name} %files fish-completion %license LICENSE %{_datadir}/fish/vendor_completions.d/%{name}.fish %changelog * Sun Sep 15 2024 Johan Kok - 0.27.4-1 - Bumped to 0.27.4 * Sat Jul 20 2024 Johan Kok - 0.27.2-1 - Bumped to 0.27.2 * Mon May 06 2024 Johan Kok - 0.26.1-1 - Bumped to 0.26.1 * Fri Apr 12 2024 Johan Kok - 0.26.0-1 - Bumped to 0.26.0 * Sat Jan 20 2024 Johan Kok - 0.25.2-1 - Bumped to 0.25.2 * Sat Dec 02 2023 Johan Kok - 0.25.1-1 - Bumped to 0.25.1 * Wed Oct 04 2023 Johan Kok - 0.25.0-1 - Bumped to 0.25.0 * Sun May 14 2023 Johan Kok - 0.24.4-1 - Bumped to 0.24.4 * Sat Apr 15 2023 Johan Kok - 0.24.3-1 - Bumped to 0.24.3 * Fri Mar 10 2023 Johan Kok - 0.23.4-1 - Bumped to 0.23.4 * Sun Mar 05 2023 Johan Kok - 0.23.3-1 - Bumped to 0.23.3 * Sat Feb 11 2023 Johan Kok - 0.23.2-1 - Bumped to 0.23.2 * Thu Nov 24 2022 Johan Kok - 0.23.0-1 - Initial import