easy-rsa/easy-rsa.spec

84 lines
2.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: easy-rsa
Version: 3.0.8
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/v%{version}/easy-rsa-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: python-Markdown-py3
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
sed -i "s|python |python3 |" build/build-dist.sh
%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
* Fri Sep 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.8-2mamba
- rebuilt with python3 and python-Markdown-py3
* Thu Sep 10 2020 Automatic Build System <autodist@mambasoft.it> 3.0.8-1mamba
- automatic version update by autodist
* Wed Apr 01 2020 Automatic Build System <autodist@mambasoft.it> 3.0.7-1mamba
- automatic version update by autodist
* Mon Apr 01 2019 Automatic Build System <autodist@mambasoft.it> 3.0.6-1mamba
- automatic version update by autodist
* Thu Oct 04 2018 Automatic Build System <autodist@mambasoft.it> 3.0.5-1mamba
- automatic version update by autodist
* Fri Sep 07 2018 Automatic Build System <autodist@mambasoft.it> 3.0.4-1mamba
- automatic version update by autodist
* 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