|
|
|
@ -1,24 +1,31 @@
|
|
|
|
|
%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
|
|
|
|
|
%global real_version 1.2.14
|
|
|
|
|
%global rpm_version 1.2.14
|
|
|
|
|
%global release_version 1
|
|
|
|
|
|
|
|
|
|
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p')
|
|
|
|
|
|
|
|
|
|
%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.10
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: %{rpm_version}
|
|
|
|
|
Release: %{release_version}%{?dist}.3
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://www.gnome.org/projects/NetworkManager/
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
Source0: https://download.gnome.org/sources/NetworkManager-libreswan/1.2/%{name}-%{version}.tar.xz
|
|
|
|
|
Patch0: 0001-po-import-translations-from-Red-Hat-translators.patch
|
|
|
|
|
Patch1: 0002-properties-set-advanced-dialog-modal.patch
|
|
|
|
|
Source0: https://download.gnome.org/sources/NetworkManager-libreswan/%{real_version_major}/%{name}-%{real_version}.tar.xz
|
|
|
|
|
|
|
|
|
|
#Patch1: 0001-some.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
|
BuildRequires: libnl3-devel
|
|
|
|
|
BuildRequires: NetworkManager-libnm-devel >= %{nm_version}
|
|
|
|
@ -43,13 +50,14 @@ Obsoletes: NetworkManager-openswan < %{version}-%{release}
|
|
|
|
|
%global __provides_exclude ^(%{_privatelibs})$
|
|
|
|
|
%global __requires_exclude ^(%{_privatelibs})$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package contains software for integrating the libreswan VPN software
|
|
|
|
|
with NetworkManager and the GNOME desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n NetworkManager-libreswan-gnome
|
|
|
|
|
Summary: NetworkManager VPN plugin for libreswan - GNOME files
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: shared-mime-info
|
|
|
|
@ -61,8 +69,10 @@ Obsoletes: NetworkManager-openswan-gnome < %{version}-%{release}
|
|
|
|
|
This package contains software for integrating VPN capabilities with
|
|
|
|
|
the libreswan server with NetworkManager (GNOME files).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n %{name}-%{version}
|
|
|
|
|
%autosetup -p1 -n "%{name}-%{real_version}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure \
|
|
|
|
@ -74,18 +84,13 @@ the libreswan server with NetworkManager (GNOME files).
|
|
|
|
|
--with-dist-version=%{version}-%{release}
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-libreswan.so
|
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/nm-libreswan-service.conf
|
|
|
|
@ -96,6 +101,7 @@ update-desktop-database &> /dev/null || :
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n NetworkManager-libreswan-gnome
|
|
|
|
|
%{_libexecdir}/nm-libreswan-auth-dialog
|
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-libreswan-editor.so
|
|
|
|
@ -108,31 +114,46 @@ update-desktop-database &> /dev/null || :
|
|
|
|
|
%{_sysconfdir}/NetworkManager/VPN/nm-libreswan-service.name
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jul 9 2019 Francesco Giudici <fgiudici@redhat.com> - 1.2.10-4
|
|
|
|
|
- Fix Gnome IPsec advanced options dialog (rh #1697329)
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.14-1.3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Mon Dec 10 2018 Lubomir Rintel <lkundrak@v3.sk> - 1.2.10-3
|
|
|
|
|
- Update the translations (rh #1608329)
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.14-1.2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Thu Oct 16 2018 Lubomir Rintel <lkundrak@v3.sk> - 1.2.10-2
|
|
|
|
|
- Import the translations (rh #1608329)
|
|
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.14-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Oct 15 2018 Francesco Giudici <fgiudici@redhat.com> - 1.2.10-1
|
|
|
|
|
- Update to 1.2.10 release (rh #1637867)
|
|
|
|
|
- Fix import functionality (rh #1633174)
|
|
|
|
|
* Tue Jan 12 2021 Beniamino Galvani <bgalvani@redhat.com> - 1.2.14-1
|
|
|
|
|
- Update to 1.2.14 release
|
|
|
|
|
|
|
|
|
|
* Wed Oct 3 2018 Beniamino Galvani <bgalvani@redhat.com> - 1.2.8-2
|
|
|
|
|
- Rebuild with updated annobin (rh #1630605)
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-1.2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Sep 17 2018 Francesco Giudici <fgiudici@redhat.com> - 1.2.8-1
|
|
|
|
|
- Update to 1.2.8 release
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Aug 13 2018 Francesco Giudici <fgiudici@redhat.com> - 1.2.8-0.1
|
|
|
|
|
- Update to latest development snapshot of NetworkManager-libreswan 1.2.8
|
|
|
|
|
- Introduced IKEv2 support (rh #1557035)
|
|
|
|
|
- Introduced support to more Libreswan properties (rh #1557035)
|
|
|
|
|
- Updated translations
|
|
|
|
|
* Wed Jul 31 2019 Francesco Giudici <fgiudici@redhat.com> - 1.2.12-1
|
|
|
|
|
- Updated to 1.2.12
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.10-1.2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.10-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 18 2018 Francesco Giudici <fgiudici@redhat.com> - 1.2.10-1
|
|
|
|
|
- Updated to 1.2.10
|
|
|
|
|
- Import latest translations from upstream
|
|
|
|
|
|
|
|
|
|
* Wed Aug 22 2018 Paul Wouters <pwouters@redhat.com> - 1.2.6-1
|
|
|
|
|
- Updated to 1.2.6
|
|
|
|
|
- Upstream patches for IKEv2 support
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|