2011-11-27 15:18:36 +00:00
|
|
|
#
|
|
|
|
# spec file for package NetworkManager-openconnect
|
|
|
|
#
|
2024-03-29 10:51:29 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-11-27 15:18:36 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-08-09 21:44:07 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-11-27 15:18:36 +00:00
|
|
|
#
|
|
|
|
|
2012-03-11 17:37:01 +00:00
|
|
|
|
2011-11-27 15:18:36 +00:00
|
|
|
Name: NetworkManager-openconnect
|
2023-05-22 14:08:23 +00:00
|
|
|
Version: 1.2.10
|
2012-03-11 17:37:01 +00:00
|
|
|
Release: 0
|
2011-11-27 15:18:36 +00:00
|
|
|
Summary: NetworkManager VPN support for OpenConnect
|
2018-03-05 14:02:13 +00:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-only
|
2011-11-27 15:18:36 +00:00
|
|
|
Group: Productivity/Networking/System
|
2018-03-05 14:02:13 +00:00
|
|
|
URL: http://www.gnome.org/projects/NetworkManager
|
2019-08-09 21:44:07 +00:00
|
|
|
Source0: https://download.gnome.org/sources/NetworkManager-openconnect/1.2/%{name}-%{version}.tar.xz
|
2021-06-04 16:55:56 +00:00
|
|
|
Source1: system-user-nm-openconnect.conf
|
2023-05-22 14:08:23 +00:00
|
|
|
|
2022-10-29 07:07:33 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2011-11-27 15:18:36 +00:00
|
|
|
BuildRequires: intltool
|
2023-05-22 14:08:23 +00:00
|
|
|
BuildRequires: libtool
|
2022-03-14 11:21:21 +00:00
|
|
|
BuildRequires: libxml2-tools
|
2018-03-05 14:02:13 +00:00
|
|
|
BuildRequires: pkgconfig
|
2021-09-20 10:07:38 +00:00
|
|
|
BuildRequires: sysuser-tools
|
2011-11-27 15:18:36 +00:00
|
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
2019-08-09 21:44:07 +00:00
|
|
|
BuildRequires: pkgconfig(gcr-3) >= 3.4
|
2014-07-12 20:08:10 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.4
|
2022-03-14 11:21:21 +00:00
|
|
|
BuildRequires: pkgconfig(gtk4) >= 4.0
|
2016-09-08 21:24:08 +00:00
|
|
|
BuildRequires: pkgconfig(libnm) >= 1.1.0
|
2022-03-14 11:21:21 +00:00
|
|
|
BuildRequires: pkgconfig(libnma-gtk4) >= 1.8.33
|
2014-07-12 20:08:10 +00:00
|
|
|
BuildRequires: pkgconfig(libsecret-unstable)
|
2011-11-27 15:18:36 +00:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2015-03-19 14:35:18 +00:00
|
|
|
BuildRequires: pkgconfig(openconnect) >= 3.02
|
2023-05-22 14:08:23 +00:00
|
|
|
BuildRequires: pkgconfig(webkit2gtk-4.1)
|
2016-09-08 21:24:08 +00:00
|
|
|
Requires: NetworkManager >= 1.1.0
|
2011-11-27 15:18:36 +00:00
|
|
|
Requires: openconnect
|
2023-12-04 13:34:14 +00:00
|
|
|
Supplements: (NetworkManager and openconnect)
|
2021-06-04 16:55:56 +00:00
|
|
|
%sysusers_requires
|
2011-11-27 15:18:36 +00:00
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
|
|
|
%description
|
|
|
|
NetworkManager-openconnect provides VPN support to NetworkManager for
|
|
|
|
OpenConnect, an implementation of the Cisco AnyConnect VPN system.
|
|
|
|
|
2023-12-04 13:34:14 +00:00
|
|
|
%package -n NetworkManager-applet-openconnect
|
2011-11-27 15:18:36 +00:00
|
|
|
Summary: NetworkManager VPN support for OpenConnect
|
2012-03-11 17:37:01 +00:00
|
|
|
Group: Productivity/Networking/System
|
2011-11-27 15:18:36 +00:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Provides: %{name}-frontend
|
2023-12-04 13:34:14 +00:00
|
|
|
Provides: %{name}-gnome = %{version}
|
|
|
|
Obsoletes: %{name}-gnome
|
|
|
|
Supplements: (%{name} and NetworkManager-applet)
|
2024-03-29 10:51:29 +00:00
|
|
|
Supplements: (%{name} and gnome-control-center)
|
2011-11-27 15:18:36 +00:00
|
|
|
|
2023-12-04 13:34:14 +00:00
|
|
|
%description -n NetworkManager-applet-openconnect
|
2011-11-27 15:18:36 +00:00
|
|
|
NetworkManager-openconnect provides VPN support to NetworkManager for
|
|
|
|
OpenConnect, an implementation of the Cisco AnyConnect VPN system.
|
|
|
|
|
|
|
|
%lang_package
|
2018-03-05 14:02:13 +00:00
|
|
|
|
2011-11-27 15:18:36 +00:00
|
|
|
%prep
|
2019-08-09 21:44:07 +00:00
|
|
|
%autosetup -p1
|
2011-11-27 15:18:36 +00:00
|
|
|
|
|
|
|
%build
|
2022-10-29 07:07:33 +00:00
|
|
|
autoreconf -fiv
|
2011-12-21 12:36:28 +00:00
|
|
|
%configure \
|
2022-03-14 11:21:21 +00:00
|
|
|
--disable-static \
|
|
|
|
--with-gtk4=yes \
|
|
|
|
%{nil}
|
2019-08-09 21:44:07 +00:00
|
|
|
%make_build
|
2021-06-25 08:34:59 +00:00
|
|
|
%sysusers_generate_pre %{SOURCE1} NetworkManager-openconnect system-user-nm-openconnect.conf
|
2011-11-27 15:18:36 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2011-12-21 12:36:28 +00:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2018-03-05 14:02:13 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2021-06-04 16:55:56 +00:00
|
|
|
mkdir -p %{buildroot}%{_sysusersdir}
|
|
|
|
install -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/
|
2011-11-27 15:18:36 +00:00
|
|
|
|
2021-06-04 16:55:56 +00:00
|
|
|
%pre -f NetworkManager-openconnect.pre
|
2011-12-21 11:51:38 +00:00
|
|
|
|
2011-11-27 15:18:36 +00:00
|
|
|
%files
|
2018-03-05 14:02:13 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog NEWS
|
2016-09-08 21:24:08 +00:00
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-openconnect.so
|
2011-11-27 15:18:36 +00:00
|
|
|
%{_libexecdir}/nm-openconnect-service
|
|
|
|
%{_libexecdir}/nm-openconnect-service-openconnect-helper
|
2020-05-01 10:42:43 +00:00
|
|
|
%{_vpnservicedir}/nm-openconnect-service.name
|
2022-10-29 07:07:33 +00:00
|
|
|
%{_datadir}/dbus-1/system.d/nm-openconnect-service.conf
|
2021-06-04 16:55:56 +00:00
|
|
|
%{_sysusersdir}/system-user-nm-openconnect.conf
|
2011-11-27 15:18:36 +00:00
|
|
|
|
2023-12-04 13:34:14 +00:00
|
|
|
%files -n NetworkManager-applet-openconnect
|
2023-05-22 14:08:23 +00:00
|
|
|
%{_datadir}/metainfo/network-manager-openconnect.metainfo.xml
|
2011-11-27 15:18:36 +00:00
|
|
|
%{_libexecdir}/nm-openconnect-auth-dialog
|
2016-12-06 12:13:14 +00:00
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-openconnect-editor.so
|
2022-03-14 11:21:21 +00:00
|
|
|
%{_libdir}/NetworkManager/libnm-gtk4-vpn-plugin-openconnect-editor.so
|
2011-11-27 15:18:36 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|