From 9a9b4fed0b3ef0dc1cf95a74ff91f2df8fbf5bb870cac53d572ee97249e4c68d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 5 Mar 2018 13:51:19 +0000 Subject: [PATCH] Accepting request 581139 from GNOME:Next spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581139 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gssdp?expand=0&rev=81 --- gssdp.changes | 5 +++++ gssdp.spec | 23 ++++++++--------------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/gssdp.changes b/gssdp.changes index 6b9eb21..287628e 100644 --- a/gssdp.changes +++ b/gssdp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:31:30 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Mon Mar 20 14:31:30 UTC 2017 - dimstar@opensuse.org diff --git a/gssdp.spec b/gssdp.spec index b5167b8..929b09e 100644 --- a/gssdp.spec +++ b/gssdp.spec @@ -1,7 +1,7 @@ # # spec file for package gssdp # -# 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,17 +20,17 @@ Name: gssdp Version: 1.0.2 Release: 0 Summary: Library for resource discovery and announcement over SSDP -License: LGPL-2.0+ +License: LGPL-2.0-or-later Group: Development/Libraries/C and C++ -Url: http://www.gupnp.org/ +URL: http://www.gupnp.org/ Source: http://download.gnome.org/sources/gssdp/1.0/%{name}-%{version}.tar.xz Source1: baselibs.conf +BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.0 BuildRequires: pkgconfig(libsoup-2.4) >= 2.26.1 BuildRequires: pkgconfig(vapigen) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description gssdp offers a GObject-based API for handling resource discovery and @@ -79,35 +79,28 @@ announcement over SSDP. %build %configure --disable-static -%__make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install -%makeinstall +%make_install find %{buildroot} -type f -name "*.la" -delete -print -%clean -rm -rf %{buildroot} - %post -n libgssdp-1_0-3 -p /sbin/ldconfig - %postun -n libgssdp-1_0-3 -p /sbin/ldconfig %files utils -%defattr(-,root,root) %{_bindir}/* %{_datadir}/%{name} %files -n libgssdp-1_0-3 -%defattr(-,root,root) -%doc AUTHORS COPYING NEWS README +%license COPYING +%doc AUTHORS NEWS README %{_libdir}/*.so.* %files -n typelib-1_0-GSSDP-1_0 -%defattr(-,root,root) %{_libdir}/girepository-1.0/GSSDP-1.0.typelib %files -n libgssdp-devel -%defattr(-,root,root) %{_includedir}/%{name}-1.0 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc