Accepting request 606377 from GNOME:Next
- Update to version 1.4.4: + Fixed paths when building without libnm-glib. + Fixed proposal tooltips. + Updated translations. - Pass --without-libnm-glib, no longer build deprecated libnm-glib support, following this, drop pkgconfig(NetworkManager), pkgconfig(libnm-glib), pkgconfig(libnm-glib-vpn), pkgconfig(libnm-gtk) and pkgconfig(libnm-util) BuildRequires. - Add pkgconfig(libnm) BuildRequires. - Add explicit --with-charon=%%{_libexecdir}/ipsec/charon-nm to configure. - Drop unneeded NetworkManager-gnome Requires from gnome sub-package, it is no longer of use for us. OBS-URL: https://build.opensuse.org/request/show/606377 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/NetworkManager-strongswan?expand=0&rev=28
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: NetworkManager-strongswan
|
||||
Version: 1.4.3
|
||||
Version: 1.4.4
|
||||
Release: 0
|
||||
Summary: NetworkManager VPN support for strongSwan
|
||||
License: GPL-2.0-or-later
|
||||
@@ -27,17 +27,13 @@ Source0: http://download.strongswan.org/NetworkManager/%{name}-%{version}
|
||||
Source1: README
|
||||
BuildRequires: intltool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(NetworkManager) >= 1.1.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
|
||||
BuildRequires: pkgconfig(libnm-glib)
|
||||
BuildRequires: pkgconfig(libnm-glib-vpn)
|
||||
BuildRequires: pkgconfig(libnm-gtk) >= 1.1.0
|
||||
BuildRequires: pkgconfig(libnm-util)
|
||||
BuildRequires: pkgconfig(libnm)
|
||||
BuildRequires: pkgconfig(libnma) >= 1.1.0
|
||||
BuildRequires: pkgconfig(libsecret-1)
|
||||
Requires: %{name}-frontend
|
||||
Requires: NetworkManager >= 0.9.0
|
||||
Requires: strongswan-nm >= 5.0.1
|
||||
Requires: NetworkManager >= 1.1.0
|
||||
Requires: strongswan-nm >= 5.6.2
|
||||
Recommends: %{name}-lang
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
@@ -49,7 +45,6 @@ strongSwan.
|
||||
Summary: NetworkManager VPN support for strongSwan
|
||||
Group: Productivity/Networking/System
|
||||
Requires: %{name} = %{version}
|
||||
Requires: NetworkManager-gnome >= 0.5.1
|
||||
Provides: %{name}-frontend
|
||||
|
||||
%description gnome
|
||||
@@ -63,8 +58,10 @@ strongSwan.
|
||||
cp %{SOURCE1} README.SUSE
|
||||
|
||||
%build
|
||||
%configure\
|
||||
%configure \
|
||||
--disable-static \
|
||||
--without-libnm-glib \
|
||||
--with-charon=%{_libexecdir}/ipsec/charon-nm \
|
||||
--disable-more-warnings
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@@ -75,16 +72,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%files
|
||||
%doc README.SUSE
|
||||
%dir %{_sysconfdir}/NetworkManager/VPN
|
||||
%config %{_sysconfdir}/NetworkManager/VPN/nm-strongswan-service.name
|
||||
%dir %{_libexecdir}/NetworkManager
|
||||
%dir %{_libexecdir}/NetworkManager/VPN
|
||||
%{_libexecdir}/NetworkManager/VPN/nm-strongswan-service.name
|
||||
%{_libdir}/NetworkManager/libnm-vpn-plugin-strongswan.so
|
||||
|
||||
%files gnome
|
||||
%{_libdir}/NetworkManager/libnm-strongswan-properties.so
|
||||
%{_libexecdir}/nm-strongswan-auth-dialog
|
||||
%{_libexecdir}/NetworkManager/nm-strongswan-auth-dialog
|
||||
%{_datadir}/gnome-vpn-properties/
|
||||
%{_datadir}/appdata/NetworkManager-strongswan.appdata.xml
|
||||
|
||||
|
Reference in New Issue
Block a user