2010-12-06 14:44:14 +01:00
|
|
|
#
|
2011-09-29 10:10:27 +02:00
|
|
|
# spec file for package NetworkManager-strongswan
|
2010-12-06 14:44:14 +01:00
|
|
|
#
|
2024-03-29 11:51:33 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2010-12-06 14:44:14 +01: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-10-04 17:21:48 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-12-06 14:44:14 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: NetworkManager-strongswan
|
2023-09-20 03:57:54 +02:00
|
|
|
Version: 1.6.0
|
2013-03-13 23:45:37 +01:00
|
|
|
Release: 0
|
2010-12-06 14:44:14 +01:00
|
|
|
Summary: NetworkManager VPN support for strongSwan
|
2018-03-05 15:02:42 +01:00
|
|
|
License: GPL-2.0-or-later
|
2010-12-06 14:44:14 +01:00
|
|
|
Group: Productivity/Networking/System
|
2021-06-15 13:24:09 +02:00
|
|
|
URL: https://www.strongswan.org/
|
|
|
|
Source0: https://download.strongswan.org/NetworkManager/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: https://download.strongswan.org/NetworkManager/%{name}-%{version}.tar.bz2.sig
|
2018-05-29 14:20:15 +02:00
|
|
|
Source2: %{name}.keyring
|
2018-06-11 22:14:09 +02:00
|
|
|
Source99: README
|
2010-12-06 14:44:14 +01:00
|
|
|
BuildRequires: intltool
|
2016-09-16 23:54:52 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
|
2023-09-20 03:57:54 +02:00
|
|
|
BuildRequires: pkgconfig(gtk4)
|
2018-05-14 13:01:47 +02:00
|
|
|
BuildRequires: pkgconfig(libnm)
|
2016-09-16 23:54:52 +02:00
|
|
|
BuildRequires: pkgconfig(libnma) >= 1.1.0
|
2023-09-20 03:57:54 +02:00
|
|
|
BuildRequires: pkgconfig(libnma-gtk4)
|
2016-09-16 23:54:52 +02:00
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
2023-09-20 03:57:54 +02:00
|
|
|
|
2018-05-14 13:01:47 +02:00
|
|
|
Requires: NetworkManager >= 1.1.0
|
2020-05-05 12:09:19 +02:00
|
|
|
Requires: strongswan-nm >= 5.8.3
|
2023-12-04 14:34:20 +01:00
|
|
|
Supplements: (NetworkManager and strongswan-nm)
|
2010-12-06 14:44:14 +01:00
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
|
|
|
%description
|
|
|
|
NetworkManager-strongswan provides VPN support to NetworkManager for
|
|
|
|
strongSwan.
|
|
|
|
|
2023-12-04 14:34:20 +01:00
|
|
|
%package -n NetworkManager-applet-strongswan
|
2010-12-06 14:44:14 +01:00
|
|
|
Summary: NetworkManager VPN support for strongSwan
|
|
|
|
Group: Productivity/Networking/System
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Provides: %{name}-frontend
|
2023-12-04 14:34:20 +01:00
|
|
|
Provides: %{name}-gnome = %{version}
|
|
|
|
Obsoletes: %{name}-gnome
|
|
|
|
Supplements: (%{name} and NetworkManager-applet)
|
2024-03-29 11:51:33 +01:00
|
|
|
Supplements: (%{name} and gnome-control-center)
|
2010-12-06 14:44:14 +01:00
|
|
|
|
2023-12-04 14:34:20 +01:00
|
|
|
%description -n NetworkManager-applet-strongswan
|
2010-12-06 14:44:14 +01:00
|
|
|
NetworkManager-strongswan provides VPN support to NetworkManager for
|
|
|
|
strongSwan.
|
|
|
|
|
|
|
|
%lang_package
|
2018-03-05 15:02:42 +01:00
|
|
|
|
2010-12-06 14:44:14 +01:00
|
|
|
%prep
|
2019-10-04 17:21:48 +02:00
|
|
|
%autosetup -p1
|
2018-06-11 22:14:09 +02:00
|
|
|
cp %{SOURCE99} README.SUSE
|
2010-12-06 14:44:14 +01:00
|
|
|
|
|
|
|
%build
|
2018-05-14 13:01:47 +02:00
|
|
|
%configure \
|
2014-04-02 11:36:29 +02:00
|
|
|
--disable-static \
|
2018-05-14 13:01:47 +02:00
|
|
|
--without-libnm-glib \
|
|
|
|
--with-charon=%{_libexecdir}/ipsec/charon-nm \
|
2020-05-05 12:09:19 +02:00
|
|
|
--with-nm_libexecdir=%{_libexecdir} \
|
2023-09-20 03:57:54 +02:00
|
|
|
--disable-more-warnings \
|
|
|
|
--with-gtk4
|
2019-10-04 17:21:48 +02:00
|
|
|
%make_build
|
2010-12-06 14:44:14 +01:00
|
|
|
|
|
|
|
%install
|
2018-03-05 15:02:42 +01:00
|
|
|
%make_install
|
2011-09-29 10:25:39 +02:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2018-03-05 15:02:42 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-12-06 14:44:14 +01:00
|
|
|
|
|
|
|
%files
|
2010-12-06 16:16:38 +01:00
|
|
|
%doc README.SUSE
|
2020-05-01 13:39:42 +02:00
|
|
|
%{_vpnservicedir}/nm-strongswan-service.name
|
2016-09-16 23:54:52 +02:00
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-strongswan.so
|
2010-12-06 14:44:14 +01:00
|
|
|
|
2023-12-04 14:34:20 +01:00
|
|
|
%files -n NetworkManager-applet-strongswan
|
2020-05-04 14:16:40 +02:00
|
|
|
%{_libexecdir}/nm-strongswan-auth-dialog
|
2023-09-20 03:57:54 +02:00
|
|
|
%{_libdir}/NetworkManager/libnm-gtk4-vpn-plugin-strongswan-editor.so
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-strongswan-editor.so
|
2021-06-15 13:24:09 +02:00
|
|
|
%{_datadir}/metainfo/NetworkManager-strongswan.metainfo.xml
|
2010-12-06 14:44:14 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|