Accepting request 879656 from home:jgwang:branches:GNOME:Factory

Update to 0.1.18

OBS-URL: https://build.opensuse.org/request/show/879656
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libnice?expand=0&rev=71
This commit is contained in:
Dominique Leuenberger 2021-03-18 18:31:41 +00:00 committed by Git OBS Bridge
parent a4960f7d98
commit 74d77abab3
4 changed files with 51 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1952a0dec58b5c9ccc3f25193df4e2d1244cb382cac611b71e25afcd7b069526
size 1083398

3
libnice-0.1.18.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5eabd25ba2b54e817699832826269241abaa1cf78f9b240d1435f936569273f4
size 439791

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Fri Mar 05 08:07:01 UTC 2021 - Wang Jun <jgwang@suse.com>
- Update to 0.1.18:
* Remove the autotools build system, now only meson is available
* Accept receiving messages in multiple steps over TCP
* Accept duplicated ports as last option instead of spinning forever
* Use sendmmsg if possible to send multiple packets in one call
* Fail gathering if no port is available
* Hide the implementation of NiceCandidate, this hides some parts
that were previously visible
* Enable TURN server connects where both TCP and UDP use the same
port number
* Don't count rejected STUN messages as keepalive packets
* On Windows, the improvements and fixes
- use crypto library instead of CryptGenRandom() which
is deprecated
- use GetBestInterfaceEx() for UWP compatibility
- fix the listing of interfaces to use the correct APIs
- implement ignoring interfaces
* Add buildrquires: gobject-introspection-devel and meson
* The move from autoFOO to meson
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 20 21:27:51 UTC 2020 - Dirk Mueller <dmueller@suse.com> Thu Aug 20 21:27:51 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libnice # spec file for package libnice
# #
# Copyright (c) 2020 SUSE LLC # 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
@ -17,7 +17,7 @@
Name: libnice Name: libnice
Version: 0.1.17 Version: 0.1.18
Release: 0 Release: 0
Summary: Interactive Connectivity Establishment implementation Summary: Interactive Connectivity Establishment implementation
License: MPL-1.1 OR LGPL-2.1-only License: MPL-1.1 OR LGPL-2.1-only
@ -25,7 +25,9 @@ Group: System/Libraries
URL: http://nice.freedesktop.org/ URL: http://nice.freedesktop.org/
Source: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz Source: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
BuildRequires: gobject-introspection-devel
BuildRequires: libgupnp-igd-devel BuildRequires: libgupnp-igd-devel
BuildRequires: meson
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.44 BuildRequires: pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gnutls) >= 2.12.0 BuildRequires: pkgconfig(gnutls) >= 2.12.0
@ -57,6 +59,7 @@ Connectivity Establishment standard (ICE)
Summary: Interactive Connectivity Establishment implementation - development files Summary: Interactive Connectivity Establishment implementation - development files
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libnice10 = %{version} Requires: libnice10 = %{version}
Requires: typelib-1_0-Nice-0_1 = %{version}
Provides: libnice-doc = %{version} Provides: libnice-doc = %{version}
Obsoletes: libnice-doc < %{version} Obsoletes: libnice-doc < %{version}
@ -64,23 +67,30 @@ Obsoletes: libnice-doc < %{version}
libnice is an implementation of the IETF's draft Interactive libnice is an implementation of the IETF's draft Interactive
Connectivity Establishment standard (ICE). Connectivity Establishment standard (ICE).
%package -n typelib-1_0-Nice-0_1
Summary: Interactive Connectivity Establishment implementation -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-Nice-0_1
libnice is an implementation of the IETF's draft Interactive
Connectivity Establishment standard (ICE).
This package provides the GObject Introspection bindings for libnice.
%prep %prep
%setup -q %setup -q
%build %build
%configure --disable-static %meson
make %{?_smp_mflags} %meson_build
%install %install
%make_install %meson_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%check ##%%check
# make check disabled - Since version 0.1.3, libnice tries to interact with NM during make check ##make check disabled - Since version 0.1.3, libnice tries to interact with NM during make check
#make check \ ##%%meson_test
#%if 0%{?qemu_user_space_build}
#|| echo "ignore test suite failure in qemu, it is not threadsafe"
#%endif
%post -n libnice10 -p /sbin/ldconfig %post -n libnice10 -p /sbin/ldconfig
%postun -n libnice10 -p /sbin/ldconfig %postun -n libnice10 -p /sbin/ldconfig
@ -97,9 +107,12 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/*.so %{_libdir}/*.so
%{_includedir}/nice/ %{_includedir}/nice/
%{_includedir}/stun/ %{_includedir}/stun/
%{_datadir}/gtk-doc/html/libnice/ %{_datadir}/gir-1.0/Nice-0.1.gir
%files -n gstreamer-libnice %files -n gstreamer-libnice
%{_libdir}/gstreamer-1.0/libgstnice.so %{_libdir}/gstreamer-1.0/libgstnice.so
%files -n typelib-1_0-Nice-0_1
%{_libdir}/girepository-1.0/Nice-0.1.typelib
%changelog %changelog