easy-rsa2/easy-rsa2.spec

55 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: easy-rsa2
Version: 2.2.2
Release: 2mamba
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/%{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 -n easy-rsa-%{version}
%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
* Fri Aug 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-2mamba
- legacy package
* Tue Jun 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-1mamba
- update to 2.2.2
* Tue Apr 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
- package created using the webbuild interface