]> git.pld-linux.org Git - packages/openfortivpn.git/blob - openfortivpn.spec
- more docs, explicitly specify some build options (/proc/net/route instead of netsta...
[packages/openfortivpn.git] / openfortivpn.spec
1 Summary:        Client for PPP+SSL VPN tunnel services
2 Summary(pl.UTF-8):      Klient usług tunelowych VPN PPP+SSL
3 Name:           openfortivpn
4 Version:        1.10.0
5 Release:        1
6 License:        GPL v3+ with OpenSSL exception
7 Group:          Networking
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
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 \
41         --enable-proc \
42         --disable-silent-rules \
43         --with-pppd=/usr/sbin/pppd
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %{__rm} $RPM_BUILD_ROOT%{_datadir}/openfortivpn/config.template
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
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*
This page took 0.06556 seconds and 3 git commands to generate.