wavpack/wavpack.spec

129 lines
4.2 KiB
RPMSpec
Raw Normal View History

#
# 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>.