Drop libnm-glib for Fedora 28
This commit is contained in:
parent
d44c9c869d
commit
f1cd29acb1
@ -1,10 +1,17 @@
|
||||
%if 0%{?fedora} < 28 && 0%{?rhel} < 8
|
||||
%bcond_without libnm_glib
|
||||
%else
|
||||
# Disable the legacy version by default
|
||||
%bcond_with libnm_glib
|
||||
%endif
|
||||
|
||||
%global nm_version 1:1.2.0
|
||||
%global nma_version 1.2.0
|
||||
|
||||
Summary: NetworkManager VPN plug-in for IPsec VPN
|
||||
Name: NetworkManager-libreswan
|
||||
Version: 1.2.4
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2+
|
||||
URL: http://www.gnome.org/projects/NetworkManager/
|
||||
Group: System Environment/Base
|
||||
@ -13,13 +20,16 @@ Source0: https://download.gnome.org/sources/NetworkManager-libreswan/1.2/%{nam
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: libnl3-devel
|
||||
BuildRequires: NetworkManager-devel >= %{nm_version}
|
||||
BuildRequires: NetworkManager-glib-devel >= %{nm_version}
|
||||
BuildRequires: NetworkManager-libnm-devel >= %{nm_version}
|
||||
BuildRequires: libnm-gtk-devel >= %{nma_version}
|
||||
BuildRequires: libnma-devel >= %{nma_version}
|
||||
BuildRequires: libsecret-devel
|
||||
BuildRequires: intltool gettext
|
||||
|
||||
%if %with libnm_glib
|
||||
BuildRequires: NetworkManager-glib-devel >= %{nm_version}
|
||||
BuildRequires: libnm-gtk-devel >= %{nma_version}
|
||||
%endif
|
||||
|
||||
Requires: NetworkManager >= %{nm_version}
|
||||
Requires: dbus
|
||||
Requires: /usr/sbin/ipsec
|
||||
@ -55,6 +65,9 @@ the libreswan server with NetworkManager (GNOME files).
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
%if %without libnm_glib
|
||||
--without-libnm-glib \
|
||||
%endif
|
||||
--enable-more-warnings=yes \
|
||||
--with-dist-version=%{version}-%{release}
|
||||
make %{?_smp_mflags}
|
||||
@ -82,15 +95,20 @@ update-desktop-database &> /dev/null || :
|
||||
|
||||
%files -n NetworkManager-libreswan-gnome
|
||||
%{_libexecdir}/nm-libreswan-auth-dialog
|
||||
%{_libdir}/NetworkManager/libnm-*-properties.so
|
||||
%{_libdir}/NetworkManager/libnm-vpn-plugin-libreswan-editor.so
|
||||
%dir %{_datadir}/gnome-vpn-properties/libreswan
|
||||
%{_datadir}/gnome-vpn-properties/libreswan/nm-libreswan-dialog.ui
|
||||
%{_sysconfdir}/NetworkManager/VPN/nm-libreswan-service.name
|
||||
%{_datadir}/appdata/network-manager-libreswan.metainfo.xml
|
||||
|
||||
%if %with libnm_glib
|
||||
%{_libdir}/NetworkManager/libnm-*-properties.so
|
||||
%{_sysconfdir}/NetworkManager/VPN/nm-libreswan-service.name
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Nov 30 2017 Lubomir Rintel <lkundrak@v3.sk> - 1.2.4-4
|
||||
- Drop libnm-glib for Fedora 28
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user