# # spec file for package librist # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define sover 4 %define libname %{name}%{sover} # BRs would expand rings %bcond_with unbundle Name: librist Version: 0.2.10 Release: 1.3 Summary: Reliable Internet Stream Transport protocol License: BSD-2-Clause URL: https://code.videolan.org/rist/librist Source0: https://code.videolan.org/rist/librist/-/archive/v%{version}/librist-v%{version}.tar.gz Source99: baselibs.conf Group: Development/Libraries/C and C++ BuildRequires: meson >= 0.47 BuildRequires: ninja BuildRequires: pkgconfig %if %{with unbundle} BuildRequires: mbedtls-devel BuildRequires: pkgconfig(libcjson) %endif %description A library that can be used to speak the RIST protocol (as defined by Video Services Forum (VSF) Technical Recommendations TR-06-1 and TR-06-2). %package -n %{libname} Summary: Reliable Internet Stream Transport protocol Group: System/Libraries %description -n %{libname} A library that can be used to speak the RIST protocol (as defined by Video Services Forum (VSF) Technical Recommendations TR-06-1 and TR-06-2). %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package -n rist-tools Summary: User tools for %{name} Group: Productivity/Multimedia/Video/Editors and Convertors %description -n rist-tools This package contains the user tools for the RIST protocol library. %prep %autosetup -n %{name}-v%{version} %build %meson %meson_build %install %meson_install chmod -x %{buildroot}%{_includedir}/%{name}/*.h chmod -x docs/* %ldconfig_scriptlets -n %{libname} %files -n rist-tools %license COPYING %doc CONTRIBUTING.md %doc README.md %doc docs %{_bindir}/rist* %files -n %{libname} %{_libdir}/*.so.* %files devel %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Sun Nov 12 2023 Dirk Müller - update to 0.2.10: * segfault in recv path when receiving corrupted data without matching peer * fix compilation on 32bit systems * fix regression in stats obj rtt value * remove unneeded locking in buffer scaling * fix too old packages error due to buffer scaling * fix empty buffer time check * disable buffer negotiation when sender max buffer is smaller than our buffer * fix deadlock caused by wrong lock order when removing peers * fix building Prometheus code against older libmicrohttpd * fix compilation on Hurd * Added support for Nettle+GMP+GnuTLS as a crypto (PSK & SRP) backend * Buffer-min and -max parameters for experimental dynamic buffer scaling (see --help-url) * Performance tuning for better/more efficient recovery at latencies below 50ms * Implemented main profile Keep Alive message format * Binding on IP (*Nix + win32) or iface name (*nix) via miface param for use with outgoing connections * Simplified peer start and keep-alive (on reception of GRE Keepalive) * Connection status callback function for peer added * New API function to get peer-id (for correlation with stats peer-id) * New API function to access underlying socket (for use with DSCP etc) * Prometheus compatible stats output * Higher precision RTT logging * Increased performance of EAP-SRP by only requesting a reauthentication user verifier generation has changed * Added ability to set/exchange passphrase via EAP-SRP * Thu Dec 8 2022 Jan Engelhardt - Use noun phrase for summary. Trim marketing from descriptions. * Thu Dec 1 2022 Callum Farmer - Initial packaging version 0.2.7