16fe46
Name:		wavpack
16fe46
Summary:	A completely open audiocodec
16fe46
Version:	5.4.0
0a98a4
Release:	5%{?dist}
16fe46
License:	BSD
16fe46
Url:		http://www.wavpack.com/
16fe46
Source:		http://www.wavpack.com/%{name}-%{version}.tar.bz2
16fe46
# For autoreconf
16fe46
BuildRequires: make
16fe46
BuildRequires:  autoconf
16fe46
BuildRequires:  automake
16fe46
BuildRequires:  libtool
16fe46
0a98a4
Patch0: wavpack-5.4.0-CVE-2021-44269-heap-Out-of-bounds-Read.patch
0a98a4
16fe46
%description
16fe46
WavPack is a completely open audio compression format providing lossless,
16fe46
high-quality lossy, and a unique hybrid compression mode. Although the
16fe46
technology is loosely based on previous versions of WavPack, the new
16fe46
version 4 format has been designed from the ground up to offer unparalleled
16fe46
performance and functionality.
16fe46
16fe46
%package devel
16fe46
Summary:	WavPack - development files
16fe46
Requires:	%{name}%{?_isa} = %{version}-%{release}
16fe46
Requires:	pkgconfig
16fe46
16fe46
%description devel
16fe46
Files needed for developing apps using wavpack
16fe46
16fe46
%prep
16fe46
%autosetup -p1
16fe46
16fe46
%build
16fe46
autoreconf -ivf
16fe46
# Debian and Buildroot recomendation:
16fe46
# WavPack "autodetects" CPU type to enable ASM code. However, the assembly code
16fe46
# for ARM is written for ARMv7 only and building WavPack for an ARM-non-v7
16fe46
# architecture will fail.
16fe46
# http://lists.busybox.net/pipermail/buildroot/2015-October/142117.html
16fe46
%configure --disable-static \
16fe46
%ifarch armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv6hl
16fe46
    --disable-asm \
