613f70
Name:		wavpack
613f70
Summary:	A completely open audiocodec
613f70
Version:	5.1.0
094c2a
Release:	16%{?dist}
613f70
License:	BSD
613f70
Group:		Applications/Multimedia
613f70
Url:		http://www.wavpack.com/
613f70
Source:		http://www.wavpack.com/%{name}-%{version}.tar.bz2
613f70
Patch1:		wavpack-0001-issue-27-do-not-overwrite-stack-on-corrupt-RF64-file.patch
613f70
Patch2:		wavpack-0002-issue-28-do-not-overwrite-heap-on-corrupt-DSDIFF-fil.patch
613f70
Patch3:		wavpack-0003-issue-28-fix-buffer-overflows-and-bad-allocs-on-corr.patch
613f70
Patch4:		wavpack-0004-issue-33-sanitize-size-of-unknown-chunks-before-mall.patch
613f70
Patch5:		wavpack-0005-issue-30-issue-31-issue-32-no-multiple-format-chunks.patch
6c343d
Patch6:		wavpack-0006-issue-68-clear-WaveHeader-at-start-to-prevent-uninit.patch
6c343d
Patch7:		wavpack-0007-issue-53-error-out-on-zero-sample-rate.patch
6c343d
Patch8:		wavpack-0008-issue-65-67-fortify-dsdiff-file-parsing.patch
6c343d
Patch9:		wavpack-0009-issue-66-make-sure-CAF-files-have-a-desc-chunk.patch
6c343d
Patch10:	wavpack-0010-issue-54-fix-potential-out-of-bounds-heap-read.patch
094c2a
Patch11:	wavpack-0011-issue-110-sanitize-DSD-file-types.patch
094c2a
613f70
# For autoreconf
613f70
BuildRequires:  autoconf
613f70
BuildRequires:  automake
613f70
BuildRequires:  libtool
613f70
613f70
%description
613f70
WavPack is a completely open audio compression format providing lossless,
613f70
high-quality lossy, and a unique hybrid compression mode. Although the
613f70
technology is loosely based on previous versions of WavPack, the new
613f70
version 4 format has been designed from the ground up to offer unparalleled
613f70
performance and functionality.
613f70
613f70
%package devel
613f70
Summary:	WavPack - development files
613f70
Group:		Development/Libraries
613f70
Requires:	%{name}%{?_isa} = %{version}-%{release}
613f70
Requires:	pkgconfig
613f70
613f70
%description devel
613f70
Files needed for developing apps using wavpack
613f70
613f70
%prep
613f70
%autosetup -p1
613f70
613f70
%build
613f70
autoreconf -ivf
613f70
# Disable assembly optimizations to avoid gaps in annobin coverage
613f70
%configure --disable-static \
613f70
    --disable-asm
