95 lines
2.8 KiB
RPMSpec
95 lines
2.8 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package NetworkManager-strongswan (Version 1.1.2)
|
||
|
#
|
||
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
#
|
||
|
# 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
|
||
|
Version: 1.1.2
|
||
|
Release: 1
|
||
|
License: GPLv2+
|
||
|
Summary: NetworkManager VPN support for strongSwan
|
||
|
Url: http://www.gnome.org/projects/NetworkManager
|
||
|
Group: Productivity/Networking/System
|
||
|
Source0: %{name}-%{version}.tar.bz2
|
||
|
Source1: README
|
||
|
# Dismiss the rpmlint warning for 'send_interface' - binli@opensuse.org
|
||
|
Patch0: nm-strongswan-service-conf.patch
|
||
|
BuildRequires: NetworkManager-devel
|
||
|
BuildRequires: NetworkManager-gnome
|
||
|
BuildRequires: intltool
|
||
|
BuildRequires: libglade2-devel
|
||
|
BuildRequires: libgnomeui-devel
|
||
|
BuildRequires: libgudev-1_0-devel
|
||
|
BuildRequires: perl-XML-Parser
|
||
|
BuildRequires: update-desktop-files
|
||
|
Requires: %{name}-frontend
|
||
|
Requires: NetworkManager >= 0.7.0.r4274
|
||
|
Requires: strongswan >= 4.1.13
|
||
|
Recommends: %{name}-lang
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
ExcludeArch: s390 s390x
|
||
|
|
||
|
%description
|
||
|
NetworkManager-strongswan provides VPN support to NetworkManager for
|
||
|
strongSwan.
|
||
|
|
||
|
%package gnome
|
||
|
License: GPLv2+
|
||
|
Summary: NetworkManager VPN support for strongSwan
|
||
|
Group: Productivity/Networking/System
|
||
|
Requires: %{name} = %{version}
|
||
|
Requires: NetworkManager-gnome >= 0.5.1
|
||
|
Provides: %{name}-frontend
|
||
|
|
||
|
%description gnome
|
||
|
NetworkManager-strongswan provides VPN support to NetworkManager for
|
||
|
strongSwan.
|
||
|
|
||
|
%lang_package
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
%configure\
|
||
|
--disable-static
|
||
|
%__make %{?_smp_flags}
|
||
|
|
||
|
%install
|
||
|
%makeinstall
|
||
|
%find_lang %{name}
|
||
|
find %{buildroot}%{_libdir} -name '*.la' -delete -print
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%dir %{_sysconfdir}/NetworkManager/VPN
|
||
|
%config %{_sysconfdir}/NetworkManager/VPN/nm-strongswan-service.name
|
||
|
%config %{_sysconfdir}/dbus-1/system.d/nm-strongswan-service.conf
|
||
|
|
||
|
%files gnome
|
||
|
%defattr(-,root,root,-)
|
||
|
%{_libdir}/NetworkManager/libnm-strongswan-properties.so
|
||
|
%{_libexecdir}/nm-strongswan-auth-dialog
|
||
|
%{_datadir}/gnome-vpn-properties
|
||
|
|
||
|
%files lang -f %{name}.lang
|
||
|
|
||
|
%changelog
|