diff --git a/license.txt b/license.txt deleted file mode 100644 index e113337..0000000 --- a/license.txt +++ /dev/null @@ -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. diff --git a/wavpack-4.70.0-beta.tar.bz2 b/wavpack-4.70.0-beta.tar.bz2 deleted file mode 100644 index 40e03f9..0000000 --- a/wavpack-4.70.0-beta.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:45eb9aa4cc7ad52d7bc360340c3579836f88f420c16779c0aa644101cf34fdb9 -size 408896 diff --git a/wavpack-5.1.0.tar.bz2 b/wavpack-5.1.0.tar.bz2 new file mode 100644 index 0000000..f3aa143 --- /dev/null +++ b/wavpack-5.1.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1939627d5358d1da62bc6158d63f7ed12905552f3a799c799ee90296a7612944 +size 824331 diff --git a/wavpack-fix_pkgconfig.patch b/wavpack-fix_pkgconfig.patch deleted file mode 100644 index a610025..0000000 --- a/wavpack-fix_pkgconfig.patch +++ /dev/null @@ -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 diff --git a/wavpack.changes b/wavpack.changes index 3e4d733..71cf7b4 100644 --- a/wavpack.changes +++ b/wavpack.changes @@ -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 diff --git a/wavpack.spec b/wavpack.spec index 15cdf84..b031ded 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,26 +16,18 @@ # +%define soname 1 Name: wavpack -BuildRequires: libtool -BuildRequires: pkgconfig -Url: http://www.wavpack.com/ +Version: 5.1.0 +Release: 0 Summary: Free Hybrid Lossless Audio Compression Format License: BSD-3-Clause Group: Productivity/Multimedia/Sound/Editors and Convertors -Version: 4.60.99 -Release: 0 -%define soname 1 -%define real_ver 4.70.0-beta -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 +Url: http://www.wavpack.com/ +Source0: http://www.wavpack.com/%{name}-%{version}.tar.bz2 +Source99: baselibs.conf +BuildRequires: libtool +BuildRequires: pkgconfig %description WavPack is a completely open audio compression format providing @@ -114,45 +106,38 @@ the lossy file) provides full lossless restoration. For some users this means never having to choose between lossless and lossy compression! %prep -%setup -q -n %{name}-4.70.0 -%patch1 +%setup -q + %build autoreconf -fiv %configure --disable-static --with-pic -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} %install -%makeinstall -#not needed -%__rm "%{buildroot}%{_libdir}"/*.la -cp %{S:1} . +%make_install +# not needed +find %{buildroot} -type f -name "*.la" -delete -print %check -make check +make %{?_smp_mflags} check %post -n libwavpack%{soname} -p /sbin/ldconfig - %postun -n libwavpack%{soname} -p /sbin/ldconfig -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - %files -%defattr(-,root,root) # AUTHORS NEWS are empty -%doc ChangeLog README license.txt +%doc ChangeLog README COPYING %{_bindir}/wavpack %{_bindir}/wvgain %{_bindir}/wvunpack +%{_bindir}/wvtag %{_mandir}/man?/* %files -n libwavpack%{soname} -%defattr(-,root,root) %{_libdir}/libwavpack.so.%{soname} %{_libdir}/libwavpack.so.%{soname}.* %files devel -%defattr(-,root,root) %{_includedir}/wavpack %{_libdir}/libwavpack.so %{_libdir}/pkgconfig/wavpack.pc