Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
NetworkManager-l2tp
NetworkManager-l2tp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File NetworkManager-l2tp.spec of Package NetworkManager-l2tp
# # spec file for package NetworkManager-l2tp # # Copyright (c) 2024 SUSE LLC # # 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/ # %define pppd_plugin_dir %(rpm -ql ppp | grep -m1 pppd/[0-9]*) Name: NetworkManager-l2tp Version: 1.20.10 Release: 0 Summary: NetworkManager VPN support for L2TP and L2TP/IPsec License: GPL-2.0-or-later Group: Productivity/Networking/System URL: https://github.com/nm-l2tp/NetworkManager-l2tp Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz BuildRequires: libxml2-tools BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: ppp-devel BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk4) >= 4.0 BuildRequires: pkgconfig(libnm) >= 1.20.0 BuildRequires: pkgconfig(libnma) >= 1.8.0 BuildRequires: pkgconfig(libnma-gtk4) >= 1.8.33 BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(nss) Requires: NetworkManager >= 1.20.0 Requires: xl2tpd Supplements: (NetworkManager and xl2tpd) %requires_eq ppp Recommends: (strongswan or libreswan) %description This package contains software for integrating L2TP and L2TP/IPsec (L2TP over IPsec) VPN support with NetworkManager. %package -n NetworkManager-applet-l2tp Summary: NetworkManager VPN support for L2TP and L2TP/IPsec Group: Productivity/Networking/System Requires: %{name} = %{version}-%{release} Provides: %{name}-gnome = %{version} Obsoletes: %{name}-gnome Supplements: (%{name} and NetworkManager-applet) Supplements: (%{name} and gnome-control-center) %description -n NetworkManager-applet-l2tp This package contains software for integrating L2TP and L2TP/IPsec (L2TP over IPsec) VPN support with NetworkManager. %lang_package %prep %autosetup -p1 %build %configure\ --disable-static \ --with-gtk4=yes \ --enable-lto=yes \ --enable-libreswan-dh2 \ --with-pppd-plugin-dir=%{pppd_plugin_dir} \ --with-dist-version=%{version}-%{release} \ runstatedir=%{_rundir} \ %{nil} %make_build %check make %{?_smp_mflags} check %install %make_install %find_lang %{name} %{?no_lang_C} find %{buildroot} -type f -name "*.la" -delete -print %pre # remove any NetworkManager-l2tp <= 1.2.10 transient ipsec-*.secrets files. rm -f %{_sysconfdir}/ipsec.d/nm-l2tp-ipsec-*.secrets exit 0 %postun if [ $1 -eq 0 ] ; then rm -f %{_sysconfdir}/ipsec.d/ipsec.nm-l2tp.secrets exit 0 fi %files %license COPYING %doc README.md NEWS %{_libdir}/NetworkManager/libnm-vpn-plugin-l2tp.so %{_libexecdir}/nm-l2tp-service %{_vpnservicedir}/nm-l2tp-service.name %{_datadir}/dbus-1/system.d/nm-l2tp-service.conf %{pppd_plugin_dir}/nm-l2tp-pppd-plugin.so %files -n NetworkManager-applet-l2tp %{_datadir}/metainfo/network-manager-l2tp.metainfo.xml %{_libdir}/NetworkManager/libnm-vpn-plugin-l2tp-editor.so %{_libdir}/NetworkManager/libnm-gtk4-vpn-plugin-l2tp-editor.so %{_libexecdir}/nm-l2tp-auth-dialog %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor