diff --git a/wavpack-5.4.0.tar.bz2 b/wavpack-5.4.0.tar.bz2 deleted file mode 100644 index 7fe2d9fc5ec1384d1b3ff603df9643379292ccdf..0000000000000000000000000000000000000000 Binary files a/wavpack-5.4.0.tar.bz2 and /dev/null differ diff --git a/wavpack-5.6.0.tar.xz b/wavpack-5.6.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..e1480de1ffab003ed9285180835d0ab36b799c93 Binary files /dev/null and b/wavpack-5.6.0.tar.xz differ diff --git a/wavpack.spec b/wavpack.spec index 4f473851f4719d15916fcbaae12dd596e6968abb..0e1311aa6637b6d6c966149edd6798c1df1a6de5 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,17 +1,11 @@ %define anolis_release 1 Name: wavpack Summary: A completely open audiocodec -Version: 5.4.0 +Version: 5.6.0 Release: %{anolis_release}%{?dist} License: BSD Url: http://www.wavpack.com/ -Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 -# CVE-2021-44269 -Patch1: 0001-issue-110-sanitize-DSD-file-types-for-invalid-length.patch -# For autoreconf -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +Source: http://www.wavpack.com/%{name}-%{version}.tar.xz BuildRequires: make %description @@ -24,43 +18,55 @@ performance and functionality. %package devel Summary: WavPack - development files Requires: %{name} = %{version}-%{release} -Requires: pkgconfig %description devel -Files needed for developing apps using wavpack +Files needed for developing apps using wavpack. + +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. %prep %autosetup -p1 %build -autoreconf -ivf -%configure --disable-static - -make %{?_smp_mflags} +%configure --disable-static --disable-rpath +%make_build %install %make_install -rm -f %{buildroot}/%{_libdir}/*.la -%ldconfig_scriptlets +rm -fr %{buildroot}%{_datadir}/doc/%{name} + +%generate_compatibility_deps %files +%license COPYING %{_bindir}/* +%{abidir}/*-option.list %{_libdir}/libwavpack.so.* +%{abidir}/*.dump %{_mandir}/man1/wavpack.1* %{_mandir}/man1/wvgain.1* %{_mandir}/man1/wvunpack.1* %{_mandir}/man1/wvtag.1* -%doc AUTHORS doc/wavpack_doc.html -%license COPYING %files devel %{_includedir}/* %{_libdir}/pkgconfig/* %{_libdir}/libwavpack.so -%doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf + +%files doc +%doc AUTHORS ChangeLog doc/* %changelog -*Thu Apr 14 2022 Chunmei Xu - 5.4.0-1 +* Fri Jan 20 2023 Funda Wang - 5.6.0-1 +- New version 5.6.0 + +* Thu Apr 14 2022 Chunmei Xu - 5.4.0-1 - init from upstream - fix CVE-2021-44269