613f70
613f70
make %{?_smp_mflags}
613f70
613f70
%install
613f70
make DESTDIR=%{buildroot} install
613f70
rm -f %{buildroot}/%{_libdir}/*.la
613f70
613f70
%ldconfig_scriptlets
613f70
613f70
%files
613f70
%{_bindir}/*
613f70
%{_libdir}/libwavpack.so.*
613f70
%{_mandir}/man1/wavpack.1*
613f70
%{_mandir}/man1/wvgain.1*
613f70
%{_mandir}/man1/wvunpack.1*
613f70
%{_mandir}/man1/wvtag.1.*
613f70
%doc AUTHORS COPYING
613f70
613f70
%files devel
613f70
%{_includedir}/*
613f70
%{_libdir}/pkgconfig/*
613f70
%{_libdir}/libwavpack.so
613f70
%doc ChangeLog README
613f70
613f70
%changelog
094c2a
* Tue May 17 2022 Tomas Korbar <tkorbar@redhat.com> - 5.1.0-16
094c2a
- CVE-2021-44269 wavpack: heap Out-of-bounds Read
094c2a
- Resolves: CVE-2021-44269
094c2a
6c343d
* Fri Oct 04 2019 Tomas Korbar <tkorbar@redhat.com> - 5.1.0-15
6c343d
- fix Out-of-bounds read in WavpackVerifySingleBlock function (#1663151)
6c343d
- CVE-2018-19841
6c343d
6c343d
* Thu Oct 03 2019 Tomas Korbar <tkorbar@redhat.com> - 5.1.0-14
6c343d
- fix uninitialized variable in ParseCaffHeaderConfig (#1741251)
6c343d
- CVE-2019-1010317
6c343d
6c343d
* Thu Oct 03 2019 Tomas Korbar <tkorbar@redhat.com> - 5.1.0-13
6c343d
- fortify parsing of .dff files (#1707428, #1733627)
6c343d
- CVE-2019-1010315
6c343d
- CVE-2019-11498
6c343d
6c343d
* Thu Oct 03 2019 Tomas Korbar <tkorbar@redhat.com> - 5.1.0-12
6c343d
- fix possible infinite loop in WavpackPackInit function (#1663154)
6c343d
- CVE-2018-19840
6c343d
6c343d
* Tue Oct 01 2019 Tomas Korbar <tkorbar@redhat.com> - 5.1.0-11
6c343d
- Fix issues with gating
6c343d
6c343d
* Mon Sep 30 2019 Tomas Korbar <tkorbar@redhat.com> - 5.1.0-10
6c343d
- fix uninitialized variable in ParseWave64HeaderConfig (#1741200)
6c343d
- CVE-2019-1010319
6c343d
613f70
* Thu Sep 20 2018 Miroslav Lichvar <mlichvar@redhat.com> - 5.1.0-9
613f70
- Disable assembly optimizations to avoid gaps in annobin coverage (#1630638)
613f70
613f70
* Tue May 22 2018 Miroslav Lichvar <mlichvar@redhat.com> - 5.1.0-8
613f70
- Fix for CVE-2018-10536, CVE-2018-10537, CVE-2018-10538, CVE-2018-10539,
613f70
  CVE-2018-10540
613f70
613f70
* Tue Feb 20 2018 Peter Lemenkov <lemenkov@gmail.com> - 5.1.0-7
613f70
- Fix for CVE-2018-6767, CVE-2018-7253, and two more GH issues
613f70
613f70
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-6
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
613f70
613f70
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.1.0-5
613f70
- Switch to %%ldconfig_scriptlets
613f70
613f70
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-4
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
613f70
613f70
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-3
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
613f70
613f70
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
613f70
613f70
* Wed Feb 01 2017 Sérgio Basto <sergio@serjux.com> - 5.1.0-1
613f70
- Update wavpack to 5.1.0
613f70
613f70
* Thu Apr 21 2016 Sérgio Basto <sergio@serjux.com> - 4.80.0-1
613f70
- Update wavpack to 4.80.0
613f70
613f70
* Mon Mar 28 2016 Sérgio Basto <sergio@serjux.com> - 4.75.2-1
613f70
- Update to 4.75.2
613f70
613f70
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.70.0-6
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
613f70
613f70
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.70.0-5
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
613f70
613f70
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 4.70.0-4
613f70
- Rebuilt for Fedora 23 Change
613f70
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
613f70
613f70
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.70.0-3
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
613f70
613f70
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.70.0-2
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
613f70
613f70
* Mon Feb 17 2014 Peter Lemenkov <lemenkov@gmail.com> - 4.70.0-1
613f70
- Ver. 4.70.0
613f70
613f70
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-8
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
613f70
613f70
* Sun Jul 21 2013 Peter Lemenkov <lemenkov@gmail.com> - 4.60.1-7
613f70
- Reconfigure to allow building on AArch64
613f70
- Cleanup spec-file
613f70
613f70
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-6
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
613f70
613f70
* Thu Jan  3 2013 Miroslav Lichvar <mlichvar@redhat.com> 4.60.1-5
613f70
- Fix -Wstrict-aliasing compiler warnings
613f70
613f70
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-4
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
613f70
613f70
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-3
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
613f70
613f70
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-2
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
613f70
613f70
* Sun Jan  9 2011 Peter Lemenkov <lemenkov@gmail.com> 4.60.1-1
613f70
- Version 4.60.1 (bugfix release)
613f70
- Added man-pages
613f70
- The only patch was rebased
613f70
- Small cosmetic spec-file cleanups
613f70
613f70
* Mon Sep 28 2009 Peter Lemenkov <lemenkov@gmail.com> 4.60-1
613f70
- Version 4.60
613f70
613f70
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.50.1-4
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
613f70
613f70
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.50.1-3
613f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
613f70
613f70
* Sat Aug 30 2008 Peter Lemenkov <lemenkov@gmail.com> 4.50.1-2
613f70
- Fixes to meet the Fedora Packaging Guidelines
613f70
613f70
* Sun Aug 24 2008 Peter Lemenkov <lemenkov@gmail.com> 4.50.1-1
613f70
- Version 4.50.1
613f70
613f70
* Wed Jun 18 2008 Peter Lemenkov <lemenkov@gmail.com> 4.50-1
613f70
- Version 4.50
613f70
613f70
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.41-2
613f70
- Autorebuild for GCC 4.3
613f70
613f70
* Sat May 12 2007 Peter Lemenkov <lemenkov@gmail.com> 4.41-1
613f70
- Version 4.41
613f70
- Removed unnecessary --with-pic
613f70
613f70
* Fri Dec 15 2006 Peter Lemenkov <lemenkov@gmail.com> 4.40-1.1
613f70
- Rebuild
613f70
613f70
* Fri Dec 15 2006 Peter Lemenkov <lemenkov@gmail.com> 4.40-1
613f70
- Version 4.40
613f70
613f70
* Tue Sep 12 2006 Peter Lemenkov <lemenkov@gmail.com> 4.32-3%{?dist}
613f70
- Rebuild for FC6
613f70
613f70
* Sat Jul 01 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.32-2%{?dist}
613f70
- force PIC-only code
613f70
613f70
* Wed Jun 28 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.32-1%{?dist}
613f70
- Version 4.32
613f70
613f70
* Thu Mar 30 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.31-2%{?dist}
613f70
- rebuild
613f70
613f70
* Sat Jan 07 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.31-1
613f70
- Fixed several issues with wavpack.pc.in
613f70
- Cosmetic fixes.
613f70
- Version 4.31
613f70
613f70
* Sun Nov 13 2005 Peter Lemenkov <lemenkov@newmail.ru> 4.3-1
613f70
- Initial build for FC-Extras
613f70
- Version 4.3
613f70