2010-12-06 13:44:14 +00:00
|
|
|
#
|
2011-09-29 08:10:27 +00:00
|
|
|
# spec file for package NetworkManager-strongswan
|
2010-12-06 13:44:14 +00:00
|
|
|
#
|
2021-06-15 11:24:09 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2010-12-06 13:44:14 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-10-04 15:21:48 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-12-06 13:44:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: NetworkManager-strongswan
|
2021-06-15 11:24:09 +00:00
|
|
|
Version: 1.5.2
|
2013-03-13 22:45:37 +00:00
|
|
|
Release: 0
|
2010-12-06 13:44:14 +00:00
|
|
|
Summary: NetworkManager VPN support for strongSwan
|
2018-03-05 14:02:42 +00:00
|
|
|
License: GPL-2.0-or-later
|
2010-12-06 13:44:14 +00:00
|
|
|
Group: Productivity/Networking/System
|
2021-06-15 11:24:09 +00:00
|
|
|
URL: https://www.strongswan.org/
|
|
|
|
Source0: https://download.strongswan.org/NetworkManager/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: https://download.strongswan.org/NetworkManager/%{name}-%{version}.tar.bz2.sig
|
2018-05-29 12:20:15 +00:00
|
|
|
Source2: %{name}.keyring
|
2018-06-11 20:14:09 +00:00
|
|
|
Source99: README
|
2010-12-06 13:44:14 +00:00
|
|
|
BuildRequires: intltool
|
2016-09-16 21:54:52 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
|
2018-05-14 11:01:47 +00:00
|
|
|
BuildRequires: pkgconfig(libnm)
|
2016-09-16 21:54:52 +00:00
|
|
|
BuildRequires: pkgconfig(libnma) >= 1.1.0
|
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
2010-12-06 13:44:14 +00:00
|
|
|
Requires: %{name}-frontend
|
2018-05-14 11:01:47 +00:00
|
|
|
Requires: NetworkManager >= 1.1.0
|
2020-05-05 10:09:19 +00:00
|
|
|
Requires: strongswan-nm >= 5.8.3
|
2010-12-06 13:44:14 +00:00
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
|
|
|
%description
|
|
|
|
NetworkManager-strongswan provides VPN support to NetworkManager for
|
|
|
|
strongSwan.
|
|
|
|
|
|
|
|
%package gnome
|
|
|
|
Summary: NetworkManager VPN support for strongSwan
|
|
|
|
Group: Productivity/Networking/System
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Provides: %{name}-frontend
|
|
|
|
|
|
|
|
%description gnome
|
|
|
|
NetworkManager-strongswan provides VPN support to NetworkManager for
|
|
|
|
strongSwan.
|
|
|
|
|
|
|
|
%lang_package
|
2018-03-05 14:02:42 +00:00
|
|
|
|
2010-12-06 13:44:14 +00:00
|
|
|
%prep
|
2019-10-04 15:21:48 +00:00
|
|
|
%autosetup -p1
|
2018-06-11 20:14:09 +00:00
|
|
|
cp %{SOURCE99} README.SUSE
|
2010-12-06 13:44:14 +00:00
|
|
|
|
|
|
|
%build
|
2018-05-14 11:01:47 +00:00
|
|
|
%configure \
|
2014-04-02 09:36:29 +00:00
|
|
|
--disable-static \
|
2018-05-14 11:01:47 +00:00
|
|
|
--without-libnm-glib \
|
|
|
|
--with-charon=%{_libexecdir}/ipsec/charon-nm \
|
2020-05-05 10:09:19 +00:00
|
|
|
--with-nm_libexecdir=%{_libexecdir} \
|
2014-04-02 09:36:29 +00:00
|
|
|
--disable-more-warnings
|
2019-10-04 15:21:48 +00:00
|
|
|
%make_build
|
2010-12-06 13:44:14 +00:00
|
|
|
|
|
|
|
%install
|
2018-03-05 14:02:42 +00:00
|
|
|
%make_install
|
2011-09-29 08:25:39 +00:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2018-03-05 14:02:42 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-12-06 13:44:14 +00:00
|
|
|
|
|
|
|
%files
|
2010-12-06 15:16:38 +00:00
|
|
|
%doc README.SUSE
|
2020-05-01 11:39:42 +00:00
|
|
|
%{_vpnservicedir}/nm-strongswan-service.name
|
2016-09-16 21:54:52 +00:00
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-strongswan.so
|
2010-12-06 13:44:14 +00:00
|
|
|
|
|
|
|
%files gnome
|
2020-05-04 12:16:40 +00:00
|
|
|
%{_libexecdir}/nm-strongswan-auth-dialog
|
2011-09-29 08:25:39 +00:00
|
|
|
%{_datadir}/gnome-vpn-properties/
|
2021-06-15 11:24:09 +00:00
|
|
|
%{_datadir}/metainfo/NetworkManager-strongswan.metainfo.xml
|
2010-12-06 13:44:14 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|