vault-openvpn/vault-openvpn.spec
Your Name 69e4301b0c
All checks were successful
Run CI/CD... / main (push) Successful in 6m15s
1.10.1
2025-02-19 23:23:32 +00:00

32 lines
No EOL
697 B
RPMSpec

%define debug_package %nil
Name: vault-openvpn
Version: 1.10.1
Release: 1
Summary: OpenVPN configuration combined with a Vault
License: ASL 2.0
URL: https://github.com/Luzifer/vault-openvpn
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Group: Networking/Remote access
BuildRequires: go
BuildRequires: upx
%description
Small wrapper utility to manage OpenVPN configuration
combined with a Vault PKI
%prep
%setup -q
%build
export GOPROXY=https://proxy.golang.org,direct
go build -ldflags="-X main.version=%{version}"
upx %{name}
%install
install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md LICENSE
%{_bindir}/%{name}