Accepting request 581237 from GNOME:Next

spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/581237
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gupnp-dlna?expand=0&rev=49
This commit is contained in:
Dominique Leuenberger 2018-03-05 13:56:13 +00:00 committed by Git OBS Bridge
parent bf9a63957f
commit 84517a6e4f
2 changed files with 13 additions and 17 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:33:11 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Tue Jun 21 17:30:47 UTC 2016 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package gupnp-dlna
#
# Copyright (c) 2016 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,10 +20,11 @@ Name: gupnp-dlna
Version: 0.10.5
Release: 0
Summary: A collection of helpers for building DLNA applications
License: LGPL-2.1+
License: LGPL-2.1-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-dlna/0.10/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-2.0)
@ -32,7 +33,6 @@ BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0
BuildRequires: pkgconfig(vapigen)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GUPnP-DLNA is a collection of helpers for building DLNA media sharing
@ -103,41 +103,33 @@ applications using GUPnP.
%build
%configure \
--disable-static
%__make %{?_smp_mflags}
make %{?_smp_mflags}
%install
%makeinstall
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%clean
rm -rf %{buildroot}
%post -n libgupnp-dlna-2_0-3 -p /sbin/ldconfig
%postun -n libgupnp-dlna-2_0-3 -p /sbin/ldconfig
%files -n libgupnp-dlna-2_0-3
%defattr(-,root,root)
%doc AUTHORS COPYING README TODO
%license COPYING
%doc AUTHORS README TODO
# This directory contains DLNA profiles, needed by the library
%{_datadir}/%{name}-2.0/
%dir %{_libdir}/gupnp-dlna
%{_libdir}/lib*.so.3*
%files -n libgupnp-dlna-backend-gstreamer
%defattr(-,root,root)
%{_libdir}/gupnp-dlna/libgstreamer.so
%files -n typelib-1_0-GUPnPDLNA-2_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GUPnPDLNA-2.0.typelib
%files -n typelib-1_0-GUPnPDLNAGst-2_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GUPnPDLNAGst-2.0.typelib
%files -n libgupnp-dlna-devel
%defattr(-,root,root)
%{_includedir}/%{name}-2.0/
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/gupnp-dlna-2.0.pc
@ -152,7 +144,6 @@ rm -rf %{buildroot}
%doc %{_datadir}/gtk-doc/html/%{name}-metadata/
%files -n gupnp-dlna-tools
%defattr(-,root,root)
%{_bindir}/gupnp-dlna-info-2.0
%{_bindir}/gupnp-dlna-ls-profiles-2.0