3155af9
%global make_check 1
3155af9
3155af9
Summary: Library for accessing various audio file formats
cvsdist 61e24f4
Name: audiofile
c73bff4
Version: 0.3.6
a4174b0
Release: 22%{?dist}
cvsdist 61e24f4
Epoch: 1
3155af9
# library is LGPL / the two programs GPL / see README
3155af9
License: LGPLv2+ and GPLv2+
Bastien Nocera 41f27fb
Source: http://audiofile.68k.org/%{name}-%{version}.tar.gz
Bastien Nocera 41f27fb
URL: http://audiofile.68k.org/
b2a0cbe
BuildRequires:  gcc-c++
ce7f2d6
BuildRequires: libtool
Bastien Nocera 78f029b
BuildRequires: alsa-lib-devel
f2c825d
BuildRequires: flac-devel
3155af9
# optional for rebuilding manual pages from .txt
3155af9
#BuildRequires: asciidoc
cvsdist 61e24f4
5fc49be
Patch0: audiofile-0.3.6-CVE-2015-7747.patch
1f75efd
# fixes to make build with GCC 6
1f75efd
Patch1: audiofile-0.3.6-left-shift-neg.patch
1f75efd
Patch2: audiofile-0.3.6-narrowing.patch
c604cfc
# pull requests #42,#43,#44
c604cfc
Patch3: audiofile-0.3.6-pull42.patch
c604cfc
Patch4: audiofile-0.3.6-pull43.patch
c604cfc
Patch5: audiofile-0.3.6-pull44.patch
ea15332
Patch6: 822b732fd31ffcb78f6920001e9b1fbd815fa712.patch
0b51fee
Patch7: 941774c8c0e79007196d7f1e7afdc97689f869b3.patch
0b51fee
Patch8: fde6d79fb8363c4a329a184ef0b107156602b225.patch
5fc49be
cvsdist 61e24f4
%description
cvsdist b74bd76
The Audio File library is an implementation of the Audio File Library
cvsdist b74bd76
from SGI, which provides an API for accessing audio file formats like
cvsdist c76444b
AIFF/AIFF-C, WAVE, and NeXT/Sun .snd/.au files. This library is used
cvsdist 61e24f4
by the EsounD daemon.
cvsdist 61e24f4
cvsdist c76444b
Install audiofile if you are installing EsounD or you need an API for
cvsdist 61e24f4
any of the sound file formats it can handle.
cvsdist 61e24f4
cvsdist 61e24f4
%package devel
2177baa
Summary: Development files for Audio File applications
3155af9
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
cvsdist 61e24f4
cvsdist 61e24f4
%description devel
cvsdist c76444b
The audiofile-devel package contains libraries, include files, and
cvsdist 61e24f4
other resources you can use to develop Audio File applications.
cvsdist 61e24f4
cvsdist 61e24f4
%prep
cvsdist 61e24f4
%setup -q
5fc49be
%patch0 -p1 -b .CVE-2015-7747
1f75efd
%patch1 -p1 -b .left-shift-neg
1f75efd
%patch2 -p1 -b .narrowing-conversion
c604cfc
%patch3 -p1 -b .pull42
c604cfc
%patch4 -p1 -b .pull43
c604cfc
%patch5 -p1 -b .pull44
ea15332
%patch6 -p1 -b .CVE-2018-17095
0b51fee
%patch7 -p1 -b .CVE-2018-13440
0b51fee
%patch8 -p1 -b .CVE-2018-13440
0b51fee
cvsdist 61e24f4
cvsdist 61e24f4
%build
af707bc
%configure
af707bc
%make_build
cvsdist 61e24f4
cvsdist 61e24f4
%install
af707bc
%make_install
cvsdist 61e24f4
cvsdist 251fd7a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
ce7f2d6
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
3155af9
3155af9
3155af9
%check
3155af9
%if %{make_check}
3155af9
make check
3155af9
%endif
3155af9
cvsdist 251fd7a
7f3f5c1
%ldconfig_scriptlets
cvsdist 61e24f4
cvsdist 61e24f4
cvsdist 61e24f4
%files
3155af9
%license COPYING COPYING.GPL
3155af9
%doc ACKNOWLEDGEMENTS AUTHORS NEWS NOTES README TODO
cvsdist 61e24f4
%{_bindir}/sfconvert
cvsdist 61e24f4
%{_bindir}/sfinfo
2a72e96
%{_libdir}/lib*.so.1*
Bastien Nocera b51817a
%{_mandir}/man1/*
cvsdist 61e24f4
cvsdist 61e24f4
%files devel
3155af9
%doc ChangeLog docs/*.3.txt
cvsdist 61e24f4
%{_libdir}/lib*.so
cvsdist c76444b
%{_libdir}/pkgconfig/*.pc
cvsdist 61e24f4
%{_includedir}/*
Bastien Nocera b51817a
%{_mandir}/man3/*
cvsdist 61e24f4
cvsdist 61e24f4
%changelog
a4174b0
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.6-22
a4174b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a4174b0
0b51fee
* Tue Oct 09 2018 Gwyn Ciesla <limburgher@gmail.com> - 1:0.3.6-21
0b51fee
- Fixes for CVE-2018-13440.
0b51fee
ea15332
* Tue Oct 09 2018 Gwyn Ciesla <limburgher@gmail.com> - 1:0.3.6-20
ea15332
- Fix for CVE-2018-17095.
ea15332
af707bc
* Mon Aug 13 2018 Leigh Scott <leigh123linux@googlemail.com> - 1:0.3.6-19
af707bc
- Fix build
af707bc
8cd6ce3
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.6-18
8cd6ce3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8cd6ce3
5354f12
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:0.3.6-17
5354f12
- Escape macros in %%changelog
5354f12
c96c267
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.6-16
c96c267
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c96c267
bbaf558
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.6-15
bbaf558
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
bbaf558
b2fcfa7
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.6-14
b2fcfa7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b2fcfa7
c604cfc
* Sun Mar 12 2017 Michael Schwendt <mschwendt@fedoraproject.org> - 1:0.3.6-13
c604cfc
- Merge upstream pull requests #42,#43,#44 from Agostino Sarubbo to fix
1fab1a9
  security issues.  CVE-2017-6827, CVE-2017-6828,
1fab1a9
  CVE-2017-6829, CVE-2017-6830, CVE-2017-6831,
b990eec
  CVE-2017-6832, CVE-2017-6833, CVE-2017-6834, CVE-2017-6835,
b990eec
  CVE-2017-6836, CVE-2017-6837, CVE-2017-6838, CVE-2017-6839
c604cfc
74f0693
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.6-12
74f0693
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
74f0693
1f75efd
* Wed Feb  3 2016 Michael Schwendt <mschwendt@fedoraproject.org> - 1:0.3.6-11
1f75efd
- patch to compile with GCC 6
1f75efd
2c0ee4d
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.6-10
2c0ee4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2c0ee4d
5fc49be
* Thu Oct  8 2015 Michael Schwendt <mschwendt@fedoraproject.org> - 1:0.3.6-9
5fc49be
- Merge fix from upstream pull request #25 for CVE-2015-7747.
5fc49be
  Test conversion from e.g. 16-bit LE stereo to 8-bit LE mono
5fc49be
  no longer causes corruption.
5fc49be
5911261
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.6-8
5911261
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5911261
8f5ebd2
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1:0.3.6-7
8f5ebd2
- Rebuilt for GCC 5 C++11 ABI change
8f5ebd2
f2c825d
* Wed Feb 11 2015 Michael Schwendt <mschwendt@fedoraproject.org> - 1:0.3.6-6
f2c825d
- BR flac-devel for FLAC support introduced in 0.3.6.
f2c825d
3155af9
* Tue Feb 10 2015 Michael Schwendt <mschwendt@fedoraproject.org> - 1:0.3.6-5
3155af9
- Don't include docs subdir in base package. It duplicates the manual
3155af9
  pages and their .txt sources. Include the *.3.txt manual sources in
3155af9
  the -devel package instead.
3155af9
- Spec cleanup: drop %%defattr, drop %%clean and buildroot removal.
3155af9
- Drop explicit Requires on pkgconfig from -devel package
3155af9
  (pkg-config 0.8 is from 2002 or so, btw).
3155af9
- Use %%license and add file COPYING to it.
3155af9
- The two included programs are GPLv2+ licensed.
3155af9
- Include more doc files.
3155af9
- Add %%?_isa to base package Requires.
3155af9
- Add %%check section for included testsuite.
3155af9
42ff18d
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.6-4
42ff18d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
42ff18d
099fc3d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.6-3
099fc3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
099fc3d
c776f5f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.6-2
c776f5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c776f5f
c73bff4
* Thu Mar 07 2013 Adam Jackson <ajax@redhat.com> 0.3.6-1
c73bff4
- audiofile 0.3.6
c73bff4
2a72e96
* Wed Feb 06 2013 Adam Jackson <ajax@redhat.com> 0.3.5-1
2a72e96
- audiofile 0.3.5
2a72e96
Bastien Nocera 41f27fb
* Wed Oct 10 2012 Bastien Nocera <bnocera@redhat.com> 0.3.4-1
Bastien Nocera 41f27fb
- Update to 0.3.4
Bastien Nocera 41f27fb
9fe3c4e
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.7-4
9fe3c4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9fe3c4e
376d35e
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.7-3
376d35e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
376d35e
15af30c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.7-2
15af30c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
15af30c
008fbae
* Mon Mar 22 2010 Bastien Nocera <bnocera@redhat.com> 0.2.7-1
008fbae
- Update to 0.2.7
008fbae
c207efe
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.6-11
c207efe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c207efe
47bd004
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.6-10
47bd004
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
47bd004
ce7f2d6
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.2.6-9
ce7f2d6
- fix license tag
ce7f2d6
ad7cbc3
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.2.6-8
ad7cbc3
- Autorebuild for GCC 4.3
ad7cbc3
d07451f
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 1:0.2.6-7
d07451f
- Rebuild for build ID
d07451f
2177baa
* Sat Feb  3 2007 Matthias Clasen <mclasen@redhat.com> - 1:0.2.6-6
2177baa
- Corrections from package review
2177baa
 
d3027f2
* Thu Jul 27 2006 Matthias Clasen <mclasen@redhat.com> - 1:0.2.6-5
d3027f2
- Fix multilib conflicts
d3027f2
- Don't ship static libraries
d3027f2
d55e311
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:0.2.6-4.1
d55e311
- rebuild
d55e311
5f0ec3c
* Mon Apr 17 2006 John (J5) Palmieri <johnp@redhat.com> - 1:0.2.6-4
5f0ec3c
- Remove Makefile* from docs so they are not installed
5f0ec3c
7663a92
* Fri Mar 24 2006 Matthias Clasen <mclasen@redhat.com> - 1:0.2.6-3
7663a92
- Reduce memory consumption by making data tables const
7663a92
69a16de
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:0.2.6-2.2.1
69a16de
- bump again for double-long bug on ppc(64)
69a16de
091042d
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:0.2.6-2.2
091042d
- rebuilt for new gcc4.1 snapshot and glibc changes
091042d
0b739eb
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - 0.2.6-2.1
ad181e9
- rebuilt
ad181e9
85b5aa4
* Thu Mar 17 2005 John (J5) Palmieri <johnp@redhat.com> - 0.2.6-2
545cee8
- rebuild for gcc 4.0
545cee8
3155af9
* Fri Jul 30 2004 Colin Walters  <walters@redhat.com>
cvsdist b74bd76
- Update to 0.2.6
cvsdist b74bd76
- Rework description to not contain apostrophe that
cvsdist b74bd76
  makes emacs unhappy
cvsdist b74bd76
cvsdist b74bd76
* Thu Jul 15 2004 Tim Waugh <twaugh@redhat.com>
cvsdist b74bd76
- Fixed warnings in shipped m4 file.
cvsdist b74bd76
cvsdist 33d0318
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 33d0318
- rebuilt
cvsdist 33d0318
cvsdist 0745914
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 0745914
- rebuilt
cvsdist 0745914
cvsdist 0745914
* Wed Feb 25 2004 Alexander Larsson <alexl@redhat.com> 1:0.2.5-1
cvsdist 0745914
- update to 0.2.5
cvsdist 0745914
cvsdist 0745914
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 0745914
- rebuilt
cvsdist 0745914
cvsdist 0745914
* Sun Jun  8 2003 Tim Powers <timp@redhat.com> 1:0.2.3-7.1
cvsdist 0745914
- rebuild for RHEL
cvsdist 0745914
cvsdist ddca3b5
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist ddca3b5
- rebuilt
cvsdist ddca3b5
cvsdist ddca3b5
* Tue Jun  3 2003 Jeff Johnson <jbj@redhat.com>
cvsdist ddca3b5
- add explicit epoch's where needed.
cvsdist ddca3b5
cvsdist 251fd7a
* Mon Feb 10 2003 Bill Nottingham <notting@redhat.com>
cvsdist 251fd7a
- fix URL (#71010)
cvsdist 251fd7a
cvsdist 251fd7a
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 251fd7a
- rebuilt
cvsdist 251fd7a
cvsdist 251fd7a
* Tue Dec 03 2002 Elliot Lee <sopwith@redhat.com>
cvsdist 251fd7a
- Remove unpackaged files
cvsdist 251fd7a
cvsdist a7513d6
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist a7513d6
- automated rebuild
cvsdist a7513d6
cvsdist d0a3a6d
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist d0a3a6d
- automated rebuild
cvsdist d0a3a6d
cvsdist c76444b
* Tue Jan  8 2002 Owen Taylor <otaylor@redhat.com>
cvsdist c76444b
- Update to 0.2.3, update URLs
cvsdist c76444b
cvsdist 9f5d640
* Mon Jun 25 2001 Preston Brown <pbrown@redhat.com>
cvsdist 9f5d640
- explicit requirement of -devel package on main package (#45205)
cvsdist 9f5d640
cvsdist fbceeb3
* Tue Apr 17 2001 Jonathan Blandford <jrb@redhat.com>
cvsdist fbceeb3
- Bumped version to 0.2.1
cvsdist fbceeb3
cvsdist 0f72f67
* Mon Dec 11 2000 Preston Brown <pbrown@redhat.com>
cvsdist 0f72f67
- upgrade to 0.1.11.
cvsdist 0f72f67
cvsdist 61e24f4
* Mon Aug 14 2000 Than Ngo <than@redhat.com>
5354f12
- add ldconfig to %%post and %%postun (Bug #15413)
cvsdist 61e24f4
cvsdist 61e24f4
* Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com>
cvsdist 61e24f4
- Up Epoch and release
cvsdist 61e24f4
cvsdist 61e24f4
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 61e24f4
- automatic rebuild
cvsdist 61e24f4
cvsdist 61e24f4
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
cvsdist 61e24f4
- use FHS macros
cvsdist 61e24f4
cvsdist 61e24f4
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
cvsdist 61e24f4
- strip library, use configure macro.
cvsdist 61e24f4
cvsdist 61e24f4
* Tue Sep 14 1999 Elliot Lee <sopwith@redhat.com>
cvsdist 61e24f4
- 0.1.8pre (take whatever is in CVS).
cvsdist 61e24f4
cvsdist 61e24f4
* Fri Aug 13 1999 Michael Fulbrght <drmike@redhat.com>
cvsdist 61e24f4
- version 1.7.0
cvsdist 61e24f4
cvsdist 61e24f4
* Sun Apr 18 1999 Matt Wilson <msw@redhat.com>
cvsdist 61e24f4
- updated patch from DaveM
cvsdist 61e24f4
cvsdist 61e24f4
* Fri Apr 16 1999 Matt Wilson <msw@redhat.com>
cvsdist 61e24f4
- added patch from Dave Miller to disable byte swapping in decoding
cvsdist 61e24f4
cvsdist 61e24f4
* Fri Mar 19 1999 Michael Fulbright <drmike@redhat.com>
cvsdist 61e24f4
- strip binaries before packaging
cvsdist 61e24f4
cvsdist 61e24f4
* Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com>
cvsdist 61e24f4
- Version 0.1.6
cvsdist 61e24f4
cvsdist 61e24f4
* Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com>
5354f12
- Removed libtoolize from %%build
cvsdist 61e24f4
cvsdist 61e24f4
* Wed Feb 3 1999 Jonathan Blandfor <jrb@redhat.com>
cvsdist 61e24f4
- Newer version with bug fix.  Upped release.
cvsdist 61e24f4
cvsdist 61e24f4
* Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com>
cvsdist 61e24f4
- integrating into rawhide release at GNOME freeze
cvsdist 61e24f4
cvsdist 61e24f4
* Fri Nov 20 1998 Michael Fulbright <drmike@redhat.com>
cvsdist 61e24f4
- First try at a spec file