Accepting request 920963 from GNOME:Next

Scripted push from GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/920963
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gupnp-dlna?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2021-09-27 06:25:22 +00:00 committed by Git OBS Bridge
parent 84517a6e4f
commit 33efc6f77d
4 changed files with 44 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:123e368227c11d5c17fc1aa76cbdaffa345355eb51d172cd39fc74a5b468ff6a
size 329468

BIN
gupnp-dlna-0.12.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Sep 20 11:56:14 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 0.12.0:
+ Re-tag of 0.11 as 0.12. No functional change
- Changes from version 0.11.0:
+ Drop GStreamer 0.10 back-end
+ Drop old compatibility code
+ Add meson support
+ Port to more modern GObject
- Switch to meson build system:
+ Add meson BuildRequires.
+ Replace configure/make/make_install macros with respective
meson/meson_build/meson_install.
- Enable test suite: add meson_test to check section.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 28 16:33:11 UTC 2018 - dimstar@opensuse.org Wed Feb 28 16:33:11 UTC 2018 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package gupnp-dlna # spec file for package gupnp-dlna
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 SUSE LLC
# #
# 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
@ -12,18 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: gupnp-dlna Name: gupnp-dlna
Version: 0.10.5 Version: 0.12.0
Release: 0 Release: 0
Summary: A collection of helpers for building DLNA applications Summary: A collection of helpers for building DLNA applications
License: LGPL-2.1-or-later License: LGPL-2.1-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/gupnp-dlna/0.10/%{name}-%{version}.tar.xz Source: https://download.gnome.org/sources/gupnp-dlna/0.12/%{name}-%{version}.tar.xz
BuildRequires: meson
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gmodule-2.0)
@ -33,17 +34,20 @@ BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-pbutils-1.0) BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0 BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0
BuildRequires: pkgconfig(vapigen) BuildRequires: pkgconfig(vapigen)
# libgupnp-dlna-2_0-3 violated shared library packaging policy
Conflicts: libgupnp-dlna-2_0-3
%description %description
GUPnP-DLNA is a collection of helpers for building DLNA media sharing GUPnP-DLNA is a collection of helpers for building DLNA media sharing
applications using GUPnP. applications using GUPnP.
%package -n libgupnp-dlna-2_0-3 %package -n libgupnp-dlna-2_0-4
Summary: A collection of helpers for building DLNA applications Summary: A collection of helpers for building DLNA applications
Group: System/Libraries Group: System/Libraries
Requires: %{name} => %{version}
Requires: libgupnp-dlna-backend >= %{version} Requires: libgupnp-dlna-backend >= %{version}
%description -n libgupnp-dlna-2_0-3 %description -n libgupnp-dlna-2_0-4
GUPnP-DLNA is a collection of helpers for building DLNA media sharing GUPnP-DLNA is a collection of helpers for building DLNA media sharing
applications using GUPnP. applications using GUPnP.
@ -81,7 +85,7 @@ This package provides the GObject Introspection bindings for GUPnP-DLNA.
%package -n libgupnp-dlna-devel %package -n libgupnp-dlna-devel
Summary: A collection of helpers for building DLNA applications - Development Files Summary: A collection of helpers for building DLNA applications - Development Files
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libgupnp-dlna-2_0-3 = %{version} Requires: libgupnp-dlna-2_0-4 = %{version}
Requires: typelib-1_0-GUPnPDLNA-2_0 = %{version} Requires: typelib-1_0-GUPnPDLNA-2_0 = %{version}
Requires: typelib-1_0-GUPnPDLNAGst-2_0 = %{version} Requires: typelib-1_0-GUPnPDLNAGst-2_0 = %{version}
@ -101,24 +105,26 @@ applications using GUPnP.
%setup -q %setup -q
%build %build
%configure \ %meson
--disable-static %meson_build
make %{?_smp_mflags}
%install %install
%make_install %meson_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libgupnp-dlna-2_0-3 -p /sbin/ldconfig %check
%postun -n libgupnp-dlna-2_0-3 -p /sbin/ldconfig %meson_test
%files -n libgupnp-dlna-2_0-3 %post -n libgupnp-dlna-2_0-4 -p /sbin/ldconfig
%license COPYING %postun -n libgupnp-dlna-2_0-4 -p /sbin/ldconfig
%doc AUTHORS README TODO
# This directory contains DLNA profiles, needed by the library %files
%{_datadir}/%{name}-2.0/ %{_datadir}/%{name}-2.0/
%files -n libgupnp-dlna-2_0-4
%license COPYING
%doc AUTHORS TODO
%dir %{_libdir}/gupnp-dlna %dir %{_libdir}/gupnp-dlna
%{_libdir}/lib*.so.3* %{_libdir}/lib*.so.4*
%files -n libgupnp-dlna-backend-gstreamer %files -n libgupnp-dlna-backend-gstreamer
%{_libdir}/gupnp-dlna/libgstreamer.so %{_libdir}/gupnp-dlna/libgstreamer.so
@ -139,9 +145,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_datadir}/gir-1.0/GUPnPDLNAGst-2.0.gir %{_datadir}/gir-1.0/GUPnPDLNAGst-2.0.gir
%dir %{_datadir}/vala/vapi/ %dir %{_datadir}/vala/vapi/
%{_datadir}/vala/vapi/* %{_datadir}/vala/vapi/*
%doc %{_datadir}/gtk-doc/html/%{name}/
%doc %{_datadir}/gtk-doc/html/%{name}-gst/
%doc %{_datadir}/gtk-doc/html/%{name}-metadata/
%files -n gupnp-dlna-tools %files -n gupnp-dlna-tools
%{_bindir}/gupnp-dlna-info-2.0 %{_bindir}/gupnp-dlna-info-2.0