Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
wavpack
wavpack.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wavpack.spec of Package wavpack
# # spec file for package wavpack # # 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: wavpack BuildRequires: libtool BuildRequires: pkgconfig URL: http://www.wavpack.com/ Summary: Free Hybrid Lossless Audio Compression Format License: BSD-3-Clause Group: Productivity/Multimedia/Sound/Editors and Convertors Version: 4.60.99 Release: 0 %define soname 1 %define real_ver 4.70.0-beta Source: http://www.wavpack.com/%{name}-%{real_ver}.tar.bz2 Source1: license.txt # pbleser: fix .pc file by using @libdir@ instead of @prefix@/lib, and remove -L$libdir altogether Patch1: wavpack-fix_pkgconfig.patch Patch2: wavpack-fix-word-boundaries.patch # PATCH-FIX-SECURITY CVE-2018-19840.patch bsc1120930 CVE-2018-19840 sbrabec@suse.cz -- Fix denial-of-service (resource exhaustion caused by an infinite loop). Patch3: CVE-2018-19840.patch # CVE-2020-35738 [bsc#1180414], out-of-bounds write in WavpackPackSamples in pack_utils.c Patch4: wavpack-CVE-2020-35738.patch # CVE-2022-2476 [bsc#1201716], Null pointer dereference in wvunpack Patch5: wavpack-CVE-2022-2476.patch # Name used by third parties before openSUSE 10.3: Provides: WavPack = %{version}-%{release} Requires: libwavpack%{soname} >= %{version} Obsoletes: WavPack < %version BuildRoot: %{_tmppath}/%{name}-%{version}-build %description WavPack is a completely open audio compression format providing lossless, high-quality lossy, and unique hybrid compression modes. Although the technology is loosely based on previous versions of WavPack, the new version 4 format has been designed from the ground up to offer unparalleled performance and functionality. By default, lossless mode WavPack acts just like a WinZip compressor for audio files. However, unlike MP3 or WMA encoding which can affect the sound quality, not a single bit of the original information is lost, so there is no chance of degradation. This makes lossless mode ideal for archiving audio material or any other situation where quality is paramount. The compression ratio depends on the source material, but generally is between 30% and 70%. The hybrid mode provides all the advantages of lossless compression with an additional bonus. Instead of creating a single file, this mode creates both, a relatively small, high-quality lossy file that can be used all by itself, and a "correction" file that (when combined with the lossy file) provides full lossless restoration. For some users this means never having to choose between lossless and lossy compression! %package -n libwavpack%{soname} Summary: Free Hybrid Lossless Audio Compression Format Group: System/Libraries %description -n libwavpack%{soname} WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode. Although the technology is loosely based on previous versions of WavPack, the new version 4 format has been designed from the ground up to offer unparalleled performance and functionality. In the default lossless mode WavPack acts just like a WinZip compressor for audio files. However, unlike MP3 or WMA encoding which can affect the sound quality, not a single bit of the original information is lost, so there's no chance of degradation. This makes lossless mode ideal for archiving audio material or any other situation where quality is paramount. The compression ratio depends on the source material, but generally is between 30% and 70%. The hybrid mode provides all the advantages of lossless compression with an additional bonus. Instead of creating a single file, this mode creates both a relatively small, high-quality lossy file that can be used all by itself, and a "correction" file that (when combined with the lossy file) provides full lossless restoration. For some users this means never having to choose between lossless and lossy compression! %package devel Summary: Free Hybrid Lossless Audio Compression Format Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: glibc-devel %description devel WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode. Although the technology is loosely based on previous versions of WavPack, the new version 4 format has been designed from the ground up to offer unparalleled performance and functionality. In the default lossless mode WavPack acts just like a WinZip compressor for audio files. However, unlike MP3 or WMA encoding which can affect the sound quality, not a single bit of the original information is lost, so there's no chance of degradation. This makes lossless mode ideal for archiving audio material or any other situation where quality is paramount. The compression ratio depends on the source material, but generally is between 30% and 70%. The hybrid mode provides all the advantages of lossless compression with an additional bonus. Instead of creating a single file, this mode creates both a relatively small, high-quality lossy file that can be used all by itself, and a "correction" file that (when combined with the lossy file) provides full lossless restoration. For some users this means never having to choose between lossless and lossy compression! %prep %setup -q -n %{name}-4.70.0 %patch1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build autoreconf -fiv %configure --disable-static --with-pic %{__make} %{?_smp_mflags} %install %makeinstall #not needed %__rm "%{buildroot}%{_libdir}"/*.la cp %{S:1} . %check make check %post -n libwavpack%{soname} -p /sbin/ldconfig %postun -n libwavpack%{soname} -p /sbin/ldconfig %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) # AUTHORS NEWS are empty %doc ChangeLog README license.txt %{_bindir}/wavpack %{_bindir}/wvgain %{_bindir}/wvunpack %{_mandir}/man?/* %files -n libwavpack%{soname} %defattr(-,root,root) %{_libdir}/libwavpack.so.%{soname} %{_libdir}/libwavpack.so.%{soname}.* %files devel %defattr(-,root,root) %{_includedir}/wavpack %{_libdir}/libwavpack.so %{_libdir}/pkgconfig/wavpack.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor