Summary: A library for accessing various audio file formats Name: audiofile Version: 0.3.6 Release: 9%{?dist} Epoch: 1 License: LGPLv2+ and GPL+ and ASL 2.0 Group: System Environment/Libraries Source: http://audiofile.68k.org/%{name}-%{version}.tar.gz URL: http://audiofile.68k.org/ BuildRequires: libtool BuildRequires: alsa-lib-devel Patch0: audiofile-0.3.6-CVE-2015-7747.patch # fixes to make build with GCC 6 Patch1: audiofile-0.3.6-left-shift-neg.patch Patch2: audiofile-0.3.6-narrowing.patch # pull requests #42,#43,#44 Patch3: audiofile-0.3.6-pull42.patch Patch4: audiofile-0.3.6-pull43.patch Patch5: audiofile-0.3.6-pull44.patch Patch6: 0001-ModuleState-handle-compress-decompress-init-failure.patch Patch7: 0002-ALAC-set-chunk-frameCount-to-0-on-short-read.patch Patch8: 0003-SimpleModule-set-output-chunk-framecount-after-pull.patch %description The Audio File library is an implementation of the Audio File Library from SGI, which provides an API for accessing audio file formats like AIFF/AIFF-C, WAVE, and NeXT/Sun .snd/.au files. This library is used by the EsounD daemon. Install audiofile if you are installing EsounD or you need an API for any of the sound file formats it can handle. %package devel Summary: Development files for Audio File applications Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Requires: pkgconfig >= 1:0.8 %description devel The audiofile-devel package contains libraries, include files, and other resources you can use to develop Audio File applications. %prep %setup -q %patch0 -p1 -b .CVE-2015-7747 %patch1 -p1 -b .left-shift-neg %patch2 -p1 -b .narrowing-conversion %patch3 -p1 -b .pull42 %patch4 -p1 -b .pull43 %patch5 -p1 -b .pull44 %patch6 -p1 -b .b6 %patch7 -p1 -b .b7 %patch8 -p1 -b .b8 %build %configure --disable-static make %{?_smp_mflags} LIBTOOL="/usr/bin/libtool" %install rm -rf $RPM_BUILD_ROOT make DESTDIR="$RPM_BUILD_ROOT" install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f docs/Makefile* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc COPYING TODO README ChangeLog docs %{_bindir}/sfconvert %{_bindir}/sfinfo %{_libdir}/lib*.so.1* %{_mandir}/man1/* %files devel %defattr(-, root, root) %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/* %{_mandir}/man3/* %changelog * Thu Sep 27 2018 Wim Taymans - 1:0.3.6-9 - Apply security patches. CVE-2018-17095, CVE-2018-13440 - Resolves: rhbz#1600369, rhbz#1601014, rhbz#1637128 * Fri Feb 09 2018 Igor Gnatenko - 1:0.3.6-8 - Escape macros in %%changelog * Sun Mar 12 2017 Michael Schwendt - 1:0.3.6-7 - Merge upstream pull requests #42,#43,#44 from Agostino Sarubbo to fix security issues. CVE-2017-6827, CVE-2017-6828, CVE-2017-6829, CVE-2017-6830, CVE-2017-6831, CVE-2017-6832, CVE-2017-6833, CVE-2017-6834, CVE-2017-6835, CVE-2017-6836, CVE-2017-6837, CVE-2017-6838, CVE-2017-6839 * Wed Feb 3 2016 Michael Schwendt - 1:0.3.6-6 - patch to compile with GCC 6 * Thu Oct 8 2015 Michael Schwendt - 1:0.3.6-5 - Merge fix from upstream pull request #25 for CVE-2015-7747. Test conversion from e.g. 16-bit LE stereo to 8-bit LE mono no longer causes corruption. * Fri Jan 24 2014 Daniel Mach - 1:0.3.6-4 - Mass rebuild 2014-01-24 * Fri Dec 27 2013 Daniel Mach - 1:0.3.6-3 - Mass rebuild 2013-12-27 * Thu Mar 07 2013 Adam Jackson 0.3.6-1 - audiofile 0.3.6 * Wed Feb 06 2013 Adam Jackson 0.3.5-1 - audiofile 0.3.5 * Wed Oct 10 2012 Bastien Nocera 0.3.4-1 - Update to 0.3.4 * Wed Jul 18 2012 Fedora Release Engineering - 1:0.2.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 1:0.2.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 1:0.2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Mar 22 2010 Bastien Nocera 0.2.7-1 - Update to 0.2.7 * Fri Jul 24 2009 Fedora Release Engineering - 1:0.2.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering - 1:0.2.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Jul 14 2008 Tom "spot" Callaway - 1:0.2.6-9 - fix license tag * Mon Feb 18 2008 Fedora Release Engineering - 1:0.2.6-8 - Autorebuild for GCC 4.3 * Fri Aug 24 2007 Adam Jackson - 1:0.2.6-7 - Rebuild for build ID * Sat Feb 3 2007 Matthias Clasen - 1:0.2.6-6 - Corrections from package review * Thu Jul 27 2006 Matthias Clasen - 1:0.2.6-5 - Fix multilib conflicts - Don't ship static libraries * Wed Jul 12 2006 Jesse Keating - 1:0.2.6-4.1 - rebuild * Mon Apr 17 2006 John (J5) Palmieri - 1:0.2.6-4 - Remove Makefile* from docs so they are not installed * Fri Mar 24 2006 Matthias Clasen - 1:0.2.6-3 - Reduce memory consumption by making data tables const * Fri Feb 10 2006 Jesse Keating - 1:0.2.6-2.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 1:0.2.6-2.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - 0.2.6-2.1 - rebuilt * Thu Mar 17 2005 John (J5) Palmieri - 0.2.6-2 - rebuild for gcc 4.0 * Thu Jul 30 2004 Colin Walters - Update to 0.2.6 - Rework description to not contain apostrophe that makes emacs unhappy * Thu Jul 15 2004 Tim Waugh - Fixed warnings in shipped m4 file. * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Elliot Lee - rebuilt * Wed Feb 25 2004 Alexander Larsson 1:0.2.5-1 - update to 0.2.5 * Fri Feb 13 2004 Elliot Lee - rebuilt * Sun Jun 8 2003 Tim Powers 1:0.2.3-7.1 - rebuild for RHEL * Wed Jun 04 2003 Elliot Lee - rebuilt * Tue Jun 3 2003 Jeff Johnson - add explicit epoch's where needed. * Mon Feb 10 2003 Bill Nottingham - fix URL (#71010) * Wed Jan 22 2003 Tim Powers - rebuilt * Tue Dec 03 2002 Elliot Lee - Remove unpackaged files * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Tue Jan 8 2002 Owen Taylor - Update to 0.2.3, update URLs * Mon Jun 25 2001 Preston Brown - explicit requirement of -devel package on main package (#45205) * Tue Apr 17 2001 Jonathan Blandford - Bumped version to 0.2.1 * Mon Dec 11 2000 Preston Brown - upgrade to 0.1.11. * Mon Aug 14 2000 Than Ngo - add ldconfig to %%post and %%postun (Bug #15413) * Fri Aug 11 2000 Jonathan Blandford - Up Epoch and release * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 12 2000 Preston Brown - use FHS macros * Thu Feb 03 2000 Preston Brown - strip library, use configure macro. * Tue Sep 14 1999 Elliot Lee - 0.1.8pre (take whatever is in CVS). * Fri Aug 13 1999 Michael Fulbrght - version 1.7.0 * Sun Apr 18 1999 Matt Wilson - updated patch from DaveM * Fri Apr 16 1999 Matt Wilson - added patch from Dave Miller to disable byte swapping in decoding * Fri Mar 19 1999 Michael Fulbright - strip binaries before packaging * Thu Feb 25 1999 Michael Fulbright - Version 0.1.6 * Sun Feb 21 1999 Michael Fulbright - Removed libtoolize from %%build * Wed Feb 3 1999 Jonathan Blandfor - Newer version with bug fix. Upped release. * Wed Dec 16 1998 Michael Fulbright - integrating into rawhide release at GNOME freeze * Fri Nov 20 1998 Michael Fulbright - First try at a spec file