- Fix build with libsndfile 1.1.0; add missing build reqs - update to 1.1.0: * Added MPEG Encode/Decode Support * New fuzzer for OSS-Fuzz, thanks @DavidKorczynski. Fixed: * Memory leak in caf_read_header(), credit to OSS-Fuzz (issue 30375). * Stack overflow in guess_file_type() * Abort in fuzzer, thanks @bobsayshilol, credit to OSS-Fuzz * Infinite loop in svx_read_header(), thanks @bobsayshilol, credit to OSS-Fuzz * GCC and Clang pedantic warnings, thanks @bobsayshilol. * Normalisation issue when scaling floating point data to int in replace_read_f2i(), thanks @bobsayshilol, (issue #702). * Missing samples when doing a partial read of Ogg file from index till the end of file, thanks @arthurt (issue #643). * sndfile-salvage: Handle files > 4 GB on Windows OS * Undefined shift in dyn_get_32bit(), credit to OSS-Fuzz * Integer overflow in nms_adpcm_update(), credit to OSS-Fuzz * Integer overflow in psf_log_printf(), credit to OSS-Fuzz * ABI version incompatibility between Autotools and CMake build on Apple platforms. * Heap buffer overflow in wavlike_ima_decode_block() * Heap buffer overflow in msadpcm_decode_block() * Heap buffer overflow in psf_binheader_readf() * Index out of bounds in psf_nms_adpcm_decode_block() * Heap buffer overflow in flac_buffer_copy() * Heap buffer overflow in copyPredictorTo24() * Uninitialized variable in psf_binheader_readf() - drop sndfile-deinterlace-channels-check.patch ms_adpcm-Fix-and-extend-size-checks.patch, libsndfile-CVE-2021-4156.patch (obsolete) OBS-URL: https://build.opensuse.org/request/show/967827 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsndfile?expand=0&rev=84
67 lines
2.0 KiB
RPMSpec
67 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package libsndfile-progs
|
|
#
|
|
# Copyright (c) 2022 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/
|
|
#
|
|
|
|
|
|
Name: libsndfile-progs
|
|
Version: 1.1.0
|
|
Release: 0
|
|
Summary: Example Programs for libsndfile
|
|
License: LGPL-2.1-or-later
|
|
Group: System/Libraries
|
|
URL: https://libsndfile.github.io/libsndfile/
|
|
Source0: https://github.com/libsndfile/libsndfile/releases/download/%{version}/libsndfile-%{version}.tar.xz
|
|
Source1: https://github.com/libsndfile/libsndfile/releases/download/%{version}/libsndfile-%{version}.tar.xz.asc
|
|
Source2: libsndfile.keyring
|
|
# PATCH-FIX-OPENSUSE
|
|
Patch100: sndfile-ocloexec.patch
|
|
BuildRequires: alsa-devel
|
|
BuildRequires: cmake
|
|
BuildRequires: flac-devel
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libjack-devel
|
|
BuildRequires: libopus-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: libvorbis-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: speex-devel
|
|
BuildRequires: sqlite3-devel
|
|
|
|
%description
|
|
This package includes the example programs for libsndfile.
|
|
|
|
%prep
|
|
%autosetup -p1 -n libsndfile-%{version}
|
|
|
|
%build
|
|
%cmake -DENABLE_EXPERIMENTAL=ON -DBUILD_EXAMPLES=OFF -DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/libsndfile
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
# remove unnecessary files
|
|
rm -rf %{buildroot}%{_defaultdocdir}/libsndfile
|
|
rm -rf %{buildroot}%{_libdir}
|
|
rm -rf %{buildroot}%{_includedir}
|
|
rm -rf %{buildroot}%{_datadir}/doc/libsndfile1-dev
|
|
|
|
%files
|
|
%{_bindir}/*
|
|
%{_mandir}/man?/*
|
|
|
|
%changelog
|