Accepting request 540365 from home:avindra

- Update to version 5.1.0
  * new: command-line tagging utility (wvtag)
  * added: option to import ID3v2.3 tags from Sony DSF files
  * fixed: fuzz test failures from AFL reported on SourceForge
  * improved: DSD decimation filter (less HF rolloff & CPU use)
  * fixed: non-byte audio depths (12-bit, 20-bit) not showing
  * fixed: rare case of noise-shaping triggering a lossy mute
  * fixed: recognize UTF-8 BOM when reading text files
  * fixed: a few portability issues
- Includes changes from 5.0.0:
  * new: input formats (RF64, Wave64, and CAF)
  * removed: support for legacy WavPack files (< 4.0)
  * added: lossless DSD audio in Philips DSDIFF and Sony DSF files
  * fixed: seeking in > 2GB WavPack files (new stream reader)
  * fixed: accept > 4GB source audio files (all formats)
  * improved: increase maximum samples from 2^32 to 2^40
  * added: block checksums for robustness to corruption
  * added: support for non-standard channel identities
  * added: block decoder for streaming applications
  * added: new pdf documentation
- For other changes, see upstream:
  * https://github.com/dbry/WavPack/blob/master/ChangeLog
- cleanup with spec-cleaner
- remove wavpack-fix_pkgconfig.patch, fixed upstream in:
  * d440649aa113797a50e94285c8c037dc2ad7a5a9
  * 779a2e62783acc6a46f75dd89359e95079ef708a
  * 7846e95eb1c3fa97da41dfe96de532c2df5ad281
- remove license.txt, use upstream copying file instead
- Drop Requires, Provides and Obsoletes, as the SUSE versions they
  were needed for are now EOL.

OBS-URL: https://build.opensuse.org/request/show/540365
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wavpack?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal 2017-11-10 09:29:35 +00:00 committed by Git OBS Bridge
parent 80d6776295
commit 8c5917acdd
6 changed files with 54 additions and 88 deletions

View File

@ -1,25 +0,0 @@
Copyright (c) 1998 - 2009 Conifer Software
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Conifer Software nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

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

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

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

View File

