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
|
|
|
#
|
2019-01-08 09:02:37 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX 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.
|
|
|
|
|
2019-01-08 09:02:37 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-04-03 04:43:34 +02:00
|
|
|
#
|
|
|
|
|
2008-09-06 04:09:03 +02:00
|
|
|
|
2017-11-10 10:29:35 +01:00
|
|
|
%define soname 1
|
2007-04-03 04:43:34 +02:00
|
|
|
Name: wavpack
|
2019-08-14 12:12:02 +02:00
|
|
|
Version: 5.1.0~git20190420.22977b2
|
2017-11-10 10:29:35 +01:00
|
|
|
Release: 0
|
2017-11-14 23:42:26 +01:00
|
|
|
Summary: Hybrid Lossless Audio Compression Format
|
2012-02-14 09:52:40 +01:00
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
2019-08-14 12:12:02 +02:00
|
|
|
URL: http://www.wavpack.com/
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2017-11-10 11:38:53 +01:00
|
|
|
Source99: baselibs.conf
|
2017-11-10 10:29:35 +01:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%description
|
2017-11-14 23:42:26 +01:00
|
|
|
WavPack is an open audio compression format providing lossless, high-quality
|
|
|
|
lossy, and unique hybrid compression modes.
|
|
|
|
|
|
|
|
Lossless mode is 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 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
|
|
|
|
2011-12-01 00:47:11 +01:00
|
|
|
%package -n libwavpack%{soname}
|
2017-11-14 23:42:26 +01:00
|
|
|
Summary: Hybrid Lossless Audio Compression Format
|
2007-07-27 13:05:16 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2011-12-01 00:47:11 +01:00
|
|
|
%description -n libwavpack%{soname}
|
2017-11-14 23:42:26 +01:00
|
|
|
WavPack is an open audio compression format providing lossless, high-quality
|
|
|
|
lossy, and unique hybrid compression modes.
|
|
|
|
|
|
|
|
Lossless mode is 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%%.
|
2007-07-27 13:05:16 +02:00
|
|
|
|
2007-04-03 04:43:34 +02:00
|
|
|
%package devel
|
2017-11-14 23:42:26 +01:00
|
|
|
Summary: Development files for wavpack, an audio compression format
|
2007-07-27 13:05:16 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2013-07-01 19:50:28 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: glibc-devel
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%description devel
|
2017-11-14 23:42:26 +01:00
|
|
|
WavPack is an open audio compression format providing lossless, high-quality
|
|
|
|
lossy, and unique hybrid compression modes.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of wavpack.
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%prep
|
2017-11-10 10:29:35 +01:00
|
|
|
%setup -q
|
|
|
|
|
2007-04-03 04:43:34 +02:00
|
|
|
%build
|
2011-12-01 00:47:11 +01:00
|
|
|
autoreconf -fiv
|
2017-11-14 23:42:26 +01:00
|
|
|
%configure --disable-static
|
2017-11-10 10:29:35 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%install
|
2017-11-10 10:29:35 +01:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-04-03 04:43:34 +02:00
|
|
|
|
2010-12-08 20:21:10 +01:00
|
|
|
%check
|
2017-11-10 10:29:35 +01:00
|
|
|
make %{?_smp_mflags} check
|
2010-12-08 20:21:10 +01:00
|
|
|
|
2011-12-01 00:47:11 +01:00
|
|
|
%post -n libwavpack%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n libwavpack%{soname} -p /sbin/ldconfig
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%files
|
2019-08-14 12:12:02 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc ChangeLog README.md
|
2011-12-01 00:47:11 +01:00
|
|
|
%{_bindir}/wavpack
|
|
|
|
%{_bindir}/wvgain
|
|
|
|
%{_bindir}/wvunpack
|
2017-11-10 10:29:35 +01:00
|
|
|
%{_bindir}/wvtag
|
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}
|
|
|
|
%{_libdir}/libwavpack.so.%{soname}
|
|
|
|
%{_libdir}/libwavpack.so.%{soname}.*
|
2007-04-03 04:43:34 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_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
|