|
|
d2bf7b4 |
%global ppp_version %(rpm -q ppp --queryformat '%{VERSION}')
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
Summary: NetworkManager VPN plugin for Fortinet compatible SSLVPN
|
|
|
d2bf7b4 |
Name: NetworkManager-fortisslvpn
|
|
|
4505dc4 |
Version: 1.0.6
|
|
|
4505dc4 |
Release: 1%{?dist}
|
|
|
d2bf7b4 |
License: GPLv2+
|
|
|
d2bf7b4 |
URL: http://www.gnome.org/projects/NetworkManager/
|
|
|
d2bf7b4 |
Group: System Environment/Base
|
|
|
d2bf7b4 |
Source0: https://download.gnome.org/sources/NetworkManager-fortisslvpn/1.0/%{name}-%{version}.tar.xz
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
BuildRequires: gtk3-devel >= 3.4
|
|
|
d2bf7b4 |
BuildRequires: dbus-devel >= 0.74
|
|
|
d2bf7b4 |
BuildRequires: NetworkManager-devel >= 1:0.9.10
|
|
|
d2bf7b4 |
BuildRequires: NetworkManager-glib-devel >= 1:0.9.10
|
|
|
d2bf7b4 |
BuildRequires: glib2-devel >= 2.32
|
|
|
d2bf7b4 |
BuildRequires: ppp-devel
|
|
|
d2bf7b4 |
BuildRequires: libtool intltool gettext
|
|
|
d2bf7b4 |
BuildRequires: libsecret-devel
|
|
|
d2bf7b4 |
BuildRequires: libnm-gtk-devel >= 1.0.4
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
Requires: gtk3
|
|
|
d2bf7b4 |
Requires: dbus
|
|
|
d2bf7b4 |
Requires: NetworkManager
|
|
|
d2bf7b4 |
Requires: openfortivpn
|
|
|
d2bf7b4 |
Requires: ppp = %{ppp_version}
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%global _privatelibs libnm-fortisslvpn-properties[.]so.*
|
|
|
d2bf7b4 |
%global __provides_exclude ^(%{_privatelibs})$
|
|
|
d2bf7b4 |
%global __requires_exclude ^(%{_privatelibs})$
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%description
|
|
|
d2bf7b4 |
This package contains software for integrating VPN capabilities with
|
|
|
d2bf7b4 |
the Fortinet compatible SSLVPN server with NetworkManager.
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%package -n NetworkManager-fortisslvpn-gnome
|
|
|
d2bf7b4 |
Summary: NetworkManager VPN plugin for SSLVPN - GNOME files
|
|
|
d2bf7b4 |
Group: System Environment/Base
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
d2bf7b4 |
Requires: nm-connection-editor
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%description -n NetworkManager-fortisslvpn-gnome
|
|
|
d2bf7b4 |
This package contains software for integrating VPN capabilities with
|
|
|
d2bf7b4 |
the Fortinet compatible SSLVPN server with NetworkManager (GNOME files).
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%prep
|
|
|
d2bf7b4 |
%setup -q
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%build
|
|
|
d2bf7b4 |
%configure \
|
|
|
d2bf7b4 |
--disable-static \
|
|
|
d2bf7b4 |
--enable-more-warnings=yes \
|
|
|
d2bf7b4 |
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
|
|
|
d2bf7b4 |
--with-dist-version=%{version}-%{release}
|
|
|
d2bf7b4 |
make %{?_smp_mflags}
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%check
|
|
|
d2bf7b4 |
make check
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%install
|
|
|
d2bf7b4 |
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
|
|
d2bf7b4 |
rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%find_lang %{name}
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%files -f %{name}.lang
|
|
|
d2bf7b4 |
%{_sysconfdir}/dbus-1/system.d/nm-fortisslvpn-service.conf
|
|
|
d2bf7b4 |
%{_sysconfdir}/NetworkManager/VPN/nm-fortisslvpn-service.name
|
|
|
d2bf7b4 |
%{_libexecdir}/nm-fortisslvpn-service
|
|
|
d2bf7b4 |
%{_libexecdir}/nm-fortisslvpn-auth-dialog
|
|
|
d2bf7b4 |
%{_libdir}/pppd/%{ppp_version}/nm-fortisslvpn-pppd-plugin.so
|
|
|
4505dc4 |
%{_sharedstatedir}/NetworkManager-fortisslvpn
|
|
|
d2bf7b4 |
%doc AUTHORS README ChangeLog
|
|
|
d2bf7b4 |
%license COPYING
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%files -n NetworkManager-fortisslvpn-gnome
|
|
|
d2bf7b4 |
%{_libdir}/NetworkManager/lib*.so*
|
|
|
d2bf7b4 |
%{_datadir}/gnome-vpn-properties/fortisslvpn
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
%changelog
|
|
|
4505dc4 |
* Sat Oct 03 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.0.6-1
|
|
|
4505dc4 |
- Bump to a newer release
|
|
|
4505dc4 |
|
|
|
d2bf7b4 |
* Tue Sep 29 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.0.0-2
|
|
|
d2bf7b4 |
- Version BRs wherever appropriate
|
|
|
d2bf7b4 |
|
|
|
d2bf7b4 |
* Wed Sep 16 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.0.0-1
|
|
|
d2bf7b4 |
- Initial packaging
|