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
|
|
|
#
|
2024-03-17 17:27:25 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
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
|
2024-03-17 17:27:25 +01:00
|
|
|
Version: 5.7.0
|
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
|
2022-07-12 08:13:44 +02:00
|
|
|
URL: https://www.wavpack.com/
|
|
|
|
Source0: https://www.wavpack.com/%{name}-%{version}.tar.bz2
|
2017-11-10 11:38:53 +01:00
|
|
|
Source99: baselibs.conf
|
2017-11-10 10:29:35 +01:00
|
|
|
BuildRequires: pkgconfig
|
2024-03-17 17:27:25 +01:00
|
|
|
%{?suse_build_hwcaps_libs}
|
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
|
|
|
|
2022-07-12 08:13:44 +02:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation files for wavpack, an audio compression format
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
WavPack is an open audio compression format providing lossless, high-quality
|
|
|
|
lossy, and unique hybrid compression modes.
|
|
|
|
|
|
|
|
This subpackage contains development documentation for 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
|
2017-11-14 23:42:26 +01:00
|
|
|
%configure --disable-static
|
2020-04-17 17:40:32 +02:00
|
|
|
%make_build
|
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
|
|
|
|
2022-07-12 08:13:44 +02:00
|
|
|
install -d -m 755 %{buildroot}%{_defaultdocdir}
|
|
|
|
mv %{buildroot}/usr/share/doc/%name %{buildroot}%{_defaultdocdir}
|
|
|
|
|
2010-12-08 20:21:10 +01:00
|
|
|
%check
|
2020-04-17 17:40:32 +02:00
|
|
|
%make_build 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
|
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
|
|
|
|
|
2022-07-12 08:13:44 +02:00
|
|
|
%files doc
|
|
|
|
%doc %_defaultdocdir/%name
|
|
|
|
|
2007-04-03 04:43:34 +02:00
|
|
|
%changelog
|