Accepting request 582761 from GNOME:Factory

spec-cleaner (forwarded request 581139 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/582761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gssdp?expand=0&rev=48
This commit is contained in:
Dominique Leuenberger 2018-03-08 09:44:51 +00:00 committed by Git OBS Bridge
commit 9cf3f00488
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 Mon Mar 20 14:31:30 UTC 2017 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package gssdp # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,17 +20,17 @@ Name: gssdp
Version: 1.0.2 Version: 1.0.2
Release: 0 Release: 0
Summary: Library for resource discovery and announcement over SSDP 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++ 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 Source: http://download.gnome.org/sources/gssdp/1.0/%{name}-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
BuildRequires: pkgconfig(libsoup-2.4) >= 2.26.1 BuildRequires: pkgconfig(libsoup-2.4) >= 2.26.1
BuildRequires: pkgconfig(vapigen) BuildRequires: pkgconfig(vapigen)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
gssdp offers a GObject-based API for handling resource discovery and gssdp offers a GObject-based API for handling resource discovery and
@ -79,35 +79,28 @@ announcement over SSDP.
%build %build
%configure --disable-static %configure --disable-static
%__make %{?jobs:-j%jobs} make %{?_smp_mflags}
%install %install
%makeinstall %make_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%clean
rm -rf %{buildroot}
%post -n libgssdp-1_0-3 -p /sbin/ldconfig %post -n libgssdp-1_0-3 -p /sbin/ldconfig
%postun -n libgssdp-1_0-3 -p /sbin/ldconfig %postun -n libgssdp-1_0-3 -p /sbin/ldconfig
%files utils %files utils
%defattr(-,root,root)
%{_bindir}/* %{_bindir}/*
%{_datadir}/%{name} %{_datadir}/%{name}
%files -n libgssdp-1_0-3 %files -n libgssdp-1_0-3
%defattr(-,root,root) %license COPYING
%doc AUTHORS COPYING NEWS README %doc AUTHORS NEWS README
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files -n typelib-1_0-GSSDP-1_0 %files -n typelib-1_0-GSSDP-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GSSDP-1.0.typelib %{_libdir}/girepository-1.0/GSSDP-1.0.typelib
%files -n libgssdp-devel %files -n libgssdp-devel
%defattr(-,root,root)
%{_includedir}/%{name}-1.0 %{_includedir}/%{name}-1.0
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc