2010-12-06 14:44:14 +01:00
|
|
|
#
|
2011-09-29 10:10:27 +02:00
|
|
|
# spec file for package NetworkManager-strongswan
|
2010-12-06 14:44:14 +01:00
|
|
|
#
|
2018-03-05 15:02:42 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2010-12-06 14:44:14 +01: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: NetworkManager-strongswan
|
2018-05-14 13:01:47 +02:00
|
|
|
Version: 1.4.4
|
2013-03-13 23:45:37 +01:00
|
|
|
Release: 0
|
2010-12-06 14:44:14 +01:00
|
|
|
Summary: NetworkManager VPN support for strongSwan
|
2018-03-05 15:02:42 +01:00
|
|
|
License: GPL-2.0-or-later
|
2010-12-06 14:44:14 +01:00
|
|
|
Group: Productivity/Networking/System
|
2018-03-05 15:02:42 +01:00
|
|
|
URL: http://www.strongswan.org/
|
2011-09-29 10:10:27 +02:00
|
|
|
Source0: http://download.strongswan.org/NetworkManager/%{name}-%{version}.tar.bz2
|
2018-05-29 14:20:15 +02:00
|
|
|
Source1: http://download.strongswan.org/NetworkManager/%{name}-%{version}.tar.bz2.sig
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
Source3: README
|
2010-12-06 14:44:14 +01:00
|
|
|
BuildRequires: intltool
|
2016-09-16 23:54:52 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
|
2018-05-14 13:01:47 +02:00
|
|
|
BuildRequires: pkgconfig(libnm)
|
2016-09-16 23:54:52 +02:00
|
|
|
BuildRequires: pkgconfig(libnma) >= 1.1.0
|
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
2010-12-06 14:44:14 +01:00
|
|
|
Requires: %{name}-frontend
|
2018-05-14 13:01:47 +02:00
|
|
|
Requires: NetworkManager >= 1.1.0
|
|
|
|
Requires: strongswan-nm >= 5.6.2
|
2010-12-06 14:44:14 +01:00
|
|
|
Recommends: %{name}-lang
|
|
|
|
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 15:02:42 +01:00
|
|
|
|
2010-12-06 14:44:14 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-12-06 16:16:38 +01:00
|
|
|
cp %{SOURCE1} README.SUSE
|
2010-12-06 14:44:14 +01:00
|
|
|
|
|
|
|
%build
|
2018-05-14 13:01:47 +02:00
|
|
|
%configure \
|
2014-04-02 11:36:29 +02:00
|
|
|
--disable-static \
|
2018-05-14 13:01:47 +02:00
|
|
|
--without-libnm-glib \
|
|
|
|
--with-charon=%{_libexecdir}/ipsec/charon-nm \
|
2014-04-02 11:36:29 +02:00
|
|
|
--disable-more-warnings
|
2018-03-05 15:02:42 +01:00
|
|
|
make %{?_smp_mflags}
|
2010-12-06 14:44:14 +01:00
|
|
|
|
|
|
|
%install
|
2018-03-05 15:02:42 +01:00
|
|
|
%make_install
|
2011-09-29 10:25:39 +02:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2018-03-05 15:02:42 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-12-06 14:44:14 +01:00
|
|
|
|
|
|
|
%files
|
2010-12-06 16:16:38 +01:00
|
|
|
%doc README.SUSE
|
2016-09-16 23:54:52 +02:00
|
|
|
%dir %{_libexecdir}/NetworkManager
|
|
|
|
%dir %{_libexecdir}/NetworkManager/VPN
|
|
|
|
%{_libexecdir}/NetworkManager/VPN/nm-strongswan-service.name
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-strongswan.so
|
2010-12-06 14:44:14 +01:00
|
|
|
|
|
|
|
%files gnome
|
2018-05-14 13:01:47 +02:00
|
|
|
%{_libexecdir}/NetworkManager/nm-strongswan-auth-dialog
|
2011-09-29 10:25:39 +02:00
|
|
|
%{_datadir}/gnome-vpn-properties/
|
2016-09-16 23:54:52 +02:00
|
|
|
%{_datadir}/appdata/NetworkManager-strongswan.appdata.xml
|
2010-12-06 14:44:14 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|