12
0

Accepting request 1112165 from home:KaratekHD:branches:GNOME:Factory

- Update to version 1.6.0
 + Support for GTK4
 + Removed libnm-glib compatibility
- Add pkgconfig(gtk4) because the new version requires this 
- Add pkgconfig(libnma-gtk4) because the new version requires this

OBS-URL: https://build.opensuse.org/request/show/1112165
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/NetworkManager-strongswan?expand=0&rev=45
This commit is contained in:
2023-09-20 01:57:54 +00:00
committed by Git OBS Bridge
parent d72f23dcc8
commit 963cb290b0
7 changed files with 71 additions and 44 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package NetworkManager-strongswan
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: NetworkManager-strongswan
Version: 1.5.2
Version: 1.6.0
Release: 0
Summary: NetworkManager VPN support for strongSwan
License: GPL-2.0-or-later
@@ -30,9 +30,12 @@ Source99: README
BuildRequires: intltool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libnm)
BuildRequires: pkgconfig(libnma) >= 1.1.0
BuildRequires: pkgconfig(libnma-gtk4)
BuildRequires: pkgconfig(libsecret-1)
Requires: %{name}-frontend
Requires: NetworkManager >= 1.1.0
Requires: strongswan-nm >= 5.8.3
@@ -64,7 +67,8 @@ cp %{SOURCE99} README.SUSE
--without-libnm-glib \
--with-charon=%{_libexecdir}/ipsec/charon-nm \
--with-nm_libexecdir=%{_libexecdir} \
--disable-more-warnings
--disable-more-warnings \
--with-gtk4
%make_build
%install
@@ -79,7 +83,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files gnome
%{_libexecdir}/nm-strongswan-auth-dialog
%{_datadir}/gnome-vpn-properties/
%{_libdir}/NetworkManager/libnm-gtk4-vpn-plugin-strongswan-editor.so
%{_libdir}/NetworkManager/libnm-vpn-plugin-strongswan-editor.so
%{_datadir}/metainfo/NetworkManager-strongswan.metainfo.xml
%files lang -f %{name}.lang