%global ppp_ver %(rpm -q --queryformat "%{VERSION}" ppp) Summary: L2TP and L2TP/IPsec support for NetworkManager Name: networkmanager-l2tp Version: 1.2.10 Release: %mkrel 3 License: GPLv2+ Group: System/Networking URL: https://github.com/nm-l2tp/network-manager-l2tp Source0: https://github.com/nm-l2tp/network-manager-l2tp/archive/%{version}/network-manager-l2tp-%{version}.tar.gz Patch0: 0001-Fix-build-with-Wl-no-undefined.patch BuildRequires: gettext-devel BuildRequires: intltool BuildRequires: ppp-devel BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libnma) BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libnm) BuildRequires: pkgconfig(libnm-gtk) BuildRequires: pkgconfig(libnm-glib) Requires: networkmanager Requires: ppp = %{ppp_ver} Requires: gnome-keyring Requires: xl2tpd Recommends: openswan %description This package contains software for integrating the L2TP VPN with NetworkManager and the GNOME desktop. %prep %setup -qn network-manager-l2tp-%{version} %autopatch -p1 %build intltoolize -f autoreconf -vfi %configure2_5x \ --enable-maintainer-mode \ --disable-static \ --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_ver} %make_build V=1 %install %make_install # replaced by file in /usr/lib/NetworkManager/VPN/ rm -rf %{buildroot}%{_sysconfdir}/NetworkManager/VPN/nm-l2tp-service.name find %{buildroot} -name '*.la' -delete %find_lang NetworkManager-l2tp %files -f NetworkManager-l2tp.lang %doc AUTHORS README.md %{_prefix}/lib/NetworkManager/VPN/nm-l2tp-service.name %{_libdir}/NetworkManager/libnm-l2tp-properties.so %{_libdir}/NetworkManager/libnm-vpn-plugin-l2tp-editor.so %{_libdir}/NetworkManager/libnm-vpn-plugin-l2tp.so %{_libdir}/pppd/%{ppp_ver}/nm-l2tp-pppd-plugin.so %{_libexecdir}/nm-l2tp-auth-dialog %{_libexecdir}/nm-l2tp-service %{_sysconfdir}/dbus-1/system.d/nm-l2tp-service.conf %{_datadir}/appdata/network-manager-l2tp.metainfo.xml %changelog * Sun Sep 23 2018 umeabot <umeabot> 1.2.10-3.mga7 (not released yet) + Revision: 1299723 - Mageia 7 Mass Rebuild * Fri Jul 06 2018 wally <wally> 1.2.10-2.mga7 + Revision: 1242313 - add patch to fix linking * Sun Jul 01 2018 guillomovitch <guillomovitch> 1.2.10-1.mga7 + Revision: 1241040 - new version 1.2.10 * Tue Oct 03 2017 wally <wally> 1.2.8-1.mga7 + Revision: 1167960 - new version 1.2.8 - update URL and rpm group - only recommend libreswan - add strict version requires for ppp * Tue Feb 09 2016 umeabot <umeabot> 0.9.8.7-6.mga6 + Revision: 952715 - Mageia 6 Mass Rebuild * Mon Feb 01 2016 umeabot <umeabot> 0.9.8.7-5.mga6 + Revision: 930506 - Mageia 6 Mass Rebuild * Mon May 11 2015 tmb <tmb> 0.9.8.7-4.mga5 + Revision: 821741 - submit to release * Fri May 08 2015 tmb <tmb> 0.9.8.7-3.mga5 + Revision: 821482 - rebuild against NM 1.0.2 * Wed Oct 15 2014 umeabot <umeabot> 0.9.8.7-2.mga5 + Revision: 743031 - Second Mageia 5 Mass Rebuild * Thu Oct 02 2014 alexl <alexl> 0.9.8.7-1.mga5 + Revision: 735789 - new version 0.9.8.7 with fixed IPSec setup * Tue Sep 16 2014 umeabot <umeabot> 0.9.8.6-3.mga5 + Revision: 682868 - Mageia 5 Mass Rebuild * Sat Apr 05 2014 alexl <alexl> 0.9.8.6-2.mga5 + Revision: 612043 - clean spec - move Epoch - use pkgconfig() - move unneeded Requires - move *.la * Sat Apr 05 2014 alexl <alexl> 1:0.9.8.6-1.mga5 + Revision: 611850 - imported package networkmanager-l2tp * Mon Jun 03 2013 AlexL <loginov.alex.valer@gmail.com> - update to new version * Tue Oct 23 2012 AlexL <loginov.alex.valer@gmail.com> - first build for Mageia