easy-rsa/easy-rsa.spec

49 lines
1.3 KiB
RPMSpec

Name: easy-rsa
Version: 2.2.1
Release: 1mamba
Summary: Simple shell based CA utility
Group: Network/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/OpenVPN/easy-rsa
## GITSOURCE https://github.com/OpenVPN/easy-rsa.git v2.2.1
Source: https://github.com/OpenVPN/easy-rsa.git/v%{version}/easy-rsa-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A small RSA key management package, based on the openssl command line tool.
%prep
%setup -q
%build
autoreconf -f -i
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
ln -s openssl-1.0.0.cnf %{buildroot}%{_datadir}/easy-rsa/openssl.cnf
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_datadir}/easy-rsa
%{_datadir}/easy-rsa/*
%config(noreplace) %{_datadir}/easy-rsa/vars
%{_datadir}/doc/easy-rsa/COPYING
%{_datadir}/doc/easy-rsa/COPYRIGHT.GPL
%{_datadir}/doc/easy-rsa/README-2.0
%changelog
* Tue Apr 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
- package created using the webbuild interface