%global ppp_version %(rpm -q ppp-devel --queryformat '%{VERSION}') Summary: NetworkManager VPN plugin for Fortinet compatible SSLVPN Name: NetworkManager-fortisslvpn Version: 1.2.0 Release: 1%{?dist} License: GPLv2+ URL: http://www.gnome.org/projects/NetworkManager/ Group: System Environment/Base Source0: https://download.gnome.org/sources/NetworkManager-fortisslvpn/1.2/%{name}-1.2.0.tar.xz BuildRequires: gtk3-devel >= 3.4 BuildRequires: dbus-devel >= 0.74 BuildRequires: NetworkManager-devel >= 1:1.1.0 BuildRequires: NetworkManager-glib-devel >= 1:1.1.0 BuildRequires: NetworkManager-libnm-devel >= 1:1.1.0 BuildRequires: glib2-devel >= 2.32 BuildRequires: ppp-devel BuildRequires: libtool intltool gettext BuildRequires: libsecret-devel BuildRequires: libnm-gtk-devel >= 1.0.4 BuildRequires: libnma-devel >= 1.1.0 Requires: gtk3 Requires: dbus Requires: NetworkManager >= 1:1.1.0 Requires: openfortivpn Requires: ppp = %{ppp_version} %global _privatelibs libnm-fortisslvpn-properties[.]so.* %global __provides_exclude ^(%{_privatelibs})$ %global __requires_exclude ^(%{_privatelibs})$ %description This package contains software for integrating VPN capabilities with the Fortinet compatible SSLVPN server with NetworkManager. %package -n NetworkManager-fortisslvpn-gnome Summary: NetworkManager VPN plugin for SSLVPN - GNOME files Group: System Environment/Base Requires: %{name}%{?_isa} = %{version}-%{release} Requires: nm-connection-editor %description -n NetworkManager-fortisslvpn-gnome This package contains software for integrating VPN capabilities with the Fortinet compatible SSLVPN server with NetworkManager (GNOME files). %prep %setup -q %build %configure \ --disable-static \ --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \ --with-dist-version=%{version}-%{release} make %{?_smp_mflags} %check make check %install make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la %find_lang %{name} %files -f %{name}.lang %{_sysconfdir}/dbus-1/system.d/nm-fortisslvpn-service.conf %{_prefix}/lib/NetworkManager/VPN/nm-fortisslvpn-service.name %{_libexecdir}/nm-fortisslvpn-service %{_libexecdir}/nm-fortisslvpn-auth-dialog %{_libdir}/pppd/%{ppp_version}/nm-fortisslvpn-pppd-plugin.so %{_sharedstatedir}/NetworkManager-fortisslvpn %doc AUTHORS README ChangeLog %license COPYING %files -n NetworkManager-fortisslvpn-gnome %{_sysconfdir}/NetworkManager/VPN/nm-fortisslvpn-service.name %{_libdir}/NetworkManager/lib*.so* %{_datadir}/gnome-vpn-properties/fortisslvpn %{_datadir}/appdata/network-manager-fortisslvpn.appdata.xml %changelog * Wed Apr 20 2016 Lubomir Rintel - 1.2.0-1 - Update to 1.2.0 release * Thu Apr 14 2016 Lubomir Rintel - 1.2.0-0.5.rc1 - Pull in newer translations and appstream metadata * Tue Apr 5 2016 Lubomir Rintel - 1.2.0-0.4.rc1 - Update to NetworkManager-fortisslvpn 1.2-rc1 * Tue Mar 29 2016 Lubomir Rintel - 1.2.0-0.4.beta3 - Update to NetworkManager-fortisslvpn 1.2-beta3 * Tue Mar 1 2016 Lubomir Rintel - 1.2.0-0.4.beta2 - Update to NetworkManager-fortisslvpn 1.2-beta2 * Wed Feb 03 2016 Fedora Release Engineering - 1.2.0-0.4.beta1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 19 2016 Lubomir Rintel - 1.2.0-0.3.beta1 - Update to NetworkManager-fortisslvpn 1.2-beta1 * Tue Oct 27 2015 Lubomir Rintel - 1.2.0-0.2.20151023git54599865 - Fix el7 build * Fri Oct 23 2015 Lubomir Rintel - 1.2.0-0.1.20151023git54599865 - A bit newer git snapshot * Sat Oct 03 2015 Lubomir Rintel - 1.2.0-0.1.20151003gitf89ab1f0 - Update to 1.2 git snapshot with libnm-based properties plugin * Sat Oct 03 2015 Lubomir Rintel - 1.0.6-1 - Bump to a newer release * Tue Sep 29 2015 Lubomir Rintel - 1.0.0-2 - Version BRs wherever appropriate * Wed Sep 16 2015 Lubomir Rintel - 1.0.0-1 - Initial packaging