OBS User unknown 2007-04-03 02:43:34 +00:00 committed by Git OBS Bridge
commit 12e4d9a009
7 changed files with 182 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

0
ready Normal file
View File

3
wavpack-4.40.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2d167842cbc92262ee5541ef1c0d87d46a6b9fe14cc298b625547720c82beca
size 320445

11
wavpack.changes Normal file
View File

@ -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
<toni@links2linux.de>.

128
wavpack.spec Normal file
View File

@ -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 <david@wavpack.com>
%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 <david@wavpack.com>
%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
<toni@links2linux.de>.

16
wavpack_word_eof.diff Normal file
View File

@ -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