1 Summary: Client for PPP+SSL VPN tunnel services
2 Summary(pl.UTF-8): Klient usług tunelowych VPN PPP+SSL
6 License: GPL v3+ with OpenSSL exception
8 #Source0Download: https://github.com/adrienverge/openfortivpn/releases
9 Source0: https://github.com/adrienverge/openfortivpn/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: bfbbb82e31acb26cafa6b5aefc453eba
11 URL: https://github.com/adrienverge/openfortivpn
12 BuildRequires: autoconf >= 2.69
13 BuildRequires: automake
14 BuildRequires: openssl-devel >= 0.9.8
15 BuildRequires: pkgconfig
16 BuildRequires: systemd-devel >= 1:209
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 openfortivpn is a client for PPP+SSL VPN tunnel services. It spawns a
22 pppd process and operates the communication between the gateway and
25 It is compatible with Fortinet VPNs.
27 %description -l pl.UTF-8
28 openfortivpn to klient usług tunelowych VPN PPP+SSL. Uruchamia proces
29 pppd i nadzoruje komunikację pomiędzy bramką a tym procesem.
31 Jest zgodny z VPN-ami Fortinet.
42 --disable-silent-rules \
43 --with-pppd=/usr/sbin/pppd
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
52 %{__rm} $RPM_BUILD_ROOT%{_datadir}/openfortivpn/config.template
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc CHANGELOG.md LICENSE.OpenSSL README.md
60 %attr(755,root,root) %{_bindir}/openfortivpn
61 %dir %{_sysconfdir}/openfortivpn
62 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openfortivpn/config
63 %{_mandir}/man1/openfortivpn.1*