1 Summary: Small RSA key management package
2 Summary(pl.UTF-8): Mały pakiet do zarządzania kluczami RSA
7 Group: Applications/Networking
8 Source0: https://github.com/OpenVPN/easy-rsa/releases/download/v%{version}/EasyRSA-%{version}.tgz
9 # Source0-md5: d163f0681b4b2067f107badeb9151629
11 URL: http://openvpn.net/easyrsa.html
12 BuildRequires: autoconf >= 2.59
13 BuildRequires: automake >= 1:1.9
15 Requires: openssl-tools
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This is a small RSA key management package, based on the openssl
21 command line tool, that can be found in the easy-rsa subdirectory of
22 the OpenVPN distribution. While this tool is primary concerned with
23 key management for the SSL VPN application space, it can also be used
24 for building web certificates.
26 %description -l pl.UTF-8
27 To jest mały pakiet do zarządzania kluczami RSA, oparty na narzędziu
28 linii poleceń openssl. Pakiet ten pochodzi z podkatalogu easy-rsa
32 %setup -q -n EasyRSA-%{version}
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}/easy-rsa/keys}
39 install -p easyrsa $RPM_BUILD_ROOT%{_sbindir}
40 mv openssl-easyrsa.cnf $RPM_BUILD_ROOT%{_sysconfdir}/easy-rsa
41 mv vars.example $RPM_BUILD_ROOT%{_sysconfdir}/easy-rsa/vars
42 mv x509-types $RPM_BUILD_ROOT%{_sysconfdir}/easy-rsa
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %doc COPYING.md README.md README.quickstart.md doc
50 %dir %{_sysconfdir}/easy-rsa
51 %attr(750,root,root) %dir %{_sysconfdir}/easy-rsa/keys
52 %attr(750,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types
53 %attr(640,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types/COMMON
54 %attr(640,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types/ca
55 %attr(640,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types/client
56 %attr(640,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types/code-signing
57 %attr(640,root,root) %dir %{_sysconfdir}/easy-rsa/x509-types/server
58 %config(noreplace) %attr(640,root,root) %verify(not md5 mtime size) %{_sysconfdir}/easy-rsa/vars
59 %config(noreplace) %attr(640,root,root) %verify(not md5 mtime size) %{_sysconfdir}/easy-rsa/openssl-easyrsa.cnf
60 %attr(750,root,root) %{_sbindir}/easyrsa