# # spec file for package opus # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Pascal Bleser # # 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 0 Name: opus Version: 1.3 Release: 1.2 Summary: Audio Codec Library License: BSD-3-Clause Group: Development/Libraries/C and C++ URL: https://opus-codec.org/ Source: https://archive.mozilla.org/pub/opus/%{name}-%{version}.tar.gz Source99: baselibs.conf BuildRequires: pkgconfig %description The Opus codec is designed for interactive speech and audio transmission over the Internet. It is designed by the IETF Codec Working Group and incorporates technology from Skype's SILK codec and Xiph.Org's CELT codec. %package -n libopus%{sover} Summary: Opus Audio Codec Library Group: System/Libraries %description -n libopus%{sover} The Opus codec is designed for interactive speech and audio transmission over the Internet. It is designed by the IETF Codec Working Group and incorporates technology from Skype's SILK codec and Xiph.Org's CELT codec. %package -n libopus-devel Summary: Opus Audio Codec Library Development Environment Group: Development/Libraries/C and C++ Requires: libopus%{sover} = %{version} %description -n libopus-devel The Opus codec is designed for interactive speech and audio transmission over the Internet. It is designed by the IETF Codec Working Group and incorporates technology from Skype's SILK codec and Xiph.Org's CELT codec. %prep %setup -q %build %configure \ --disable-static \ --disable-silent-rules \ --disable-doc \ --enable-custom-modes make %{?_smp_mflags} %check make %{?_smp_mflags} check %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %post -n libopus%{sover} -p /sbin/ldconfig %postun -n libopus%{sover} -p /sbin/ldconfig %files -n libopus%{sover} %license COPYING %doc AUTHORS README %{_libdir}/libopus.so.%{sover}* %files -n libopus-devel %{_libdir}/libopus.so %{_includedir}/opus %{_libdir}/pkgconfig/opus.pc %{_datadir}/aclocal/opus.m4 %changelog * Thu Oct 18 2018 mcepl@suse.com - Update to 1.3: - improved speech/music detection based on a neural network - low-bitrate speech improvements - support for immersive audio using ambisonics - tone quality improvements - updates to the Opus standard (rfc 8251) are on by default - security improvements - Clean up SPEC to the latest standards * Mon Jun 26 2017 zaitor@opensuse.org - Update to version 1.2.1: + This fixes an issue where the encoder can misdetect that the signal is SWB instead of FB, lowpassing the signal. This patch makes the encoder much more careful about doing that. * Wed Jun 21 2017 mpluskal@suse.com - Cleanup with spec-cleaner * Tue Jun 20 2017 aloisio@gmx.com - Update to version 1.2 + Speech quality improvements especially in the 12-20 kbit/s range + Improved VBR encoding for hybrid mode + More aggressive use of wider speech bandwidth, including fullband speech starting at 14 kbit/s + Music quality improvements in the 32-48 kb/s range + Generic and SSE CELT optimizations + Support for directly encoding packets up to 120 ms + DTX support for CELT mode + SILK CBR improvements + Support for all of the fixes in draft-ietf-codec-opus-update-06 (the mono downmix and the folding fixes need --enable-update-draft) + Many bug fixes, including integer wrap-arounds discovered through fuzzing (no security implications) - Removed static package * Sun May 28 2017 idonmez@suse.com - Update to version 1.1.5 + This release backports the surround encoder bug fix from 1.2-beta branch * Sat Mar 11 2017 jengelh@inai.de - Rename %%soname to %%sover to better reflect its use. RPM group fix. * Mon Feb 27 2017 zaitor@opensuse.org - Update to version 1.1.4 (CVE-2017-0381): + A specially-crafted Opus packet could cause an integer wrap-around in the SILK LSF stabilization code. This would cause an out-of-bounds read 256 bytes before a constant table. - Drop opus-NLSF-not-negative.patch: Fixed upstream. * Mon Jan 16 2017 zaitor@opensuse.org - Fix CVE-2017-0381 (boo#1020102), opus: remote code execution vulnerability in silk/NLSF_stabilize.c. - Add opus-NLSF-not-negative.patch: Ensure that NLSF cannot be negative when computing a min distance between them. * Sat Aug 13 2016 zaitor@opensuse.org - Update to version 1.1.3: + Neon optimizations improving performance on ARMv7 and ARMv8 by up to 15%%. + Fixes some issues with 16-bit platforms (e.g. TI C55x). + Fixes to comfort noise generation (CNG). + Documenting that PLC packets can also be 2 bytes. + Includes experimental ambisonics work (--enable-ambisonics). - Stop passing conditional --enable/disable-intrinsics, it's enabled by default now. - Not adding the new --enable-ambisonics to configure, it's still experimental. * Wed Jan 27 2016 olaf@aepfle.de - Disable SSE2 in SLE_11 due to code or compiler bugs. * Tue Jan 26 2016 mpluskal@suse.com - Enable tests during package build - Cleanup spec file with spec-cleaner - Drop not needed libtool dependency for build * Tue Jan 19 2016 idonmez@suse.com - Update to version 1.1.2, fixes the following bugs: + Resetting the encoder or decoder state with OPUS_RESET_STATE would disable some run-time selected architecture-specific optimizations. + In hybrid mode discontinuous transmission (DTX) operation, the comfort noise above 8 kHz was incorrectly estimated and could oscillate in time. * Wed Dec 2 2015 zaitor@opensuse.org - Update to version 1.1.1: + x86 SSE, SSE2 and SSE4.1 intrinsics optimizations with run-time CPU detection. + MIPS intrinsics optimizations. + ARM Neon optimizations. + Many architecture-independent optimizations and memory footprint reductions that should improve performance on all platforms, and several minor bug fixes. - Pass --enable-intrinsics to configure. * Sun Dec 8 2013 zaitor@opensuse.org - Update to version 1.1: + New analysis code and tuning that significantly improves encoding quality, especially for variable-bitrate (VBR). + Automatic detection of speech or music to decide which encoding mode to use. + Surround with good quality at 128 kbps for 5.1 and usable down to 48 kbps. + Speed improvements on all architectures, especially ARM, where decoding uses around 40%% less CPU and encoding uses around 30%% less CPU. * Thu Aug 1 2013 zaitor@opensuse.org - Update to version 1.0.3: + Backport of the new 1.1 surround API. + Fixes for a few minor glitches during mode switching. + Some minor fixed-point fixes. + Fix a regression in the FEC code introduced in 1.0.2. * Sat Feb 2 2013 zaitor@opensuse.org - Update to version 1.0.2: + Fix an out-of-bounds read security issue. + Fixes and improvements to the PLC and hybrid mode quality. - Drop opus-fix-out-of-bounds-read-issue-with-the-padding-handling.patch Fixed upstream. * Sun Jan 13 2013 zaitor@opensuse.org - Add opus-fix-out-of-bounds-read-issue-with-the-padding-handling.patch Fixes an out-of-bounds read that could be triggered by a malicious Opus packet causing an integer wrap-around in the padding code. * Wed Sep 19 2012 zaitor@opensuse.org - Update to version 1.0.1: + First bugfix release of stable version. + Changes are mostly buildfixes. + Fully compliant with the Opus specification. - Remove unneeded autoconf, automake, gcc glibc-devel and make. - Remove manual deletion of docs, instead pass --disable-doc to configure. - Minor spec cleanup. * Thu May 31 2012 pascal.bleser@opensuse.org - initial version (0.9.14)