12
0

Accepting request 581407 from GNOME:Next

spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/581407
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/NetworkManager-strongswan?expand=0&rev=24
This commit is contained in:
2018-03-05 14:02:42 +00:00
committed by Git OBS Bridge
parent 9766cff3ca
commit da6fb41d64
2 changed files with 12 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package NetworkManager-strongswan
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,9 +20,9 @@ Name: NetworkManager-strongswan
Version: 1.4.2
Release: 0
Summary: NetworkManager VPN support for strongSwan
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Networking/System
Url: http://www.strongswan.org/
URL: http://www.strongswan.org/
Source0: http://download.strongswan.org/NetworkManager/%{name}-%{version}.tar.bz2
Source1: README
BuildRequires: intltool
@@ -39,7 +39,6 @@ Requires: %{name}-frontend
Requires: NetworkManager >= 0.9.0
Requires: strongswan-nm >= 5.0.1
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExcludeArch: s390 s390x
%description
@@ -58,6 +57,7 @@ NetworkManager-strongswan provides VPN support to NetworkManager for
strongSwan.
%lang_package
%prep
%setup -q
cp %{SOURCE1} README.SUSE
@@ -66,18 +66,14 @@ cp %{SOURCE1} README.SUSE
%configure\
--disable-static \
--disable-more-warnings
%__make %{?_smp_flags}
make %{?_smp_mflags}
%install
%makeinstall
%make_install
%find_lang %{name} %{?no_lang_C}
find %{buildroot}%{_libdir} -name '*.la' -delete -print
%clean
rm -rf %{buildroot}
find %{buildroot} -type f -name "*.la" -delete -print
%files
%defattr(-,root,root,-)
%doc README.SUSE
%dir %{_sysconfdir}/NetworkManager/VPN
%config %{_sysconfdir}/NetworkManager/VPN/nm-strongswan-service.name
@@ -87,7 +83,6 @@ rm -rf %{buildroot}
%{_libdir}/NetworkManager/libnm-vpn-plugin-strongswan.so
%files gnome
%defattr(-,root,root,-)
%{_libdir}/NetworkManager/libnm-strongswan-properties.so
%{_libexecdir}/nm-strongswan-auth-dialog
%{_datadir}/gnome-vpn-properties/