@ -1,27 +0,0 @@
--- wavpack.pc.in.orig
+++ wavpack.pc.in
@@ -1,12 +1,11 @@
prefix=@prefix@
-libdir=${prefix}/lib
-includedir=${prefix}/include
+libdir=@libdir@
+includedir=@includedir@
Name: wavpack
Description: wavpack library
Version: @PACKAGE_VERSION@
Requires:
Conflicts:
-Libs: -L${libdir} -lwavpack
-Libs.private: @LIBM@
+Libs: -lwavpack @LIBM@ @ICONV@
Cflags: -I${includedir}
--- include/Makefile.am.orig
+++ include/Makefile.am
@@ -1,5 +1,5 @@
wpinclude_HEADERS = wavpack.h
-wpincludedir = $(prefix)/include/wavpack
+wpincludedir = $(includedir)/wavpack
MAINTAINERCLEANFILES = \
Makefile.in

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Thu Nov 9 17:14:33 UTC 2017 - aavindraa@gmail.com
- Update to version 5.1.0
* new: command-line tagging utility (wvtag)
* added: option to import ID3v2.3 tags from Sony DSF files
* fixed: fuzz test failures from AFL reported on SourceForge
* improved: DSD decimation filter (less HF rolloff & CPU use)
* fixed: non-byte audio depths (12-bit, 20-bit) not showing
* fixed: rare case of noise-shaping triggering a lossy mute
* fixed: recognize UTF-8 BOM when reading text files
* fixed: a few portability issues
- Includes changes from 5.0.0:
* new: input formats (RF64, Wave64, and CAF)
* removed: support for legacy WavPack files (< 4.0)
* added: lossless DSD audio in Philips DSDIFF and Sony DSF files
* fixed: seeking in > 2GB WavPack files (new stream reader)
* fixed: accept > 4GB source audio files (all formats)
* improved: increase maximum samples from 2^32 to 2^40
* added: block checksums for robustness to corruption
* added: support for non-standard channel identities
* added: block decoder for streaming applications
* added: new pdf documentation
- For other changes, see upstream:
* https://github.com/dbry/WavPack/blob/master/ChangeLog
- cleanup with spec-cleaner
- remove wavpack-fix_pkgconfig.patch, fixed upstream in:
* d440649aa113797a50e94285c8c037dc2ad7a5a9
* 779a2e62783acc6a46f75dd89359e95079ef708a
* 7846e95eb1c3fa97da41dfe96de532c2df5ad281
- remove license.txt, use upstream copying file instead
- Drop Requires, Provides and Obsoletes, as the SUSE versions they
were needed for are now EOL.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 22 00:28:57 UTC 2013 - crrodriguez@opensuse.org Sat Jun 22 00:28:57 UTC 2013 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package wavpack # spec file for package wavpack
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,26 +16,17 @@
# #
%define soname 1
Name: wavpack Name: wavpack
BuildRequires: libtool Version: 5.1.0
BuildRequires: pkgconfig Release: 0
Url: http://www.wavpack.com/
Summary: Free Hybrid Lossless Audio Compression Format Summary: Free Hybrid Lossless Audio Compression Format
License: BSD-3-Clause License: BSD-3-Clause
Group: Productivity/Multimedia/Sound/Editors and Convertors Group: Productivity/Multimedia/Sound/Editors and Convertors
Version: 4.60.99 Url: http://www.wavpack.com/
Release: 0 Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2
%define soname 1 BuildRequires: libtool
%define real_ver 4.70.0-beta BuildRequires: pkgconfig
Source: http://www.wavpack.com/%{name}-%{real_ver}.tar.bz2
Source1: license.txt
# pbleser: fix .pc file by using @libdir@ instead of @prefix@/lib, and remove -L$libdir altogether
Patch1: wavpack-fix_pkgconfig.patch
# Name used by third parties before openSUSE 10.3:
Provides: WavPack = %{version}-%{release}
Requires: libwavpack%{soname} >= %{version}
Obsoletes: WavPack < %version
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
WavPack is a completely open audio compression format providing WavPack is a completely open audio compression format providing
@ -114,45 +105,38 @@ the lossy file) provides full lossless restoration. For some users this
means never having to choose between lossless and lossy compression! means never having to choose between lossless and lossy compression!
%prep %prep
%setup -q -n %{name}-4.70.0 %setup -q
%patch1
%build %build
autoreconf -fiv autoreconf -fiv
%configure --disable-static --with-pic %configure --disable-static --with-pic
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%makeinstall %make_install
#not needed # not needed
%__rm "%{buildroot}%{_libdir}"/*.la find %{buildroot} -type f -name "*.la" -delete -print
cp %{S:1} .
%check %check
make check make %{?_smp_mflags} check
%post -n libwavpack%{soname} -p /sbin/ldconfig %post -n libwavpack%{soname} -p /sbin/ldconfig
%postun -n libwavpack%{soname} -p /sbin/ldconfig %postun -n libwavpack%{soname} -p /sbin/ldconfig
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files %files
%defattr(-,root,root)
# AUTHORS NEWS are empty # AUTHORS NEWS are empty
%doc ChangeLog README license.txt %doc ChangeLog README COPYING
%{_bindir}/wavpack %{_bindir}/wavpack
%{_bindir}/wvgain %{_bindir}/wvgain
%{_bindir}/wvunpack %{_bindir}/wvunpack
%{_bindir}/wvtag
%{_mandir}/man?/* %{_mandir}/man?/*
%files -n libwavpack%{soname} %files -n libwavpack%{soname}
%defattr(-,root,root)
%{_libdir}/libwavpack.so.%{soname} %{_libdir}/libwavpack.so.%{soname}
%{_libdir}/libwavpack.so.%{soname}.* %{_libdir}/libwavpack.so.%{soname}.*
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/wavpack %{_includedir}/wavpack
%{_libdir}/libwavpack.so %{_libdir}/libwavpack.so
%{_libdir}/pkgconfig/wavpack.pc %{_libdir}/pkgconfig/wavpack.pc