SHA256
1
0
forked from pool/gupnp

Accepting request 663081 from GNOME:Factory

My bad, I was sure I was in GN working on this

OBS-URL: https://build.opensuse.org/request/show/663081
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gupnp?expand=0&rev=102
This commit is contained in:
Bjørn Lie 2019-01-05 23:52:43 +00:00 committed by Git OBS Bridge
parent 8c66061913
commit 4912e93171
5 changed files with 30 additions and 79 deletions

View File

@ -1 +1 @@
libgupnp-1_2-0 libgupnp-1_0-4

3
gupnp-1.0.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:794b162ee566d85eded8c3f3e8c9c99f6b718a6b812d8b56f0c2ed72ac37cbbb
size 422912

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21041f37217b55e2a39547a446c98770762d3515e73b6d7a4a623fbe2ee82bda
size 133404

View File

@ -1,39 +1,3 @@
-------------------------------------------------------------------
Sat Jan 5 21:05:57 UTC 2019 - bjorn.lie@gmail.com
- Update to version 1.1.1:
+ Fix issue when building VAPI.
+ Pass on network mask from linux CM.
+ Properly rewrite v6 link-local urls when accessing.
+ Minor introspection annotation fixes.
+ Properly filter v6 scopes in linux CM.
+ Fix compile issues with linux CM when there is no wireless.h.
+ Fix doble-free in linux CM.
+ Simplify build tests a bit.
- Changes from version 1.1.0:
+ Bump API and ABI version.
+ GUPnPRootDevice implements GInitable.
+ Clean-up functions added for GObject-Introspection
compatibility.
+ Remove all deprecated functions from GUPnP 1.0 API.
+ Switch build to Meson.
+ Port everything to new GLib type macros.
+ Add IPv6 support to Linux context manager.
+ Fix IPv6 LL support for context.
+ Add gupnp_context_manager_create_full for specifying the socket
family.
+ Bugs fixed: bgo#654446, bgo#770318, bgo#777491, bgo#780640,
bgo#780715, bgo#793955.
- Switch to meson buildsystem, add meson and gtk-doc BuildRequires
and macros.
- Add pkgconfig(gio-2.0), pkgconfig(glib-2.0),
pkgconfig(gmodule-2.0) and pkgconfig(gobject-2.0) BuildRequires:
align with what meson checks for.
- Replace pkgconfig(gssdp-1.0) with pkgconfig(gssdp-1.2)
BuildRequires following upstreams changes.
- Add soname and sover defines and set them to 1_2-0 and 1.2, make
future API and ABI bumps easier.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 31 07:13:40 UTC 2018 - bjorn.lie@gmail.com Tue Jul 31 07:13:40 UTC 2018 - bjorn.lie@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package gupnp # spec file for package gupnp
# #
# Copyright (c) 2019 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
@ -12,34 +12,25 @@
# 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 https://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# When bumping soname, do not forget to bump in baselibs.conf too.
%define soname 1_2-0
%define sover 1.2
Name: gupnp Name: gupnp
Version: 1.1.1 Version: 1.0.3
Release: 0 Release: 0
Summary: Implementation of the UPnP specification Summary: Implementation of the UPnP specification
License: LGPL-2.0-or-later 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/
Source0: https://download.gnome.org/sources/gupnp/1.1/%{name}-%{version}.tar.xz Source: http://download.gnome.org/sources/gupnp/1.0/%{name}-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0) >= 2.44 # Needed for the GTest
BuildRequires: pkgconfig(glib-2.0) >= 2.44 BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
BuildRequires: pkgconfig(gmodule-2.0) >= 2.44
BuildRequires: pkgconfig(gobject-2.0) >= 2.44
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.4 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.4
BuildRequires: pkgconfig(gssdp-1.2) >= 1.1 BuildRequires: pkgconfig(gssdp-1.0) >= 0.14.15
BuildRequires: pkgconfig(libsoup-2.4) >= 2.48.0 BuildRequires: pkgconfig(libsoup-2.4) >= 2.28.2
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(vapigen) BuildRequires: pkgconfig(vapigen)
@ -52,11 +43,11 @@ does not include helpers for construction or control of specific
standardized resources (e.g. MediaServer); this is left for higher level standardized resources (e.g. MediaServer); this is left for higher level
libraries utilizing the GUPnP framework. libraries utilizing the GUPnP framework.
%package -n libgupnp-%{soname} %package -n libgupnp-1_0-4
Summary: Implementation of the UPnP specification Summary: Implementation of the UPnP specification
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%description -n libgupnp-%{soname} %description -n libgupnp-1_0-4
GUPnP implements the UPnP specification: resource announcement and GUPnP implements the UPnP specification: resource announcement and
discovery, description, control, event notification, and presentation discovery, description, control, event notification, and presentation
(GUPnP includes basic web server functionality through libsoup). GUPnP (GUPnP includes basic web server functionality through libsoup). GUPnP
@ -81,7 +72,7 @@ This package provides the GObject Introspection bindings for GUPnP.
%package -n libgupnp-devel %package -n libgupnp-devel
Summary: Implementation of the UPnP specification - Development Files Summary: Implementation of the UPnP specification - Development Files
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libgupnp-%{soname} = %{version} Requires: libgupnp-1_0-4 = %{version}
Requires: typelib-1_0-GUPnP-1_0 = %{version} Requires: typelib-1_0-GUPnP-1_0 = %{version}
%description -n libgupnp-devel %description -n libgupnp-devel
@ -93,42 +84,38 @@ standardized resources (e.g. MediaServer); this is left for higher level
libraries utilizing the GUPnP framework. libraries utilizing the GUPnP framework.
%prep %prep
%autosetup -p1 %setup -q
%build %build
%meson \ %configure --disable-static \
-Dcontext_manager=network-manager \ --with-context-manager=network-manager
-Dintrospection=true \ make %{?_smp_mflags}
-Dvapi=true \
-Dgtk_doc=true \
-Dexamples=false \
%{nil}
%meson_build
%install %install
%meson_install %make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libgupnp-%{soname} -p /sbin/ldconfig %post -n libgupnp-1_0-4 -p /sbin/ldconfig
%postun -n libgupnp-%{soname} -p /sbin/ldconfig %postun -n libgupnp-1_0-4 -p /sbin/ldconfig
%files -n libgupnp-%{soname} %files -n libgupnp-1_0-4
%license COPYING %license COPYING
%doc AUTHORS NEWS README %doc AUTHORS NEWS README
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files -n typelib-1_0-GUPnP-1_0 %files -n typelib-1_0-GUPnP-1_0
%{_libdir}/girepository-1.0/GUPnP-%{sover}.typelib %{_libdir}/girepository-1.0/GUPnP-1.0.typelib
%files -n libgupnp-devel %files -n libgupnp-devel
%{_bindir}/gupnp-binding-tool-%{sover} %{_bindir}/gupnp-binding-tool
%{_includedir}/%{name}-%{sover} %{_includedir}/%{name}-1.0
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/GUPnP-%{sover}.gir %{_datadir}/gir-1.0/GUPnP-1.0.gir
%dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html %dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/%{name} %{_datadir}/gtk-doc/html/%{name}
%{_datadir}/vala/vapi/gupnp-%{sover}.deps %{_datadir}/vala/vapi/gupnp-1.0.deps
%{_datadir}/vala/vapi/gupnp-%{sover}.vapi %{_datadir}/vala/vapi/gupnp-1.0.vapi
%changelog %changelog