Blame SPECS/audiofile.spec

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