Summary: Small RSA key management package Summary(pl.UTF-8): Mały pakiet do zarządzania kluczami RSA Name: easy-rsa Version: 3.0.4 Release: 0.1 License: GPL v2 Group: Applications/Networking Source0: https://github.com/OpenVPN/easy-rsa/releases/download/v%{version}/EasyRSA-%{version}.tgz # Source0-md5: d163f0681b4b2067f107badeb9151629 Patch0: tld.patch URL: http://openvpn.net/easyrsa.html BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1:1.9 Requires: grep Requires: openssl-tools BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is a small RSA key management package, based on the openssl command line tool, that can be found in the easy-rsa subdirectory of the OpenVPN distribution. While this tool is primary concerned with key management for the SSL VPN application space, it can also be used for building web certificates. %description -l pl.UTF-8 To jest mały pakiet do zarządzania kluczami RSA, oparty na narzędziu linii poleceń openssl. Pakiet ten pochodzi z podkatalogu easy-rsa dystrybucji OpenVPN. %prep %setup -q -n EasyRSA-%{version} %patch0 -p1 %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}/easy-rsa/keys} install -p easyrsa $RPM_BUILD_ROOT%{_sbindir} mv openssl-easyrsa.cnf $RPM_BUILD_ROOT%{_sysconfdir}/easy-rsa mv vars.example $RPM_BUILD_ROOT%{_sysconfdir}/easy-rsa/vars mv x509-types $RPM_BUILD_ROOT%{_sysconfdir}/easy-rsa %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc COPYING.md README.md README.quickstart.md doc %dir %{_sysconfdir}/easy-rsa %attr(750,root,root) %dir %{_sysconfdir}/easy-rsa/keys %attr(750,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types %attr(640,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types/COMMON %attr(640,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types/ca %attr(640,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types/client %attr(640,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types/code-signing %attr(640,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types/server %config(noreplace) %attr(640,root,root) %verify(not md5 mtime size) %{_sysconfdir}/easy-rsa/vars %config(noreplace) %attr(640,root,root) %verify(not md5 mtime size) %{_sysconfdir}/easy-rsa/openssl-easyrsa.cnf %attr(750,root,root) %{_sbindir}/easyrsa