| |
@@ -5,12 +5,19 @@
|
| |
%bcond_with libnm_glib
|
| |
%endif
|
| |
|
| |
+ %if 0%{?fedora} < 36 && 0%{?rhel} < 10
|
| |
+ %bcond_with gtk4
|
| |
+ %else
|
| |
+ # Use GTK4 for Fedora 36
|
| |
+ %bcond_without gtk4
|
| |
+ %endif
|
| |
+
|
| |
# Uses common git repository with strongswan:
|
| |
# https://github.com/strongswan/strongswan/tree/master/src/frontends/gnome
|
| |
|
| |
Name: NetworkManager-strongswan
|
| |
- Version: 1.5.2
|
| |
- Release: 2%{?dist}
|
| |
+ Version: 1.6.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: NetworkManager strongSwan IPSec VPN plug-in
|
| |
License: GPLv2+
|
| |
URL: https://www.strongswan.org/
|
| |
@@ -29,6 +36,11 @@
|
| |
BuildRequires: gnupg2
|
| |
%endif
|
| |
|
| |
+ %if %{with gtk4}
|
| |
+ BuildRequires: pkgconfig(gtk4)
|
| |
+ BuildRequires: pkgconfig(libnma-gtk4)
|
| |
+ %endif
|
| |
+
|
| |
%if %{with libnm_glib}
|
| |
BuildRequires: pkgconfig(dbus-glib-1) >= 0.30
|
| |
BuildRequires: pkgconfig(NetworkManager) >= 1.1.0
|
| |
@@ -68,6 +80,9 @@
|
| |
%build
|
| |
%configure \
|
| |
--disable-static \
|
| |
+ %if %{with gtk4}
|
| |
+ --with-gtk4 \
|
| |
+ %endif
|
| |
%if %{without libnm_glib}
|
| |
--without-libnm-glib \
|
| |
%endif
|
| |
@@ -88,7 +103,12 @@
|
| |
|
| |
|
| |
%files gnome
|
| |
+ %if %{with gtk4}
|
| |
+ %{_libdir}/NetworkManager/libnm-gtk4-vpn-plugin-strongswan-editor.so
|
| |
+ %{_libdir}/NetworkManager/libnm-vpn-plugin-strongswan-editor.so
|
| |
+ %else
|
| |
%{_datadir}/gnome-vpn-properties/strongswan
|
| |
+ %endif
|
| |
%{_prefix}/lib/NetworkManager/nm-strongswan-auth-dialog
|
| |
%{_libdir}/NetworkManager/libnm-vpn-plugin-strongswan.so
|
| |
%{_datadir}/metainfo/NetworkManager-strongswan.metainfo.xml
|
| |
@@ -100,6 +120,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Tue May 31 2022 Anatolii Vorona <vorona.tolik@gmail.com> - 1.6.0-1
|
| |
+ - Update to 1.6.0
|
| |
+
|
| |
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
| |
|
| |
Update to 1.6.0 for f36 with gtk4
resolves https://bugzilla.redhat.com/show_bug.cgi?id=2081321
the build only works on f36 and rawhide because it requires libnma-gtk4 which is not available on other systems.