Michael Schwendt 3155af
%global make_check 1
Michael Schwendt 3155af
Michael Schwendt 3155af
Summary: Library for accessing various audio file formats
cvsdist 61e24f
Name: audiofile
Adam Jackson c73bff
Version: 0.3.6
Kalev Lember 8f5ebd
Release: 7%{?dist}
cvsdist 61e24f
Epoch: 1
Michael Schwendt 3155af
# library is LGPL / the two programs GPL / see README
Michael Schwendt 3155af
License: LGPLv2+ and GPLv2+
cvsdist 61e24f
Group: System Environment/Libraries
Bastien Nocera 41f27f
Source: http://audiofile.68k.org/%{name}-%{version}.tar.gz
Bastien Nocera 41f27f
URL: http://audiofile.68k.org/
Tom Callaway ce7f2d
BuildRequires: libtool
Bastien Nocera 78f029
BuildRequires: alsa-lib-devel
Michael Schwendt f2c825
BuildRequires: flac-devel
Michael Schwendt 3155af
# optional for rebuilding manual pages from .txt
Michael Schwendt 3155af
#BuildRequires: asciidoc
cvsdist 61e24f
cvsdist 61e24f
%description
cvsdist b74bd7
The Audio File library is an implementation of the Audio File Library
cvsdist b74bd7
from SGI, which provides an API for accessing audio file formats like
cvsdist c76444
AIFF/AIFF-C, WAVE, and NeXT/Sun .snd/.au files. This library is used
cvsdist 61e24f
by the EsounD daemon.
cvsdist 61e24f
cvsdist c76444
Install audiofile if you are installing EsounD or you need an API for
cvsdist 61e24f
any of the sound file formats it can handle.
cvsdist 61e24f
cvsdist 61e24f
%package devel
Matthias Clasen 2177ba
Summary: Development files for Audio File applications
cvsdist 61e24f
Group: Development/Libraries
Michael Schwendt 3155af
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
cvsdist 61e24f
cvsdist 61e24f
%description devel
cvsdist c76444
The audiofile-devel package contains libraries, include files, and
cvsdist 61e24f
other resources you can use to develop Audio File applications.
cvsdist 61e24f
cvsdist 61e24f
%prep
cvsdist 61e24f
%setup -q
cvsdist 61e24f
cvsdist 61e24f
%build
Matthias Clasen 2177ba
%configure --disable-static
Tom Callaway ce7f2d
make %{?_smp_mflags} LIBTOOL="/usr/bin/libtool"
cvsdist 61e24f
cvsdist 61e24f
%install
Tom Callaway ce7f2d
make DESTDIR="$RPM_BUILD_ROOT" install
cvsdist 61e24f
cvsdist 251fd7
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
Tom Callaway ce7f2d
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
Michael Schwendt 3155af
Michael Schwendt 3155af
Michael Schwendt 3155af
%check
Michael Schwendt 3155af
%if %{make_check}
Michael Schwendt 3155af
make check
Michael Schwendt 3155af
%endif
Michael Schwendt 3155af
cvsdist 251fd7
Matthias Clasen 2177ba
%post -p /sbin/ldconfig
cvsdist 61e24f
Matthias Clasen 2177ba
%postun -p /sbin/ldconfig
cvsdist 61e24f
cvsdist 61e24f
cvsdist 61e24f
%files
Michael Schwendt 3155af
%license COPYING COPYING.GPL
Michael Schwendt 3155af
%doc ACKNOWLEDGEMENTS AUTHORS NEWS NOTES README TODO
cvsdist 61e24f
%{_bindir}/sfconvert
cvsdist 61e24f
%{_bindir}/sfinfo
Adam Jackson 2a72e9
%{_libdir}/lib*.so.1*
Bastien Nocera b51817
%{_mandir}/man1/*
cvsdist 61e24f
cvsdist 61e24f
%files devel
Michael Schwendt 3155af
%doc ChangeLog docs/*.3.txt
cvsdist 61e24f
%{_libdir}/lib*.so
cvsdist c76444
%{_libdir}/pkgconfig/*.pc
cvsdist 61e24f
%{_includedir}/*
Bastien Nocera b51817
%{_mandir}/man3/*
cvsdist 61e24f
cvsdist 61e24f
%changelog
Kalev Lember 8f5ebd
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1:0.3.6-7
Kalev Lember 8f5ebd
- Rebuilt for GCC 5 C++11 ABI change
Kalev Lember 8f5ebd
Michael Schwendt f2c825
* Wed Feb 11 2015 Michael Schwendt <mschwendt@fedoraproject.org> - 1:0.3.6-6
Michael Schwendt f2c825
- BR flac-devel for FLAC support introduced in 0.3.6.
Michael Schwendt f2c825
Michael Schwendt 3155af
* Tue Feb 10 2015 Michael Schwendt <mschwendt@fedoraproject.org> - 1:0.3.6-5
Michael Schwendt 3155af
- Don't include docs subdir in base package. It duplicates the manual
Michael Schwendt 3155af
  pages and their .txt sources. Include the *.3.txt manual sources in
Michael Schwendt 3155af
  the -devel package instead.
Michael Schwendt 3155af
- Spec cleanup: drop %%defattr, drop %%clean and buildroot removal.
Michael Schwendt 3155af
- Drop explicit Requires on pkgconfig from -devel package
Michael Schwendt 3155af
  (pkg-config 0.8 is from 2002 or so, btw).
Michael Schwendt 3155af
- Use %%license and add file COPYING to it.
Michael Schwendt 3155af
- The two included programs are GPLv2+ licensed.
Michael Schwendt 3155af
- Include more doc files.
Michael Schwendt 3155af
- Add %%?_isa to base package Requires.
Michael Schwendt 3155af
- Add %%check section for included testsuite.
Michael Schwendt 3155af
Peter Robinson 42ff18
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.6-4
Peter Robinson 42ff18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Peter Robinson 42ff18
Dennis Gilmore 099fc3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.6-3
Dennis Gilmore 099fc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Dennis Gilmore 099fc3
Dennis Gilmore c776f5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.6-2
Dennis Gilmore c776f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Dennis Gilmore c776f5
Adam Jackson c73bff
* Thu Mar 07 2013 Adam Jackson <ajax@redhat.com> 0.3.6-1
Adam Jackson c73bff
- audiofile 0.3.6
Adam Jackson c73bff
Adam Jackson 2a72e9
* Wed Feb 06 2013 Adam Jackson <ajax@redhat.com> 0.3.5-1
Adam Jackson 2a72e9
- audiofile 0.3.5
Adam Jackson 2a72e9
Bastien Nocera 41f27f
* Wed Oct 10 2012 Bastien Nocera <bnocera@redhat.com> 0.3.4-1
Bastien Nocera 41f27f
- Update to 0.3.4
Bastien Nocera 41f27f
Dennis Gilmore 9fe3c4
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.7-4
Dennis Gilmore 9fe3c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore 9fe3c4
Dennis Gilmore 376d35
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.7-3
Dennis Gilmore 376d35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore 376d35
Dennis Gilmore 15af30
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.7-2
Dennis Gilmore 15af30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore 15af30
Bastien Nocera 008fba
* Mon Mar 22 2010 Bastien Nocera <bnocera@redhat.com> 0.2.7-1
Bastien Nocera 008fba
- Update to 0.2.7
Bastien Nocera 008fba
Jesse Keating c207ef
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.6-11
Jesse Keating c207ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating c207ef
Jesse Keating 47bd00
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.6-10
Jesse Keating 47bd00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating 47bd00
Tom Callaway ce7f2d
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.2.6-9
Tom Callaway ce7f2d
- fix license tag
Tom Callaway ce7f2d
Jesse Keating ad7cbc
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.2.6-8
Jesse Keating ad7cbc
- Autorebuild for GCC 4.3
Jesse Keating ad7cbc
Adam Jackson d07451
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 1:0.2.6-7
Adam Jackson d07451
- Rebuild for build ID
Adam Jackson d07451
Matthias Clasen 2177ba
* Sat Feb  3 2007 Matthias Clasen <mclasen@redhat.com> - 1:0.2.6-6
Matthias Clasen 2177ba
- Corrections from package review
Matthias Clasen 2177ba
 
Matthias Clasen d3027f
* Thu Jul 27 2006 Matthias Clasen <mclasen@redhat.com> - 1:0.2.6-5
Matthias Clasen d3027f
- Fix multilib conflicts
Matthias Clasen d3027f
- Don't ship static libraries
Matthias Clasen d3027f
Jesse Keating d55e31
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:0.2.6-4.1
Jesse Keating d55e31
- rebuild
Jesse Keating d55e31
John (J5) Palmieri 5f0ec3
* Mon Apr 17 2006 John (J5) Palmieri <johnp@redhat.com> - 1:0.2.6-4
John (J5) Palmieri 5f0ec3
- Remove Makefile* from docs so they are not installed
John (J5) Palmieri 5f0ec3
Matthias Clasen 7663a9
* Fri Mar 24 2006 Matthias Clasen <mclasen@redhat.com> - 1:0.2.6-3
Matthias Clasen 7663a9
- Reduce memory consumption by making data tables const
Matthias Clasen 7663a9
Jesse Keating 69a16d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:0.2.6-2.2.1
Jesse Keating 69a16d
- bump again for double-long bug on ppc(64)
Jesse Keating 69a16d
Jesse Keating 091042
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:0.2.6-2.2
Jesse Keating 091042
- rebuilt for new gcc4.1 snapshot and glibc changes
Jesse Keating 091042
Jesse Keating 0b739e
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - 0.2.6-2.1
Jesse Keating ad181e
- rebuilt
Jesse Keating ad181e
John (J5) Palmieri 85b5aa
* Thu Mar 17 2005 John (J5) Palmieri <johnp@redhat.com> - 0.2.6-2
John (J5) Palmieri 545cee
- rebuild for gcc 4.0
John (J5) Palmieri 545cee
Michael Schwendt 3155af
* Fri Jul 30 2004 Colin Walters  <walters@redhat.com>
cvsdist b74bd7
- Update to 0.2.6
cvsdist b74bd7
- Rework description to not contain apostrophe that
cvsdist b74bd7
  makes emacs unhappy
cvsdist b74bd7
cvsdist b74bd7
* Thu Jul 15 2004 Tim Waugh <twaugh@redhat.com>
cvsdist b74bd7
- Fixed warnings in shipped m4 file.
cvsdist b74bd7
cvsdist 33d031
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 33d031
- rebuilt
cvsdist 33d031
cvsdist 074591
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 074591
- rebuilt
cvsdist 074591
cvsdist 074591
* Wed Feb 25 2004 Alexander Larsson <alexl@redhat.com> 1:0.2.5-1
cvsdist 074591
- update to 0.2.5
cvsdist 074591
cvsdist 074591
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 074591
- rebuilt
cvsdist 074591
cvsdist 074591
* Sun Jun  8 2003 Tim Powers <timp@redhat.com> 1:0.2.3-7.1
cvsdist 074591
- rebuild for RHEL
cvsdist 074591
cvsdist ddca3b
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist ddca3b
- rebuilt
cvsdist ddca3b
cvsdist ddca3b
* Tue Jun  3 2003 Jeff Johnson <jbj@redhat.com>
cvsdist ddca3b
- add explicit epoch's where needed.
cvsdist ddca3b
cvsdist 251fd7
* Mon Feb 10 2003 Bill Nottingham <notting@redhat.com>
cvsdist 251fd7
- fix URL (#71010)
cvsdist 251fd7
cvsdist 251fd7
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 251fd7
- rebuilt
cvsdist 251fd7
cvsdist 251fd7
* Tue Dec 03 2002 Elliot Lee <sopwith@redhat.com>
cvsdist 251fd7
- Remove unpackaged files
cvsdist 251fd7
cvsdist a7513d
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist a7513d
- automated rebuild
cvsdist a7513d
cvsdist d0a3a6
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist d0a3a6
- automated rebuild
cvsdist d0a3a6
cvsdist c76444
* Tue Jan  8 2002 Owen Taylor <otaylor@redhat.com>
cvsdist c76444
- Update to 0.2.3, update URLs
cvsdist c76444
cvsdist 9f5d64
* Mon Jun 25 2001 Preston Brown <pbrown@redhat.com>
cvsdist 9f5d64
- explicit requirement of -devel package on main package (#45205)
cvsdist 9f5d64
cvsdist fbceeb
* Tue Apr 17 2001 Jonathan Blandford <jrb@redhat.com>
cvsdist fbceeb
- Bumped version to 0.2.1
cvsdist fbceeb
cvsdist 0f72f6
* Mon Dec 11 2000 Preston Brown <pbrown@redhat.com>
cvsdist 0f72f6
- upgrade to 0.1.11.
cvsdist 0f72f6
cvsdist 61e24f
* Mon Aug 14 2000 Than Ngo <than@redhat.com>
cvsdist 61e24f
- add ldconfig to %post and %postun (Bug #15413)
cvsdist 61e24f
cvsdist 61e24f
* Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com>
cvsdist 61e24f
- Up Epoch and release
cvsdist 61e24f
cvsdist 61e24f
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 61e24f
- automatic rebuild
cvsdist 61e24f
cvsdist 61e24f
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
cvsdist 61e24f
- use FHS macros
cvsdist 61e24f
cvsdist 61e24f
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
cvsdist 61e24f
- strip library, use configure macro.
cvsdist 61e24f
cvsdist 61e24f
* Tue Sep 14 1999 Elliot Lee <sopwith@redhat.com>
cvsdist 61e24f
- 0.1.8pre (take whatever is in CVS).
cvsdist 61e24f
cvsdist 61e24f
* Fri Aug 13 1999 Michael Fulbrght <drmike@redhat.com>
cvsdist 61e24f
- version 1.7.0
cvsdist 61e24f
cvsdist 61e24f
* Sun Apr 18 1999 Matt Wilson <msw@redhat.com>
cvsdist 61e24f
- updated patch from DaveM
cvsdist 61e24f
cvsdist 61e24f
* Fri Apr 16 1999 Matt Wilson <msw@redhat.com>
cvsdist 61e24f
- added patch from Dave Miller to disable byte swapping in decoding
cvsdist 61e24f
cvsdist 61e24f
* Fri Mar 19 1999 Michael Fulbright <drmike@redhat.com>
cvsdist 61e24f
- strip binaries before packaging
cvsdist 61e24f
cvsdist 61e24f
* Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com>
cvsdist 61e24f
- Version 0.1.6
cvsdist 61e24f
cvsdist 61e24f
* Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com>
cvsdist 61e24f
- Removed libtoolize from %build
cvsdist 61e24f
cvsdist 61e24f
* Wed Feb 3 1999 Jonathan Blandfor <jrb@redhat.com>
cvsdist 61e24f
- Newer version with bug fix.  Upped release.
cvsdist 61e24f
cvsdist 61e24f
* Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com>
cvsdist 61e24f
- integrating into rawhide release at GNOME freeze
cvsdist 61e24f
cvsdist 61e24f
* Fri Nov 20 1998 Michael Fulbright <drmike@redhat.com>
cvsdist 61e24f
- First try at a spec file