Blame SPECS/libao.spec

ab7bd3
Name:           libao
ab7bd3
Version:        1.2.0
ab7bd3
Release:        22%{?dist}
ab7bd3
Summary:        Cross Platform Audio Output Library
ab7bd3
License:        GPLv2+
ab7bd3
URL:            http://xiph.org/ao/
ab7bd3
Source0:        http://downloads.xiph.org/releases/ao/%{name}-%{version}.tar.gz
ab7bd3
Patch1:         0001-ao_pulse.c-fix-latency-calculation.patch
ab7bd3
# https://gitlab.xiph.org/xiph/libao/commit/d5221655dfd1a2156aa6be83b5aadea7c1e0f5bd.diff
ab7bd3
# CVE 2017-11548
ab7bd3
Patch2:         d5221655dfd1a2156aa6be83b5aadea7c1e0f5bd.diff
ab7bd3
Patch3:         libao-nanosleep.patch
ab7bd3
BuildRequires:  gcc
ab7bd3
BuildRequires:  alsa-lib-devel
ab7bd3
BuildRequires:  pkgconfig(libpulse)
ab7bd3
BuildRequires: make
ab7bd3
ab7bd3
%description
ab7bd3
Libao is a cross-platform audio library that allows programs to output audio
ab7bd3
using a simple API on a wide variety of platforms.
ab7bd3
ab7bd3
ab7bd3
%package        devel
ab7bd3
Summary:        Development files for %{name}
ab7bd3
Requires:       %{name}%{?_isa} = %{version}-%{release}
ab7bd3
ab7bd3
%description devel
ab7bd3
The %{name}-devel package contains libraries and header files for
ab7bd3
developing applications that use %{name}.
ab7bd3
ab7bd3
ab7bd3
%prep
ab7bd3
%setup -q
ab7bd3
%patch1 -p1
ab7bd3
%patch2 -p1
ab7bd3
%patch3 -p1
ab7bd3
sed -i "s/-O20 -ffast-math//" configure
ab7bd3
ab7bd3
ab7bd3
%build
ab7bd3
%configure
ab7bd3
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
ab7bd3
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
ab7bd3
make %{?_smp_mflags}
ab7bd3
ab7bd3
ab7bd3
%install
ab7bd3
%make_install INSTALL="install -p"
ab7bd3
# remove unpackaged files from the buildroot
ab7bd3
find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \;
ab7bd3
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
ab7bd3
ab7bd3
ab7bd3
%ldconfig_scriptlets
ab7bd3
ab7bd3
ab7bd3
%files
ab7bd3
%doc AUTHORS CHANGES COPYING README
ab7bd3
%{_libdir}/libao.so.*
ab7bd3
%{_libdir}/ao
ab7bd3
%{_mandir}/man5/*
ab7bd3
ab7bd3
%files devel
ab7bd3
%doc doc/*.html doc/*.c doc/*.css
ab7bd3
%{_includedir}/ao
ab7bd3
%{_libdir}/ckport
ab7bd3
%{_libdir}/libao.so
ab7bd3
%{_libdir}/pkgconfig/ao.pc
ab7bd3
%{_datadir}/aclocal/ao.m4
ab7bd3
ab7bd3
ab7bd3
%changelog
ab7bd3
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0-22
ab7bd3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
ab7bd3
  Related: rhbz#1991688
ab7bd3
ab7bd3
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0-21
ab7bd3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
ab7bd3
ab7bd3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-20
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ab7bd3
ab7bd3
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-19
ab7bd3
- Second attempt - Rebuilt for
ab7bd3
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ab7bd3
ab7bd3
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-18
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ab7bd3
ab7bd3
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-17
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ab7bd3
ab7bd3
* Mon Sep  9 2019 Florian Weimer <fweimer@redhat.com> - 1.2.0-16
ab7bd3
- Fix building in C99 mode
ab7bd3
ab7bd3
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-15
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ab7bd3
ab7bd3
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-14
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ab7bd3
ab7bd3
* Tue Jul 31 2018 Adam Jackson <ajax@redhat.com> - 1.2.0-13
ab7bd3
- Backport fix for CVE 2017-11548
ab7bd3
ab7bd3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-12
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ab7bd3
ab7bd3
* Fri Apr 06 2018 Adam Jackson <ajax@redhat.com> - 1.2.0-11
ab7bd3
- Update description
ab7bd3
ab7bd3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-10
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ab7bd3
ab7bd3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-9
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ab7bd3
ab7bd3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ab7bd3
ab7bd3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-7
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ab7bd3
ab7bd3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ab7bd3
ab7bd3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-5
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ab7bd3
ab7bd3
* Fri Feb 20 2015 Hans de Goede <hdegoede@redhat.com> - 1.2.0-4
ab7bd3
- Add a patch fixing pulseaudio buffersize calculations (rhbz#1193688)
ab7bd3
ab7bd3
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ab7bd3
ab7bd3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ab7bd3
ab7bd3
* Sun Feb 23 2014 Hans de Goede <hdegoede@redhat.com> - 1.2.0-1
ab7bd3
- Rebase to upstream 1.2.0 release (rhbz#1060417)
ab7bd3
- Drop no longer used ao.req Provides filter
ab7bd3
ab7bd3
* Mon Aug 05 2013 Hans de Goede <hdegoede@redhat.com> - 1.1.0-8
ab7bd3
- Fix FTBFS caused by unversioned docdir change (#992054)
ab7bd3
ab7bd3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-7
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ab7bd3
ab7bd3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-6
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ab7bd3
ab7bd3
* Thu Aug 23 2012 Matthias Clasen <mclasen@redhat.com> - 1.1.0-5
ab7bd3
- Don't require esound or arts. They are both obsolete
ab7bd3
- Drop no-longer-needed dependency hack
ab7bd3
ab7bd3
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ab7bd3
ab7bd3
* Sat Jun 23 2012 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-3
ab7bd3
- s/pulseaudio-lib-devel/pkgconfig(libpulse)
ab7bd3
ab7bd3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ab7bd3
ab7bd3
* Wed May 18 2011 Hans de Goede <hdegoede@redhat.com> - 1.1.0-1
ab7bd3
- Update to 1.1.0 (rhbz#705166)
ab7bd3
ab7bd3
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ab7bd3
ab7bd3
* Fri Nov  5 2010 Hans de Goede <hdegoede@redhat.com> - 1.0.0-2
ab7bd3
- Silence plugin load errors when arts or esd is not installed (#645924)
ab7bd3
ab7bd3
* Sat Aug 28 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.0.0-1
ab7bd3
- Updated to 1.0.0
ab7bd3
   * AO returned to active development
ab7bd3
   * Added surround channel mapping API and capability
ab7bd3
   * Updated all drivers on modern installs
ab7bd3
   * New config file options
ab7bd3
   * Driver options may be specified in config file
ab7bd3
   * Support for MacOSX updated to 10.5 and later
ab7bd3
   * Build in WMM driver rather than using dlopen()
ab7bd3
   * Added Roar Audio driver
ab7bd3
   * Added OpenBSD SNDIO driver
ab7bd3
   * Workaround for ESD non-4096 byte write bug
ab7bd3
   * Workaround aRts server crash bug
ab7bd3
   * Workaround for VIA82xx click/crackle bugs under ALSA
ab7bd3
   * Remove dead/unused drivers (solaris, alasa05, mmsound)
ab7bd3
   * Numerous patches from multiple downstreams
ab7bd3
- Patch from upstream: libao-1.0.0 Pulse Audio Fix
ab7bd3
ab7bd3
* Fri Jan 15 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 0.8.8-10
ab7bd3
- Replace the broken/expensive file dependency in release -8/-9 with
ab7bd3
  an arch-specific base package dependency if %%_isa is defined.
ab7bd3
ab7bd3
* Mon Nov 23 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 0.8.8-9
ab7bd3
- Reverting back change to libao-devel (/usr/lib/libao.so.2 to libao%%{?_isa})
ab7bd3
ab7bd3
* Tue Nov 10 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 0.8.8-8
ab7bd3
- Change requires on libao-devel from: /usr/lib/libao.so.2 to libao%%{?_isa}
ab7bd3
ab7bd3
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-7
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ab7bd3
ab7bd3
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-6
ab7bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ab7bd3
ab7bd3
* Sun Jul  6 2008 Hans de Goede <j.w.r.degoede@hhs.nl> - 0.8.8-5
ab7bd3
- Fix pulseaudio sound output on bigendian archs (bz 454165), patch by
ab7bd3
  Ian Chapman
ab7bd3
ab7bd3
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.8-4
ab7bd3
- Autorebuild for GCC 4.3
ab7bd3
ab7bd3
* Thu Nov 15 2007 Hans de Goede <j.w.r.degoede@hhs.nl> - 0.8.8-3
ab7bd3
- Minor packaging cleanups for merge review (bz 225986)
ab7bd3
ab7bd3
* Wed Nov 14 2007 Hans de Goede <j.w.r.degoede@hhs.nl> - 0.8.8-2
ab7bd3
- Fix multilib conflict (bz 341891)
ab7bd3
- Fix Source0 and URL urls
ab7bd3
ab7bd3
* Wed Nov  7 2007 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.8.8-1
ab7bd3
- Updated to 0.8.8 (bz 316731)
ab7bd3
- Cleaned up the SPEC
ab7bd3
- Added PulseAudio support
ab7bd3
- Made build parallel
ab7bd3
- Killed rpaths
ab7bd3
- Changed the kludges to use sed
ab7bd3
ab7bd3
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 0.8.6-5
ab7bd3
- Rebuild for build ID
ab7bd3
ab7bd3
* Fri Jan 12 2007 Behdad Esfahbod <besfahbo@redhat.com> - 0.8.6-5
ab7bd3
- Require libao.so.2 explicitly in -devel package
ab7bd3
- Resolves: #221980
ab7bd3
ab7bd3
* Tue Nov 21 2006 Behdad Esfahbod <besfahbo@redhat.com> - 0.8.6-4
ab7bd3
- Only export namespaced symbols. (bug 216108)
ab7bd3
ab7bd3
* Mon Jul 24 2006 Ray Strode <rstrode@redhat.com> - 0.8.6-3
ab7bd3
- remove all .la files (bug 199058)
ab7bd3
ab7bd3
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.8.6-2.1
ab7bd3
- rebuild
ab7bd3
ab7bd3
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 0.8.6-2
ab7bd3
- rebuild for -devel deps
ab7bd3
ab7bd3
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.8.6-1.2.1
ab7bd3
- bump again for double-long bug on ppc(64)
ab7bd3
ab7bd3
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.8.6-1.2
ab7bd3
- rebuilt for new gcc4.1 snapshot and glibc changes
ab7bd3
ab7bd3
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
ab7bd3
- rebuilt
ab7bd3
ab7bd3
* Wed Nov 09 2005 John (J5) Palmieri <johnp@redhat.com> 0.8.6-1
ab7bd3
- update to 0.8.6
ab7bd3
ab7bd3
* Thu Mar 03 2005 John (J5) Palmieri <johnp@redhat.com> 0.8.5-3
ab7bd3
- rebuild with gcc 4.0
ab7bd3
ab7bd3
* Thu Sep 02 2004 Colin Walters <walters@redhat.com>
ab7bd3
- Update to 0.8.5
ab7bd3
- Delete upstreamed patch libao-0.8.4-alsa10.patch
ab7bd3
ab7bd3
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
ab7bd3
- rebuilt
ab7bd3
ab7bd3
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
ab7bd3
- rebuilt
ab7bd3
ab7bd3
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
ab7bd3
- rebuilt
ab7bd3
ab7bd3
* Thu Dec 11 2003 Bill Nottingham <notting@redhat.com> 0.8.4-1
ab7bd3
- update to 0.8.4
ab7bd3
- fix alsa09 plugin to work with alsa-1.0.0pre
ab7bd3
ab7bd3
* Wed Oct 22 2003 Bill Nottingham <notting@redhat.com> 0.8.3-5
ab7bd3
- fix dependency blacklisting (#100917)
ab7bd3
ab7bd3
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
ab7bd3
- rebuilt
ab7bd3
ab7bd3
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
ab7bd3
- rebuilt
ab7bd3
ab7bd3
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 0.8.3-2
ab7bd3
- remove unpackaged files from the buildroot
ab7bd3
ab7bd3
* Thu Jul 18 2002 Bill Nottingham <notting@redhat.com> 0.8.3-1
ab7bd3
- update to 0.8.3
ab7bd3
ab7bd3
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
ab7bd3
- automated rebuild
ab7bd3
ab7bd3
* Thu May 23 2002 Tim Powers <timp@redhat.com>
ab7bd3
- automated rebuild
ab7bd3
ab7bd3
* Thu Mar 14 2002 Bill Nottingham <notting@redhat.com>
ab7bd3
- hm, where did that esd output plugin go?
ab7bd3
ab7bd3
* Tue Jan  1 2002 Bill Nottingham <notting@redhat.com>
ab7bd3
- update to 0.8.2
ab7bd3
ab7bd3
* Tue Aug 14 2001 Bill Nottingham <notting@redhat.com>
ab7bd3
- update to 0.8.0
ab7bd3
ab7bd3
* Fri Jul 20 2001 Bill Nottingham <notting@redhat.com>
ab7bd3
- split this off from the vorbis package, as something else now requires it
ab7bd3
ab7bd3
* Tue Jul 10 2001 Bill Nottingham <notting@redhat.com>
ab7bd3
- own %%{_libdir}/ao
ab7bd3
- I love libtool
ab7bd3
ab7bd3
* Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
ab7bd3
- add links from library major version numbers in rpms
ab7bd3
ab7bd3
* Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
ab7bd3
- update to rc1
ab7bd3
ab7bd3
* Fri May  4 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
ab7bd3
- fixed perl line in spec file to set optims correctly
ab7bd3
ab7bd3
* Tue Mar 20 2001 Bill Nottingham <notting@redhat.com>
ab7bd3
- fix alpha/ia64, again
ab7bd3
- use optflags, not -O20 -ffast-math (especially on alpha...)
ab7bd3
ab7bd3
* Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
ab7bd3
- fix license tag
ab7bd3
ab7bd3
* Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
ab7bd3
- beta4
ab7bd3
ab7bd3
* Fri Feb  9 2001 Bill Nottingham <notting@redhat.com>
ab7bd3
- fix alpha/ia64
ab7bd3
ab7bd3
* Thu Feb  8 2001 Bill Nottingham <notting@redhat.com>
ab7bd3
- update CVS in prep for beta4
ab7bd3
ab7bd3
* Wed Feb 07 2001 Philipp Knirsch <pknirsch@redhat.de>
ab7bd3
- Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if
ab7bd3
  none was specified.
ab7bd3
ab7bd3
* Tue Jan  9 2001 Bill Nottingham <notting@redhat.com>
ab7bd3
- update CVS, grab aRts backend for libao
ab7bd3
ab7bd3
* Wed Dec 27 2000 Bill Nottingham <notting@redhat.com>
ab7bd3
- update CVS
ab7bd3
ab7bd3
* Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
ab7bd3
- rebuild because of broken fileutils
ab7bd3
ab7bd3
* Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
ab7bd3
- hack up specfile some, merge some packages
ab7bd3
ab7bd3
* Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
ab7bd3
- initial spec file created