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
This commit is contained in:
Dominique Leuenberger 2018-03-05 13:51:19 +00:00 committed by Git OBS Bridge
parent 14f2712963
commit 9a9b4fed0b
2 changed files with 13 additions and 15 deletions

View File

@ -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

View File

@ -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