Name: libao Version: 1.2.0 Release: 1%{?_dist_release} Summary: Cross Platform Audio Output Library. Summary(ja): クロスプラットフォームなオーディオ出力ライブラリ Group: System Environment/Libraries License: GPLv2 URL: http://www.xiph.org/ao/ Source: http://downloads.xiph.org/releases/ao/libao-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: alsa-lib-devel BuildRequires: glib2-devel BuildRequires: perl BuildRequires: pulseaudio-libs-devel %description Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms. It currently supports: * Null output * WAV files * ALSA (Advanced Linux Sound Architecture) * pulseaudio (next generation GNOME sound server) * AIX * Solaris (untested) * IRIX (untested) This package provides plug-ins for OSS, ESD, ALSA, PulseAudio and aRts. You will need to install the supporting libraries for any plug-ins you want to use in order for them to work. %package devel Summary: Cross Platform Audio Output Library Development. Summary(ja): libao の開発用ファイル Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The libao-devel package contains the header files, static libraries and documentation needed to develop applications with libao. %prep %setup -q perl -p -i -e "s/-O20/$RPM_OPT_FLAGS/" configure perl -p -i -e "s/-ffast-math//" configure %build %configure \ --disable-broken-oss \ --disable-esd \ --disable-arts \ --disable-nas \ --enable-alsa \ --enable-pulse make %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install rm -f doc/Makefile* rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la rm -f $RPM_BUILD_ROOT%{_libdir}/ao/plugins-4/lib*.la %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS CHANGES COPYING README %{_libdir}/libao.so.* %{_libdir}/ao/*/*.so %{_mandir}/man5/* %files devel %defattr(-,root,root) %doc doc/* %{_includedir}/ao %{_libdir}/libao.so #{_libdir}/ao/*/*.la %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/ao.m4 %exclude %{_libdir}/ckport/db/libao.ckport %changelog * Tue Mar 17 2015 Ryoichi INAGAKI 1.2.0-1 - new upstream release - added Japanese summary * Sat Jul 05 2014 Yoji TOYODA 1.1.0-2 - rebuild with VineSeed environment * Fri Jul 06 2012 Daisuke SUZUKI 1.1.0-1 - new upstream release * Sun Jul 10 2011 Daisuke SUZUKI 0.8.8-4 - disable arts, nas, esd * Sat Sep 25 2010 Yoji TOYODA 0.8.8-3 - rebuild with rpm-4.8.1 for pkg-config file * Fri Aug 14 2009 Daisuke SUZUKI 0.8.8-2 - remove all Requires: * Mon Sep 8 2008 Ryoichi INAGAKI 0.8.8-1 - applied new versioning policy - rebuilt with pulseaudio * Fri Aug 17 2007 Ryoichi INAGAKI 0.8.8-0vl1 - new upstream release * Mon May 14 2007 AKIYAMA Kazuhito 0.8.6-0vl2 - rebuild with new toolchain * Thu Jul 21 2005 AKIYAMA Kazuhito 0.8.6-0vl1 - new upstream release - remove --disable-alsa --disable-alsa09 from configure option - add BuildPrereq: alsa-lib-devel and Requires: alsa-lib - add --disable-broken-oss to configure option - update %%description and %%files - update source-URL * Mon Oct 18 2004 KAZUKI SHIMURA 0.8.5-0vl1 - source upgrade - update URLs - add BuildPrereq: glib2-devel, Requires: glib2 - s/Copyright/License/ * Sat Nov 22 2003 AKIYAMA Kazuhito 0.8.4-0vl2 - rebuild for VineSeedPlus * Sat Nov 22 2003 AKIYAMA Kazuhito 0.8.4-0vl1 - source upgrade - build for VinePlus/2.6 - add %%{_libdir}/pkgconfig/*.pc to devel package * Sat Oct 4 2003 AKIYAMA Kazuhito 0.8.3-0vl3 - rebuild with new toolchain * Sun Jan 19 2003 AKIYAMA Kazuhito 0.8.3-0vl2 - rebuild with new toolchain * Wed Jul 24 2002 AKIYAMA Kazuhito 0.8.3-0vl1 - source upgrade - add --disable-alsa --disable-alsa09 to %configure option - remove Patch and Source1 - change BuildPrereq: kdelibs-sound-devel -> arts-devel >= 1:1.0.3 - update %description and %description devel - add BuildPrereq: perl audiofile esound-devel >= 0.2.8 - add static libraries to -devel package - add PreReq: ldconfig - add Requires: arts audiofile esound * Sat Jan 12 2002 AKIYAMA Kazuhito 0.8.2-1vl1 - build for VineSeed * Tue Jan 1 2002 Bill Nottingham - update to 0.8.2 * Tue Aug 14 2001 Bill Nottingham - update to 0.8.0 * Fri Jul 20 2001 Bill Nottingham - split this off from the vorbis package, as something else now requires it * Tue Jul 10 2001 Bill Nottingham - own %%{_libdir}/ao - I love libtool * Tue Jun 26 2001 Florian La Roche - add links from library major version numbers in rpms * Tue Jun 19 2001 Bill Nottingham - update to rc1 * Fri May 4 2001 Oliver Paukstadt - fixed perl line in spec file to set optims correctly * Tue Mar 20 2001 Bill Nottingham - fix alpha/ia64, again - use optflags, not -O20 -ffast-math (especially on alpha...) * Mon Feb 26 2001 Bill Nottingham - fix license tag * Mon Feb 26 2001 Bill Nottingham - beta4 * Fri Feb 9 2001 Bill Nottingham - fix alpha/ia64 * Thu Feb 8 2001 Bill Nottingham - update CVS in prep for beta4 * Wed Feb 07 2001 Philipp Knirsch - Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if none was specified. * Tue Jan 9 2001 Bill Nottingham - update CVS, grab aRts backend for libao * Wed Dec 27 2000 Bill Nottingham - update CVS * Fri Dec 01 2000 Bill Nottingham - rebuild because of broken fileutils * Mon Nov 13 2000 Bill Nottingham - hack up specfile some, merge some packages * Sat Oct 21 2000 Jack Moffitt - initial spec file created