]> git.pld-linux.org Git - packages/openfortivpn.git/blame - openfortivpn.spec
- more docs, explicitly specify some build options (/proc/net/route instead of netsta...
[packages/openfortivpn.git] / openfortivpn.spec
CommitLineData
89eb08ae
JB
1Summary: Client for PPP+SSL VPN tunnel services
2Summary(pl.UTF-8): Klient usług tunelowych VPN PPP+SSL
3Name: openfortivpn
7527cd80
BS
4Version: 1.10.0
5Release: 1
89eb08ae
JB
6License: GPL v3+ with OpenSSL exception
7Group: Networking
c7c2cf41 8#Source0Download: https://github.com/adrienverge/openfortivpn/releases
89eb08ae 9Source0: https://github.com/adrienverge/openfortivpn/archive/v%{version}/%{name}-%{version}.tar.gz
7527cd80 10# Source0-md5: bfbbb82e31acb26cafa6b5aefc453eba
89eb08ae
JB
11URL: https://github.com/adrienverge/openfortivpn
12BuildRequires: autoconf >= 2.69
13BuildRequires: automake
c7c2cf41
JB
14BuildRequires: openssl-devel >= 0.9.8
15BuildRequires: pkgconfig
16BuildRequires: systemd-devel >= 1:209
89eb08ae
JB
17Requires: ppp
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21openfortivpn is a client for PPP+SSL VPN tunnel services. It spawns a
22pppd process and operates the communication between the gateway and
23this process.
24
25It is compatible with Fortinet VPNs.
26
27%description -l pl.UTF-8
28openfortivpn to klient usług tunelowych VPN PPP+SSL. Uruchamia proces
29pppd i nadzoruje komunikację pomiędzy bramką a tym procesem.
30
31Jest 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
47rm -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
55rm -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*
This page took 0.121734 seconds and 4 git commands to generate.