mirror of
https://abf.rosa.ru/djam/vault-openvpn.git
synced 2025-02-23 07:42:57 +00:00
31 lines
No EOL
684 B
RPMSpec
31 lines
No EOL
684 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: https://github.com/Luzifer/vault-openvpn/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
|
|
go build -ldflags="-X main.version=%{version}"
|
|
|
|
upx %{name}
|
|
|
|
%install
|
|
install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
|
|
|
|
%files
|
|
%doc README.md LICENSE
|
|
%{_bindir}/%{name} |