2007-04-03 04:43:34 +02:00
|
|
|
#
|
2011-11-25 15:00:40 +01:00
|
|
|
# spec file for package wavpack
|
2007-04-03 04:43:34 +02:00
|
|
|
#
|
2012-02-14 09:52:40 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-04-03 04:43:34 +02:00
|
|
|
#
|
2008-09-06 04:09:03 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-04-03 04:43:34 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-09-06 04:09:03 +02:00
|
|
|
|
2007-04-03 04:43:34 +02:00
|
|
|
Name: wavpack
|
2012-02-14 09:52:40 +01:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
2008-09-06 04:09:03 +02:00
|
|
|
Url: http://www.wavpack.com/
|
2007-04-03 04:43:34 +02:00
|
|
|
Summary: Free Hybrid Lossless Audio Compression Format
|
2012-02-14 09:52:40 +01:00
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
2010-12-08 20:21:10 +01:00
|
|
|
Version: 4.60.1
|
2012-02-14 09:52:40 +01:00
|
|
|
Release: 0
|
2011-12-01 00:47:11 +01:00
|
|
|
%define soname 1
|
2011-11-25 15:00:40 +01:00
|
|
|
Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2
|
2011-12-01 00:47:11 +01:00
|
|
|
# pbleser: fix .pc file by using @libdir@ instead of @prefix@/lib, and remove -L$libdir altogether
|
|
|
|
Patch1: wavpack-fix_pkgconfig.patch
|
2007-04-03 04:43:34 +02:00
|
|
|
# Name used by third parties before openSUSE 10.3:
|
|
|
|
Provides: WavPack = %{version}-%{release}
|
2011-12-01 00:47:11 +01:00
|
|
|
Requires: libwavpack%{soname} >= %{version}
|
2010-05-03 21:34:10 +02:00
|
|
|
Obsoletes: WavPack < %version
|
2007-04-03 04:43:34 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
WavPack is a completely open audio compression format providing
|
2008-09-06 04:09:03 +02:00
|
|
|
lossless, high-quality lossy, and unique hybrid compression modes.
|
2007-04-03 04:43:34 +02:00
|
|
|
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.
|
|
|
|
|
2008-09-06 04:09:03 +02:00
|
|
|
By default, lossless mode WavPack acts just like a WinZip compressor
|
2007-04-03 04:43:34 +02:00
|
|
|
for audio files. However, unlike MP3 or WMA encoding which can affect
|
|
|
|
the sound quality, not a single bit of the original information is
|
2008-09-06 04:09:03 +02:00
|
|
|
lost, so there is no chance of degradation. This makes lossless mode
|
2007-04-03 04:43:34 +02:00
|
|
|
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
|
2008-09-06 04:09:03 +02:00
|
|
|
creates both, a relatively small, high-quality lossy file that can be
|
2007-04-03 04:43:34 +02:00
|
|
|
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!
|
|
|
|
|
2011-12-01 00:47:11 +01:00
|
|
|
%package -n libwavpack%{soname}
|
2007-07-27 13:05:16 +02:00
|
|
|
Summary: Free Hybrid Lossless Audio Compression Format
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2011-12-01 00:47:11 +01:00
|
|
|
%description -n libwavpack%{soname}
|
2007-07-27 13:05:16 +02:00
|
|
|
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!
|
|
|
|
|
2007-04-03 04:43:34 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Free Hybrid Lossless Audio Compression Format
|
2007-07-27 13:05:16 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-04-03 04:43:34 +02:00
|
|
|
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!
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-12-01 00:47:11 +01:00
|
|
|
%patch1
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%build
|
2011-12-01 00:47:11 +01:00
|
|
|
autoreconf -fiv
|
2007-08-15 20:38:01 +02:00
|
|
|
%configure --disable-static --with-pic
|
2011-12-01 00:47:11 +01:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2007-08-15 20:38:01 +02:00
|
|
|
#not needed
|
2011-12-01 00:47:11 +01:00
|
|
|
%__rm "%{buildroot}%{_libdir}"/*.la
|
2007-04-03 04:43:34 +02:00
|
|
|
|
2010-12-08 20:21:10 +01:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2011-12-01 00:47:11 +01:00
|
|
|
%post -n libwavpack%{soname} -p /sbin/ldconfig
|
2007-04-03 04:43:34 +02:00
|
|
|
|
2011-12-01 00:47:11 +01:00
|
|
|
%postun -n libwavpack%{soname} -p /sbin/ldconfig
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%clean
|
2011-12-01 00:47:11 +01:00
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-09-06 04:09:03 +02:00
|
|
|
# AUTHORS NEWS are empty
|
|
|
|
%doc ChangeLog README license.txt
|
2011-12-01 00:47:11 +01:00
|
|
|
%{_bindir}/wavpack
|
|
|
|
%{_bindir}/wvgain
|
|
|
|
%{_bindir}/wvunpack
|
2010-12-08 20:21:10 +01:00
|
|
|
%{_mandir}/man?/*
|
2007-07-27 13:05:16 +02:00
|
|
|
|
2011-12-01 00:47:11 +01:00
|
|
|
%files -n libwavpack%{soname}
|
2007-07-27 13:05:16 +02:00
|
|
|
%defattr(-,root,root)
|
2011-12-01 00:47:11 +01:00
|
|
|
%{_libdir}/libwavpack.so.%{soname}
|
|
|
|
%{_libdir}/libwavpack.so.%{soname}.*
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2008-09-06 04:09:03 +02:00
|
|
|
%doc doc/*.*
|
2007-04-03 04:43:34 +02:00
|
|
|
%{_includedir}/wavpack
|
2011-12-01 00:47:11 +01:00
|
|
|
%{_libdir}/libwavpack.so
|
2007-04-03 04:43:34 +02:00
|
|
|
%{_libdir}/pkgconfig/wavpack.pc
|
|
|
|
|
|
|
|
%changelog
|