16fe46
%endif
16fe46
16fe46
make %{?_smp_mflags}
16fe46
16fe46
%install
16fe46
%make_install
16fe46
rm -f %{buildroot}/%{_libdir}/*.la
16fe46
16fe46
%ldconfig_scriptlets
16fe46
16fe46
%files
16fe46
%{_bindir}/*
16fe46
%{_libdir}/libwavpack.so.*
16fe46
%{_mandir}/man1/wavpack.1*
16fe46
%{_mandir}/man1/wvgain.1*
16fe46
%{_mandir}/man1/wvunpack.1*
16fe46
%{_mandir}/man1/wvtag.1*
16fe46
%doc AUTHORS doc/wavpack_doc.html
16fe46
%license COPYING
16fe46
16fe46
%files devel
16fe46
%{_includedir}/*
16fe46
%{_libdir}/pkgconfig/*
16fe46
%{_libdir}/libwavpack.so
16fe46
%doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf
16fe46
16fe46
%changelog
0a98a4
* Tue May 17 2022 Tomas Korbar <tkorbar@redhat.com> - 5.4.0-5
0a98a4
- CVE-2021-44269 wavpack: heap Out-of-bounds Read
0a98a4
- Resolves: CVE-2021-44269
0a98a4
16fe46
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.4.0-4
16fe46
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
16fe46
  Related: rhbz#1991688
16fe46
16fe46
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.4.0-3
16fe46
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
16fe46
16fe46
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.0-2
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
16fe46
16fe46
* Sun Jan 17 2021 Sérgio Basto <sergio@serjux.com> - 5.4.0-1
16fe46
- Update wavpack to 5.4.0 (#1915740)
16fe46
- Security fix for CVE-2020-35738
16fe46
16fe46
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
16fe46
16fe46
* Sat Apr 18 2020 Peter Lemenkov <lemenkov@gmail.com> - 5.3.0-1
16fe46
- Update to 5.3.0
16fe46
16fe46
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-2
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
16fe46
16fe46
* Thu Jan 09 2020 Tomas Korbar <tkorbar@redhat.com> - 5.2.0-1
16fe46
- Update to 5.2.0
16fe46
16fe46
* Mon Aug 19 2019 Tomas Korbar <tkorbar@redhat.com> - 5.1.0-16
16fe46
- Fix for CVE-2019-1010317
16fe46
16fe46
* Mon Aug 19 2019 Tomas Korbar <tkorbar@redhat.com> - 5.1.0-15
16fe46
- Fix for CVE-2019-1010319
16fe46
16fe46
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-14
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
16fe46
16fe46
* Fri May 17 2019 Peter Lemenkov <lemenkov@gmail.com> - 5.1.0-13
16fe46
- Fix for CVE-2019-11498
16fe46
16fe46
* Wed Apr 10 2019 Peter Lemenkov <lemenkov@gmail.com> - 5.1.0-12
16fe46
- Fix for CVE-2018-19840, CVE-2018-19841
16fe46
16fe46
* Thu Feb 28 2019 Sérgio Basto <sergio@serjux.com> - 5.1.0-11
16fe46
- Make the manual pages decompression format agnostic
16fe46
16fe46
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-10
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
16fe46
16fe46
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-9
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
16fe46
16fe46
* Tue May 22 2018 Miroslav Lichvar <mlichvar@redhat.com> - 5.1.0-8
16fe46
- Fix for CVE-2018-10536, CVE-2018-10537, CVE-2018-10538, CVE-2018-10539,
16fe46
  CVE-2018-10540
16fe46
16fe46
* Tue Feb 20 2018 Peter Lemenkov <lemenkov@gmail.com> - 5.1.0-7
16fe46
- Fix for CVE-2018-6767, CVE-2018-7253, and two more GH issues
16fe46
16fe46
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-6
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
16fe46
16fe46
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.1.0-5
16fe46
- Switch to %%ldconfig_scriptlets
16fe46
16fe46
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-4
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
16fe46
16fe46
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-3
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
16fe46
16fe46
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
16fe46
16fe46
* Wed Feb 01 2017 Sérgio Basto <sergio@serjux.com> - 5.1.0-1
16fe46
- Update wavpack to 5.1.0
16fe46
16fe46
* Thu Apr 21 2016 Sérgio Basto <sergio@serjux.com> - 4.80.0-1
16fe46
- Update wavpack to 4.80.0
16fe46
16fe46
* Mon Mar 28 2016 Sérgio Basto <sergio@serjux.com> - 4.75.2-1
16fe46
- Update to 4.75.2
16fe46
16fe46
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.70.0-6
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
16fe46
16fe46
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.70.0-5
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
16fe46
16fe46
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 4.70.0-4
16fe46
- Rebuilt for Fedora 23 Change
16fe46
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
16fe46
16fe46
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.70.0-3
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
16fe46
16fe46
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.70.0-2
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
16fe46
16fe46
* Mon Feb 17 2014 Peter Lemenkov <lemenkov@gmail.com> - 4.70.0-1
16fe46
- Ver. 4.70.0
16fe46
16fe46
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-8
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
16fe46
16fe46
* Sun Jul 21 2013 Peter Lemenkov <lemenkov@gmail.com> - 4.60.1-7
16fe46
- Reconfigure to allow building on AArch64
16fe46
- Cleanup spec-file
16fe46
16fe46
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-6
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
16fe46
16fe46
* Thu Jan  3 2013 Miroslav Lichvar <mlichvar@redhat.com> 4.60.1-5
16fe46
- Fix -Wstrict-aliasing compiler warnings
16fe46
16fe46
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-4
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
16fe46
16fe46
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-3
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
16fe46
16fe46
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.60.1-2
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
16fe46
16fe46
* Sun Jan  9 2011 Peter Lemenkov <lemenkov@gmail.com> 4.60.1-1
16fe46
- Version 4.60.1 (bugfix release)
16fe46
- Added man-pages
16fe46
- The only patch was rebased
16fe46
- Small cosmetic spec-file cleanups
16fe46
16fe46
* Mon Sep 28 2009 Peter Lemenkov <lemenkov@gmail.com> 4.60-1
16fe46
- Version 4.60
16fe46
16fe46
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.50.1-4
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
16fe46
16fe46
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.50.1-3
16fe46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
16fe46
16fe46
* Sat Aug 30 2008 Peter Lemenkov <lemenkov@gmail.com> 4.50.1-2
16fe46
- Fixes to meet the Fedora Packaging Guidelines
16fe46
16fe46
* Sun Aug 24 2008 Peter Lemenkov <lemenkov@gmail.com> 4.50.1-1
16fe46
- Version 4.50.1
16fe46
16fe46
* Wed Jun 18 2008 Peter Lemenkov <lemenkov@gmail.com> 4.50-1
16fe46
- Version 4.50
16fe46
16fe46
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.41-2
16fe46
- Autorebuild for GCC 4.3
16fe46
16fe46
* Sat May 12 2007 Peter Lemenkov <lemenkov@gmail.com> 4.41-1
16fe46
- Version 4.41
16fe46
- Removed unnecessary --with-pic
16fe46
16fe46
* Fri Dec 15 2006 Peter Lemenkov <lemenkov@gmail.com> 4.40-1.1
16fe46
- Rebuild
16fe46
16fe46
* Fri Dec 15 2006 Peter Lemenkov <lemenkov@gmail.com> 4.40-1
16fe46
- Version 4.40
16fe46
16fe46
* Tue Sep 12 2006 Peter Lemenkov <lemenkov@gmail.com> 4.32-3%{?dist}
16fe46
- Rebuild for FC6
16fe46
16fe46
* Sat Jul 01 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.32-2%{?dist}
16fe46
- force PIC-only code
16fe46
16fe46
* Wed Jun 28 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.32-1%{?dist}
16fe46
- Version 4.32
16fe46
16fe46
* Thu Mar 30 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.31-2%{?dist}
16fe46
- rebuild
16fe46
16fe46
* Sat Jan 07 2006 Peter Lemenkov <lemenkov@newmail.ru> 4.31-1
16fe46
- Fixed several issues with wavpack.pc.in
16fe46
- Cosmetic fixes.
16fe46
- Version 4.31
16fe46
16fe46
* Sun Nov 13 2005 Peter Lemenkov <lemenkov@newmail.ru> 4.3-1
16fe46
- Initial build for FC-Extras
16fe46
- Version 4.3
16fe46