diff --git a/gupnp.changes b/gupnp.changes index 95ad17b..339873d 100644 --- a/gupnp.changes +++ b/gupnp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:33:07 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Mon Mar 20 14:26:57 UTC 2017 - dimstar@opensuse.org diff --git a/gupnp.spec b/gupnp.spec index 8c1c86e..c9a3b44 100644 --- a/gupnp.spec +++ b/gupnp.spec @@ -1,7 +1,7 @@ # # spec file for package gupnp # -# 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,11 +20,12 @@ Name: gupnp Version: 1.0.2 Release: 0 Summary: Implementation of the UPnP specification -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/gupnp/1.0/%{name}-%{version}.tar.xz Source1: baselibs.conf +BuildRequires: pkgconfig # Needed for the GTest BuildRequires: pkgconfig(glib-2.0) >= 2.40.0 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.4 @@ -33,7 +34,6 @@ BuildRequires: pkgconfig(libsoup-2.4) >= 2.28.2 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(vapigen) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GUPnP implements the UPnP specification: resource announcement and @@ -91,30 +91,24 @@ libraries utilizing the GUPnP framework. %build %configure --disable-static \ --with-context-manager=network-manager -%__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 libgupnp-1_0-4 -p /sbin/ldconfig - %postun -n libgupnp-1_0-4 -p /sbin/ldconfig %files -n libgupnp-1_0-4 -%defattr(-,root,root) -%doc AUTHORS COPYING NEWS README +%license COPYING +%doc AUTHORS NEWS README %{_libdir}/*.so.* %files -n typelib-1_0-GUPnP-1_0 -%defattr(-,root,root) %{_libdir}/girepository-1.0/GUPnP-1.0.typelib %files -n libgupnp-devel -%defattr(-,root,root) %{_bindir}/gupnp-binding-tool %{_includedir}/%{name}-1.0 %{_libdir}/*.so