2005-03-05 21:10:22 +00:00
|
|
|
Summary: Library for reading and writing sound files
|
|
|
|
Name: libsndfile
|
2011-07-14 11:30:48 +00:00
|
|
|
Version: 1.0.25
|
2013-08-03 07:03:41 +00:00
|
|
|
Release: 8%{?dist}
|
2010-02-01 15:14:16 +00:00
|
|
|
License: LGPLv2+ and GPLv2+ and BSD
|
2005-03-05 21:10:22 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://www.mega-nerd.com/libsndfile/
|
2010-02-01 15:14:16 +00:00
|
|
|
Source0: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz
|
2011-11-12 09:21:17 +00:00
|
|
|
Patch0: %{name}-1.0.25-system-gsm.patch
|
2010-05-11 14:50:16 +00:00
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
2005-03-05 01:44:40 +00:00
|
|
|
|
2009-11-14 09:58:43 +00:00
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
BuildRequires: flac-devel
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: sqlite-devel
|
2011-11-12 09:21:17 +00:00
|
|
|
BuildRequires: gsm-devel
|
|
|
|
BuildRequires: libtool
|
2004-11-08 04:47:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
libsndfile is a C library for reading and writing sound files such as
|
|
|
|
AIFF, AU, WAV, and others through one standard interface. It can
|
|
|
|
currently read/write 8, 16, 24 and 32-bit PCM files as well as 32 and
|
|
|
|
64-bit floating point WAV files and a number of compressed formats. It
|
|
|
|
compiles and runs on *nix, MacOS, and Win32.
|
|
|
|
|
2008-10-23 23:29:57 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libsndfile
|
|
|
|
Group: Development/Libraries
|
2011-11-12 09:21:17 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release} pkgconfig
|
2008-10-23 23:29:57 +00:00
|
|
|
|
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
%description devel
|
|
|
|
libsndfile is a C library for reading and writing sound files such as
|
2005-03-05 21:10:22 +00:00
|
|
|
AIFF, AU, WAV, and others through one standard interface.
|
2004-11-08 04:47:40 +00:00
|
|
|
This package contains files needed to develop with libsndfile.
|
|
|
|
|
2005-03-05 01:44:40 +00:00
|
|
|
|
2009-11-14 09:58:43 +00:00
|
|
|
%package utils
|
|
|
|
Summary: Command Line Utilities for libsndfile
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Obsoletes: libsndfile < 1.0.20-4
|
|
|
|
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
libsndfile is a C library for reading and writing sound files such as
|
|
|
|
AIFF, AU, WAV, and others through one standard interface.
|
2010-05-11 14:50:16 +00:00
|
|
|
This package contains command line utilities for libsndfile.
|
2009-11-14 09:58:43 +00:00
|
|
|
|
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-11-12 09:21:17 +00:00
|
|
|
%patch0 -p1
|
2013-03-27 15:08:25 +00:00
|
|
|
rm -r src/GSM610 ; autoreconf -I M4 -fiv # for system-gsm patch
|
|
|
|
#also for aarch64 support which requires autotools 2.69+
|
2008-10-23 23:29:57 +00:00
|
|
|
|
2009-11-14 09:58:43 +00:00
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
%build
|
2008-10-23 23:29:57 +00:00
|
|
|
%configure \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--enable-sqlite \
|
|
|
|
--enable-alsa \
|
2009-11-14 09:58:43 +00:00
|
|
|
--enable-largefile \
|
2011-11-12 09:21:17 +00:00
|
|
|
--disable-static
|
2009-11-14 09:58:43 +00:00
|
|
|
|
|
|
|
# Get rid of rpath
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2005-03-05 01:44:40 +00:00
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
%install
|
2005-03-05 01:44:40 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT __docs
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
cp -pR $RPM_BUILD_ROOT%{_docdir}/libsndfile1-dev/html __docs
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}/libsndfile1-dev
|
|
|
|
|
2008-10-23 23:29:57 +00:00
|
|
|
# fix multilib issues
|
2013-06-03 14:32:14 +00:00
|
|
|
%ifarch x86_64 s390x ia64 ppc64 sparc64 aarch64
|
2008-10-23 23:29:57 +00:00
|
|
|
%define wordsize 64
|
|
|
|
%else
|
|
|
|
%define wordsize 32
|
|
|
|
%endif
|
|
|
|
|
|
|
|
mv %{buildroot}%{_includedir}/sndfile.h \
|
|
|
|
%{buildroot}%{_includedir}/sndfile-%{wordsize}.h
|
|
|
|
|
|
|
|
cat > %{buildroot}%{_includedir}/sndfile.h <<EOF
|
|
|
|
#include <bits/wordsize.h>
|
|
|
|
|
|
|
|
#if __WORDSIZE == 32
|
|
|
|
# include "sndfile-32.h"
|
|
|
|
#elif __WORDSIZE == 64
|
|
|
|
# include "sndfile-64.h"
|
|
|
|
#else
|
|
|
|
# error "unexpected value for __WORDSIZE macro"
|
|
|
|
#endif
|
|
|
|
EOF
|
|
|
|
|
2010-02-01 15:14:16 +00:00
|
|
|
%if 0%{?rhel} != 0
|
|
|
|
rm -f %{buildroot}%{_bindir}/sndfile-jackplay
|
|
|
|
%endif
|
2008-10-23 23:29:57 +00:00
|
|
|
|
2011-11-12 09:21:17 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
LD_LIBRARY_PATH=$PWD/src/.libs make check
|
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
|
|
|
|
%clean
|
2005-03-05 01:44:40 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2009-11-14 09:58:43 +00:00
|
|
|
%doc COPYING AUTHORS README NEWS
|
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%defattr(-,root,root,-)
|
2009-06-06 14:24:32 +00:00
|
|
|
%{_bindir}/sndfile-cmp
|
2010-05-11 14:50:16 +00:00
|
|
|
%{_bindir}/sndfile-concat
|
|
|
|
%{_bindir}/sndfile-convert
|
|
|
|
%{_bindir}/sndfile-deinterleave
|
|
|
|
%{_bindir}/sndfile-info
|
|
|
|
%{_bindir}/sndfile-interleave
|
2009-06-06 14:24:32 +00:00
|
|
|
%{_bindir}/sndfile-metadata-get
|
|
|
|
%{_bindir}/sndfile-metadata-set
|
2010-05-11 14:50:16 +00:00
|
|
|
%{_bindir}/sndfile-play
|
|
|
|
%{_bindir}/sndfile-regtest
|
2010-10-05 06:30:35 +00:00
|
|
|
%{_bindir}/sndfile-salvage
|
2010-05-11 14:50:16 +00:00
|
|
|
%{_mandir}/man1/sndfile-cmp.1*
|
|
|
|
%{_mandir}/man1/sndfile-concat.1*
|
|
|
|
%{_mandir}/man1/sndfile-convert.1*
|
2010-10-05 06:30:35 +00:00
|
|
|
%{_mandir}/man1/sndfile-deinterleave.1*
|
2004-11-08 04:47:40 +00:00
|
|
|
%{_mandir}/man1/sndfile-info.1*
|
2010-10-05 06:30:35 +00:00
|
|
|
%{_mandir}/man1/sndfile-interleave.1*
|
2010-05-11 14:50:16 +00:00
|
|
|
%{_mandir}/man1/sndfile-metadata-get.1*
|
|
|
|
%{_mandir}/man1/sndfile-metadata-set.1*
|
2004-11-08 04:47:40 +00:00
|
|
|
%{_mandir}/man1/sndfile-play.1*
|
2008-10-23 23:29:57 +00:00
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2005-03-05 01:44:40 +00:00
|
|
|
%doc __docs/*
|
2009-11-14 09:58:43 +00:00
|
|
|
%doc ChangeLog
|
2004-11-08 04:47:40 +00:00
|
|
|
%exclude %{_libdir}/%{name}.la
|
|
|
|
%{_includedir}/sndfile.h
|
2006-09-08 17:35:50 +00:00
|
|
|
%{_includedir}/sndfile.hh
|
2008-10-23 23:29:57 +00:00
|
|
|
%{_includedir}/sndfile-%{wordsize}.h
|
2004-11-08 04:47:40 +00:00
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
%{_libdir}/pkgconfig/sndfile.pc
|
|
|
|
|
2005-03-05 01:44:40 +00:00
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
%changelog
|
2013-08-03 07:03:41 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-03 14:32:14 +00:00
|
|
|
* Mon Jun 03 2013 Michal Hlavinka <mhlavink@redhat.com> - 1.0.25-7
|
|
|
|
- fix support for aarch64, another part (#969831)
|
|
|
|
|
2013-03-27 15:08:25 +00:00
|
|
|
* Wed Mar 27 2013 Michal Hlavinka <mhlavink@redhat.com> - 1.0.25-6
|
|
|
|
- fix support for aarch64 (#925887)
|
|
|
|
|
2013-02-14 05:15:23 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-19 21:13:55 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 08:26:56 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-12 09:21:17 +00:00
|
|
|
* Sat Nov 12 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.0.25-2
|
|
|
|
- Patch to use system libgsm instead of a bundled copy.
|
|
|
|
- Make main package dep in -devel ISA qualified.
|
|
|
|
- Drop -octave Provides (not actually built with octave > 3.0).
|
|
|
|
- Don't build throwaway static lib.
|
|
|
|
- Run test suite during build.
|
|
|
|
|
2011-07-14 11:30:48 +00:00
|
|
|
* Thu Jul 14 2011 Michal Hlavinka <mhlavink@redhat.com> - 1.0.25-1
|
|
|
|
- Update to 1.0.25
|
|
|
|
- fixes integer overflow by processing certain PAF audio files (#721240)
|
|
|
|
|
2011-03-27 17:33:08 +00:00
|
|
|
* Sun Mar 27 2011 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.0.24-1
|
|
|
|
- Update to 1.0.24
|
|
|
|
|
2011-02-08 11:44:39 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.23-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-10-16 19:24:06 +00:00
|
|
|
* Sat Oct 16 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.0.23-1
|
|
|
|
- Update to 10.0.23
|
|
|
|
|
2010-10-05 06:30:35 +00:00
|
|
|
* Tue Oct 05 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.0.22-1
|
|
|
|
- Update to 10.0.22
|
|
|
|
|
2010-05-11 14:50:16 +00:00
|
|
|
* Tue May 11 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.0.21-1
|
|
|
|
- Update to 10.0.21
|
|
|
|
- Do not include the static library in the package (RHBZ#556074)
|
|
|
|
- Remove BR on jack since sndfile-jackplay is not provided anymore
|
|
|
|
|
2010-02-01 15:14:16 +00:00
|
|
|
* Mon Feb 1 2010 Stepan Kasal <skasal@redhat.com> - 1.0.20-5
|
|
|
|
- Do not build against Jack on RHEL
|
|
|
|
- Fix the Source0: URL
|
|
|
|
- Fix the licence tag
|
|
|
|
|
2009-11-14 09:58:43 +00:00
|
|
|
* Sat Nov 14 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.0.20-4
|
|
|
|
- Split utils into a subpackage
|
|
|
|
|
|
|
|
* Sat Nov 14 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.0.20-3
|
|
|
|
- Add FLAC/Ogg/Vorbis support (BR: libvorbis-devel)
|
|
|
|
- Make build verbose
|
|
|
|
- Remove rpath
|
|
|
|
- Fix ChangeLog encoding
|
|
|
|
- Move the big Changelog to the devel package
|
|
|
|
|
2009-07-25 08:39:31 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-06 14:24:32 +00:00
|
|
|
* Sat Jun 06 2009 Lennart Poettering <lpoetter@redhat.com> - 1.0.20-1
|
|
|
|
- Updated to 1.0.20
|
|
|
|
|
2009-03-03 22:07:55 +00:00
|
|
|
* Tue Mar 03 2009 Robert Scheck <robert@fedoraproject.org> - 1.0.17-8
|
|
|
|
- Rebuilt against libtool 2.2
|
|
|
|
|
2009-02-25 18:14:56 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.17-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-10-25 12:49:21 +00:00
|
|
|
* Thu Oct 25 2008 Andreas Thienemann <andreas@bawue.net> - 1.0.17-6
|
|
|
|
- Removed spurious #endif in the libsndfile.h wrapper. Thx to Edward
|
|
|
|
Sheldrake for finding it. Fixes #468508.
|
2008-10-25 13:54:28 +00:00
|
|
|
- Fix build for autoconf-2.63
|
2008-10-25 12:49:21 +00:00
|
|
|
|
2008-10-23 23:29:57 +00:00
|
|
|
* Thu Oct 23 2008 Andreas Thienemann <andreas@bawue.net> - 1.0.17-5
|
|
|
|
- Fixed multilib conflict. #342401
|
|
|
|
- Made flac support actually work correctly.
|
|
|
|
|
2008-08-07 15:39:58 +00:00
|
|
|
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.17-4
|
|
|
|
- fix license tag
|
|
|
|
|
2008-02-19 05:18:04 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.17-3
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-09-20 10:39:15 +00:00
|
|
|
* Thu Sep 20 2007 Andreas Thienemann <andreas@bawue.net> - 1.0.17-2
|
|
|
|
- Adding FLAC support to libsndfile courtesy of gentoo, #237575
|
|
|
|
- Fixing CVE-2007-4974. Thanks to the gentoo people for the patch, #296221
|
|
|
|
|
2006-09-08 17:35:50 +00:00
|
|
|
* Fri Sep 08 2006 Andreas Thienemann <andreas@bawue.net> - 1.0.17-1
|
|
|
|
- Updated to 1.0.17
|
|
|
|
|
2006-04-30 12:20:18 +00:00
|
|
|
* Sun Apr 30 2006 Andreas Thienemann <andreas@bawue.net> - 1.0.16-1
|
|
|
|
- Updated to 1.0.16
|
|
|
|
|
2006-03-29 22:03:36 +00:00
|
|
|
* Thu Mar 30 2006 Andreas Thienemann <andreas@bawue.net> - 1.0.15-1
|
|
|
|
- Updated to 1.0.15
|
|
|
|
|
2006-03-16 18:26:08 +00:00
|
|
|
* Thu Mar 16 2006 Dams <anvil[AT]livna.org> - 1.0.14-1.fc5
|
|
|
|
- Updated to 1.0.14
|
|
|
|
- Dropped patch0
|
|
|
|
|
2005-05-12 17:08:58 +00:00
|
|
|
* Thu May 12 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.11-3
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-05 01:44:40 +00:00
|
|
|
* Sat Mar 5 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.11-2
|
|
|
|
- Fix format string bug (#149863).
|
|
|
|
- Drop explicit Epoch 0.
|
|
|
|
|
2011-11-12 09:21:17 +00:00
|
|
|
* Sat Dec 4 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:1.0.11-0.fdr.1
|
2005-03-05 01:44:40 +00:00
|
|
|
- Update to 1.0.11.
|
|
|
|
|
2011-11-12 09:21:17 +00:00
|
|
|
* Wed Oct 13 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:1.0.10-0.fdr.1
|
2005-03-05 01:44:40 +00:00
|
|
|
- Update to 1.0.10, update URLs, include ALSA support.
|
|
|
|
- Disable dependency tracking to speed up the build.
|
|
|
|
- Add missing ldconfig invocations.
|
|
|
|
- Make -devel require pkgconfig.
|
|
|
|
- Include developer docs in -devel.
|
|
|
|
- Provide -octave in main package, own more related dirs.
|
|
|
|
- Bring specfile up to date with current spec templates.
|
2004-11-11 19:21:37 +00:00
|
|
|
|
2005-03-05 21:10:22 +00:00
|
|
|
* Sat Apr 12 2003 Dams <anvil[AT]livna.org>
|
2004-11-08 04:47:40 +00:00
|
|
|
- Initial build.
|