diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..e113337 --- /dev/null +++ b/license.txt @@ -0,0 +1,25 @@ + 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.60.1.tar.bz2 b/wavpack-4.60.1.tar.bz2 deleted file mode 100644 index 3944cea..0000000 --- a/wavpack-4.60.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:175ee4f2effd6f51e6ec487956f41177256bf892c2e8e07de5d27ed4ee6888c5 -size 394434 diff --git a/wavpack-4.70.0-beta.tar.bz2 b/wavpack-4.70.0-beta.tar.bz2 new file mode 100644 index 0000000..40e03f9 --- /dev/null +++ b/wavpack-4.70.0-beta.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45eb9aa4cc7ad52d7bc360340c3579836f88f420c16779c0aa644101cf34fdb9 +size 408896 diff --git a/wavpack-fix_pkgconfig.patch b/wavpack-fix_pkgconfig.patch index c2f4d1d..a610025 100644 --- a/wavpack-fix_pkgconfig.patch +++ b/wavpack-fix_pkgconfig.patch @@ -1,16 +1,27 @@ ---- wavpack.pc.in.orig 2011-12-01 00:48:27.306001025 +0100 -+++ wavpack.pc.in 2011-12-01 00:48:45.777001024 +0100 -@@ -1,5 +1,5 @@ +--- wavpack.pc.in.orig ++++ wavpack.pc.in +@@ -1,12 +1,11 @@ prefix=@prefix@ -libdir=${prefix}/lib +-includedir=${prefix}/include +libdir=@libdir@ - includedir=${prefix}/include ++includedir=@includedir@ Name: wavpack -@@ -7,5 +7,5 @@ + Description: wavpack library Version: @PACKAGE_VERSION@ Requires: Conflicts: --Libs: -L${libdir} -lwavpack @LIBM@ @ICONV@ +-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 1ce46a1..3e4d733 100644 --- a/wavpack.changes +++ b/wavpack.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Jun 22 00:28:57 UTC 2013 - crrodriguez@opensuse.org + +- update to WavPack 4.70-beta (packaged as 4.60.99) +* 4GB file support on 32-bit OS +* memcpy() not always used correctly (Linux targets) +* unsigned char issue (ARM targets) +* use temporary files for safer overwriting + + ------------------------------------------------------------------- Mon Feb 13 10:57:33 UTC 2012 - coolo@suse.com diff --git a/wavpack.spec b/wavpack.spec index 2a14f2a..15cdf84 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,7 @@ # # spec file for package wavpack # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,10 +23,12 @@ Url: http://www.wavpack.com/ Summary: Free Hybrid Lossless Audio Compression Format License: BSD-3-Clause Group: Productivity/Multimedia/Sound/Editors and Convertors -Version: 4.60.1 +Version: 4.60.99 Release: 0 %define soname 1 -Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 +%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: @@ -86,7 +88,8 @@ means never having to choose between lossless and lossy compression! %package devel Summary: Free Hybrid Lossless Audio Compression Format Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} glibc-devel +Requires: %{name} = %{version} +Requires: glibc-devel %description devel WavPack is a completely open audio compression format providing @@ -111,9 +114,8 @@ the lossy file) provides full lossless restoration. For some users this means never having to choose between lossless and lossy compression! %prep -%setup -q +%setup -q -n %{name}-4.70.0 %patch1 - %build autoreconf -fiv %configure --disable-static --with-pic @@ -123,6 +125,7 @@ autoreconf -fiv %makeinstall #not needed %__rm "%{buildroot}%{_libdir}"/*.la +cp %{S:1} . %check make check @@ -150,7 +153,6 @@ make check %files devel %defattr(-,root,root) -%doc doc/*.* %{_includedir}/wavpack %{_libdir}/libwavpack.so %{_libdir}/pkgconfig/wavpack.pc