easy-rsa/easy-rsa.spec

64 lines
1.8 KiB
RPMSpec

Name: easy-rsa
Version: 3.0.3
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
cp COPYING.md COPYING
%build
#autoreconf -f -i
#% configure
#% make
build/build-dist.sh
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#% makeinstall
install -d -m0755 %{buildroot}%{_datadir}/easyrsa3
cp -a easyrsa3/* %{buildroot}%{_datadir}/easyrsa3
install -d -m0755 %{buildroot}%{_docdir}/easyrsa3
cp -a doc/* %{buildroot}%{_docdir}/easyrsa3/
ln -s openssl-1.0.cnf %{buildroot}%{_datadir}/easyrsa3/openssl.cnf
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_datadir}/easyrsa3
%{_datadir}/easyrsa3/*
#%config(noreplace) %{_datadir}/easy-rsa/vars
%dir %{_datadir}/doc/easyrsa3
%{_datadir}/doc/easyrsa3/*
%doc COPYING README.quickstart.md
%changelog
* Sat Dec 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-1mamba
- update to 3.0.3
* Thu Aug 11 2016 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* 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