File openfortivpn.spec of Package openfortivpn
#
# spec file for package openfortivpn
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: openfortivpn
Version: 1.9.0
Release: 0
Summary: Client for PPP+SSL VPN tunnel services
License: GPL-3.0-or-later
Group: Productivity/Networking/Security
URL: https://github.com/adrienverge/openfortivpn
Source0: https://github.com/adrienverge/openfortivpn/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: openssl-devel
Requires: ppp
%description
openfortivpn is a client for PPP+SSL VPN tunnel services. It spawns a pppd
process and operates the communication between the gateway and this process.
It is compatible with Fortinet VPNs.
%prep
%setup -q
%build
autoreconf -fiv
%configure
make %{?_smp_mflags} V=1
%install
%make_install
rm -f %{buildroot}/%{_datadir}/openfortivpn/config.template
%files
%license LICENSE LICENSE.OpenSSL
%doc README.md
%{_bindir}/openfortivpn
%{_mandir}/man1/openfortivpn.1%{?ext_man}
%dir %{_sysconfdir}/openfortivpn
%config(noreplace) %{_sysconfdir}/openfortivpn/config
%changelog