|
|
|
@ -1,15 +1,17 @@
|
|
|
|
|
Summary: A voice compression format (codec)
|
|
|
|
|
Name: speex
|
|
|
|
|
Version: 1.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
License: BSD
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: https://www.speex.org/
|
|
|
|
|
Source0: https://downloads.xiph.org/releases/speex/%{name}-%{version}.tar.gz
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: pkgconfig(ogg)
|
|
|
|
|
BuildRequires: pkgconfig(speexdsp)
|
|
|
|
|
|
|
|
|
|
Patch0: speex-CVE-2020-23903.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Speex is a patent-free compression format designed especially for
|
|
|
|
|
speech. It is specialized for voice communications at low bit-rates in
|
|
|
|
@ -19,7 +21,6 @@ data (e.g. voice mail).
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development package for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -28,7 +29,6 @@ speech. This package contains development files for %{name}
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
Summary: The tools package for %{name}
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
@ -37,16 +37,17 @@ speech. This package contains tools files and user's manual for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1 -b.CVE-2020-23903
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static --enable-binaries
|
|
|
|
|
# Remove rpath from speexenc and speexdec
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
%make_install
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
@ -72,6 +73,39 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Mar 24 2022 Tomas Korbar <tkorbar@redhat.com> - 1.2.0-11
|
|
|
|
|
- CVE-2020-23903 speex: divide by zero in read_samples() via crafted WAV file
|
|
|
|
|
- Resolves: CVE-2020-23903
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0-10
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0-9
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Aug 18 2020 Tomas Korbar <tkorbar@redhat.com> - 1.2.0-7
|
|
|
|
|
- Use make macros
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 06 2018 Miroslav Lichvar <mlichvar@redhat.com> - 1.2.0-1
|
|
|
|
|
- update to 1.2.0
|
|
|
|
|
- use macro for ldconfig scriptlets
|
|
|
|
|