commit 12e4d9a009ff73ef536dcf2dbd602cb36884511b4ce097f8f080fcb852a3f47c Author: OBS User unknown Date: Tue Apr 3 02:43:34 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wavpack?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/wavpack-4.40.0.tar.bz2 b/wavpack-4.40.0.tar.bz2 new file mode 100644 index 0000000..fc2c476 --- /dev/null +++ b/wavpack-4.40.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2d167842cbc92262ee5541ef1c0d87d46a6b9fe14cc298b625547720c82beca +size 320445 diff --git a/wavpack.changes b/wavpack.changes new file mode 100644 index 0000000..e64586f --- /dev/null +++ b/wavpack.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 29 11:20:58 CEST 2007 - sbrabec@suse.cz + +- "comparison is always false" warnings fix (David Bryant). + +------------------------------------------------------------------- +Wed Mar 28 16:41:05 CEST 2007 - sbrabec@suse.cz + +- New SuSE package, version 4.40.0, based on work of Toni Graffy + . + diff --git a/wavpack.spec b/wavpack.spec new file mode 100644 index 0000000..84d65c9 --- /dev/null +++ b/wavpack.spec @@ -0,0 +1,128 @@ +# +# spec file for package wavpack (Version 4.40.0) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: wavpack +License: BSD License and BSD-like +Group: Productivity/Multimedia/Sound/Editors and Convertors +URL: http://www.wavpack.com/ +Summary: Free Hybrid Lossless Audio Compression Format +Version: 4.40.0 +Release: 2 +Source: %{name}-%{version}.tar.bz2 +Patch: wavpack_word_eof.diff +# Name used by third parties before openSUSE 10.3: +Provides: WavPack = %{version}-%{release} +Obsoletes: WavPack +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +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! + + + +Authors: +-------- + David Bryant + +%package devel +Summary: Free Hybrid Lossless Audio Compression Format +Group: Productivity/Multimedia/Sound/Editors and Convertors +Requires: %{name} = %{version} 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! + + + +Authors: +-------- + David Bryant + +%prep +%setup -q +%patch + +%build +autoreconf -f -i +%configure +make %{?jobs:-j%jobs} + +%install +%makeinstall + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +# AUTHORS NEWS are empty +%doc ChangeLog README doc/*.txt +%{_bindir}/* +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/wavpack +%{_libdir}/*.so +%{_libdir}/*.*a +%{_libdir}/pkgconfig/wavpack.pc + +%changelog +* Thu Mar 29 2007 - sbrabec@suse.cz +- "comparison is always false" warnings fix (David Bryant). +* Wed Mar 28 2007 - sbrabec@suse.cz +- New SuSE package, version 4.40.0, based on work of Toni Graffy + . diff --git a/wavpack_word_eof.diff b/wavpack_word_eof.diff new file mode 100644 index 0000000..8d398d6 --- /dev/null +++ b/wavpack_word_eof.diff @@ -0,0 +1,16 @@ +Fixes following warnings: +warning: comparison is always false due to limited range of data type + +Index: src/wavpack_local.h +================================================================================ +--- src/wavpack_local.h ++++ src/wavpack_local.h +@@ -585,7 +585,7 @@ + signed char store_weight (int weight); + int restore_weight (signed char weight); + +-#define WORD_EOF (1L << 31) ++#define WORD_EOF ((int32_t)(1L << 31)) + + // float.c +