2007-01-16 00:23:17 +01:00
|
|
|
#
|
2009-03-04 15:17:29 +01:00
|
|
|
# spec file for package libsndfile (Version 1.0.19)
|
2007-01-16 00:23:17 +01:00
|
|
|
#
|
2009-01-08 18:44:33 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:23:17 +01:00
|
|
|
#
|
2008-10-14 19:05:25 +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.
|
|
|
|
|
2007-01-16 00:23:17 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-03-10 18:49:35 +01:00
|
|
|
|
2007-01-16 00:23:17 +01:00
|
|
|
Name: libsndfile
|
2009-04-24 17:14:03 +02:00
|
|
|
BuildRequires: alsa-devel flac-devel gcc-c++ pkg-config sqlite-devel
|
2007-01-16 00:23:17 +01:00
|
|
|
Summary: A Library to Handle Various Audio File Formats
|
2009-03-04 15:17:29 +01:00
|
|
|
Version: 1.0.19
|
2009-04-24 17:14:03 +02:00
|
|
|
Release: 2
|
2008-03-10 18:49:35 +01:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-16 00:23:17 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
Obsoletes: libsnd
|
|
|
|
Provides: libsnd
|
2009-01-08 18:44:33 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libsndfile-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:23:17 +01:00
|
|
|
Source: libsndfile-%{version}.tar.bz2
|
2009-02-09 12:54:48 +01:00
|
|
|
Patch: libsndfile-example-fix.diff
|
2007-09-25 21:12:55 +02:00
|
|
|
Url: http://www.mega-nerd.com/libsndfile/
|
2007-01-16 00:23:17 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Libsndfile is a C library for reading and writing sound files, such as
|
|
|
|
AIFF, AU, and WAV files, through one standard interface. It can
|
|
|
|
currently read and write 8, 16, 24, and 32-bit PCM files as well as
|
|
|
|
32-bit floating point WAV files and a number of compressed formats.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Erik de Castro Lopo <erikd@mega-nerd.com>
|
|
|
|
|
|
|
|
%package devel
|
2008-04-10 14:32:54 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-16 00:23:17 +01:00
|
|
|
Summary: Development package for the libsndfile library
|
|
|
|
Group: Development/Libraries/C and C++
|
2008-03-10 18:49:35 +01:00
|
|
|
Requires: %{name} = %{version} glibc-devel libstdc++-devel
|
2007-01-16 00:23:17 +01:00
|
|
|
Obsoletes: libsndd
|
|
|
|
Provides: libsndd
|
2009-01-08 18:44:33 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libsndfile-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:23:17 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the files needed to compile programs that use the
|
|
|
|
libsndfile library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Erik de Castro Lopo <erikd@mega-nerd.com>
|
|
|
|
|
|
|
|
%prep
|
2008-03-10 18:49:35 +01:00
|
|
|
%setup -q
|
2007-04-13 16:39:11 +02:00
|
|
|
%patch
|
2007-01-16 00:23:17 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
|
2009-02-09 12:54:48 +01:00
|
|
|
# autoreconf --force --install
|
2007-01-16 00:23:17 +01:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing %{warn_flags}"
|
|
|
|
export CFLAGS
|
2008-03-10 18:49:35 +01:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--with-pic
|
2007-01-16 00:23:17 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
2007-04-17 00:38:35 +02:00
|
|
|
# remove unnecessary files
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
2009-04-24 17:14:03 +02:00
|
|
|
# remove programs; built in another spec file
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_mandir}/man1
|
2007-01-16 00:23:17 +01:00
|
|
|
# remove binaries from examples directory
|
|
|
|
make -C examples distclean
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libsndfile1-dev
|
|
|
|
|
2008-03-10 18:49:35 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:23:17 +01:00
|
|
|
|
2008-03-10 18:49:35 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:23:17 +01:00
|
|
|
|
|
|
|
%clean
|
2008-03-10 18:49:35 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-16 00:23:17 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libsndfile.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2009-03-04 15:17:29 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
2007-04-17 00:38:35 +02:00
|
|
|
%doc doc/*.html doc/*.jpg doc/*.css doc/*.HOWTO
|
2007-01-16 00:23:17 +01:00
|
|
|
%{_libdir}/libsndfile.so
|
|
|
|
%{_includedir}/sndfile.h
|
|
|
|
%{_includedir}/sndfile.hh
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%doc examples
|
|
|
|
|
2007-04-13 16:39:11 +02:00
|
|
|
%changelog
|
2009-04-24 17:14:03 +02:00
|
|
|
* Fri Apr 24 2009 tiwai@suse.de
|
|
|
|
- built progs subpackage from an individual spec file to cut the
|
|
|
|
circular dependency with jack.
|
2009-03-04 15:17:29 +01:00
|
|
|
* Wed Mar 04 2009 tiwai@suse.de
|
|
|
|
- updated to version 1.0.19:
|
|
|
|
* Fix for CVE-2009-0186 (bnc#481769 - VUL-0: libsndfile CAF
|
|
|
|
Processing Integer Overflow Vulnerability)
|
|
|
|
* Huge number of minor fixes as a result of static analysis
|
|
|
|
- remove INSTALL file from filelist
|
2009-02-09 12:54:48 +01:00
|
|
|
* Mon Feb 09 2009 tiwai@suse.de
|
|
|
|
- updated to version 1.0.18
|
|
|
|
* Add Ogg/Vorbis support (disabled right now due to vorbis
|
|
|
|
version mismatch; SVN version is required)
|
|
|
|
* Remove captive FLAC library.
|
|
|
|
* Many new features and bug fixes.
|
|
|
|
* Generate Win32 and Win64 pre-compiled binaries.
|
|
|
|
- Dropped libsndfile-octave subpackage (as octave itself is
|
|
|
|
dropped from FACTORY)
|
2009-01-08 18:44:33 +01:00
|
|
|
* Wed Jan 07 2009 olh@suse.de
|
|
|
|
- obsolete old -XXbit packages (bnc#437293)
|
2008-10-14 19:05:25 +02:00
|
|
|
* Tue Oct 14 2008 meissner@suse.de
|
|
|
|
- prototype for memset
|
2008-05-06 22:26:51 +02:00
|
|
|
* Tue May 06 2008 tiwai@suse.de
|
|
|
|
- fix missing initializations in demo programs (bnc#351128)
|
2008-04-20 15:10:06 +02:00
|
|
|
* Tue Apr 15 2008 schwab@suse.de
|
|
|
|
- Fix configure script.
|
2008-04-10 14:32:54 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
2008-03-10 18:49:35 +01:00
|
|
|
* Mon Mar 10 2008 crrodriguez@suse.de
|
|
|
|
- remove explicit-lib-dependencies
|
|
|
|
- fix -devel package dependencies
|
|
|
|
* Thu Sep 20 2007 tiwai@suse.de
|
2007-09-25 21:12:55 +02:00
|
|
|
- VUL-0: Heap-based buffer overflow in flac.c (#326070,
|
|
|
|
CVE-2007-4974)
|
2008-03-10 18:49:35 +01:00
|
|
|
* Mon Apr 16 2007 tiwai@suse.de
|
2007-04-17 00:38:35 +02:00
|
|
|
- Move docs and manpages to appropriate sub-packages (#264820)
|
|
|
|
- Remove static library (#264820)
|
2008-03-10 18:49:35 +01:00
|
|
|
* Mon Apr 16 2007 schwab@suse.de
|
2007-04-17 00:38:35 +02:00
|
|
|
- Fix quoting in autoconf macros.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Apr 13 2007 tiwai@suse.de
|
2007-04-13 16:39:11 +02:00
|
|
|
- fix FLAC-1.1.4 support.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Sep 01 2006 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.17:
|
|
|
|
* Add C++ wrapper sndfile.hh. Minor bug fixes and cleanups.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Tue Jul 04 2006 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- fix the build -- removed invalidly overridden HAVE_DECL_S_IRGRP
|
|
|
|
definition in configure.ac.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Mon May 29 2006 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- added flac-devel to requires of devel sub package.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Mon May 15 2006 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.16.
|
|
|
|
* more format supports
|
|
|
|
* code cleanups
|
|
|
|
* fix memleaks
|
2008-03-10 18:49:35 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Sep 30 2005 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.12.
|
|
|
|
- split example programs to progs sub-package.
|
|
|
|
- added -fno-strict-aliasing.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Wed Nov 17 2004 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.11.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Sep 03 2004 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- removed python from neededforbuild.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Thu Aug 05 2004 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.10.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Thu Feb 26 2004 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.7.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- add %%run_ldconfig
|
2008-03-10 18:49:35 +01:00
|
|
|
* Mon Sep 15 2003 kukuk@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- Set x bit on directories
|
2009-01-08 18:44:33 +01:00
|
|
|
* Fri Jun 20 2003 ro@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- added directories to filelist
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Jun 06 2003 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.5.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Tue May 13 2003 pthomas@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- Put Octave interface files into an own subpackage.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Thu Feb 13 2003 pthomas@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- Compile with all usefull warnings and fix all places where the
|
|
|
|
compiler warned.
|
|
|
|
- Fix configure to use $libdir instead of $prefix/lib for reporting.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Tue Feb 04 2003 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.4.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Jan 17 2003 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- added %%run_ldconfig to %%post.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Thu Jan 16 2003 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.3.
|
|
|
|
- added *.la to devel package.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Mon Nov 25 2002 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.2.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Sep 20 2002 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.1.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Mon Aug 19 2002 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.0 final.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Aug 02 2002 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.0rc3.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Tue Jun 25 2002 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to version 1.0.0rc2.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Apr 12 2002 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- set %%__libdir.
|
|
|
|
- use make install as default instead of install-strip.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Thu Feb 07 2002 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- fixed build on s390x.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Dec 07 2001 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- fixed group tag (System -> System Environment)
|
2008-03-10 18:49:35 +01:00
|
|
|
* Thu Dec 06 2001 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- removed binaries from alsa-devel examples directory.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Wed Nov 21 2001 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to ver.0.0.27.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Wed Oct 17 2001 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to ver.0.0.26.
|
|
|
|
+ Added sf_command () interface.
|
|
|
|
+ Added support for IRCAM files.
|
|
|
|
+ Minor bug fixes.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Tue Aug 28 2001 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- updated to ver.0.0.24.
|
|
|
|
+ Added support for 32 bit floating point AIFC files, little endian AIFC
|
|
|
|
files and 16, 24 and 32 bit Sphere NIST files.
|
|
|
|
+ Massive refactoring of internal code.
|
|
|
|
+ Added read and write handling of PEAK chunks on AIFF and WAV files.
|
|
|
|
+ Added read support for REX files (Propellerheads Reason).
|
|
|
|
+ Added sf_read_float () and sf_write_float () interfaces.
|
|
|
|
+ Minor bug fixes.
|
|
|
|
- changed group tag to System/Libraries
|
2008-03-10 18:49:35 +01:00
|
|
|
* Fri Aug 03 2001 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- fixed compile on s390.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Thu Jun 07 2001 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- fixed compile with the latest libtool & autoconf.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Tue Apr 03 2001 kukuk@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- move *.so files into devel package
|
|
|
|
- Remove kernel_header requires
|
|
|
|
- Fix glibc-devel dependencies
|
2008-03-10 18:49:35 +01:00
|
|
|
* Wed Dec 13 2000 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- fixed compile on ia64.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Thu Nov 02 2000 ro@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- changed Group to Development/Libraries (old group did not exist)
|
2008-03-10 18:49:35 +01:00
|
|
|
* Thu Nov 02 2000 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- Updated to 0.0.22.
|
|
|
|
- Changed for long package-name support (libsnd -> libsndfile,
|
|
|
|
libsndd -> libsndfile-devel).
|
2008-03-10 18:49:35 +01:00
|
|
|
* Tue Sep 26 2000 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- changed to bzip2.
|
|
|
|
- added suse_update_config.
|
2008-03-10 18:49:35 +01:00
|
|
|
* Wed Sep 06 2000 tiwai@suse.de
|
2007-01-16 00:23:17 +01:00
|
|
|
- Initial version: 0.0.21.
|