]>
Commit | Line | Data |
---|---|---|
89eb08ae JB |
1 | Summary: Client for PPP+SSL VPN tunnel services |
2 | Summary(pl.UTF-8): Klient usług tunelowych VPN PPP+SSL | |
3 | Name: openfortivpn | |
7527cd80 BS |
4 | Version: 1.10.0 |
5 | Release: 1 | |
89eb08ae JB |
6 | License: GPL v3+ with OpenSSL exception |
7 | Group: Networking | |
c7c2cf41 | 8 | #Source0Download: https://github.com/adrienverge/openfortivpn/releases |
89eb08ae | 9 | Source0: https://github.com/adrienverge/openfortivpn/archive/v%{version}/%{name}-%{version}.tar.gz |
7527cd80 | 10 | # Source0-md5: bfbbb82e31acb26cafa6b5aefc453eba |
89eb08ae JB |
11 | URL: https://github.com/adrienverge/openfortivpn |
12 | BuildRequires: autoconf >= 2.69 | |
13 | BuildRequires: automake | |
c7c2cf41 JB |
14 | BuildRequires: openssl-devel >= 0.9.8 |
15 | BuildRequires: pkgconfig | |
16 | BuildRequires: systemd-devel >= 1:209 | |
89eb08ae JB |
17 | Requires: ppp |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
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 | |
23 | this process. | |
24 | ||
25 | It is compatible with Fortinet VPNs. | |
26 | ||
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. | |
30 | ||
31 | Jest zgodny z VPN-ami Fortinet. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
37 | %{__aclocal} | |
38 | %{__autoconf} | |
39 | %{__automake} | |
40 | %configure \ | |
c7c2cf41 JB |
41 | --enable-proc \ |
42 | --disable-silent-rules \ | |
43 | --with-pppd=/usr/sbin/pppd | |
89eb08ae JB |
44 | %{__make} |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
c7c2cf41 | 52 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/openfortivpn/config.template |
7527cd80 | 53 | |
89eb08ae JB |
54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
c7c2cf41 | 59 | %doc CHANGELOG.md LICENSE.OpenSSL README.md |
89eb08ae JB |
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* |