libao-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. Summary: Cross Platform Audio Output Library.
  2. Name: libao
  3. Version: 0.8.8
  4. Release: 2%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: GPL
  7. URL: http://www.xiph.org/ao/
  8. Source: http://downloads.xiph.org/releases/ao/libao-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: perl audiofile esound-devel >= 0.2.8 arts-devel >= 1:1.1
  11. BuildRequires: glib2-devel alsa-lib-devel pulseaudio-libs-devel
  12. %description
  13. Libao is a cross-platform audio library that allows programs to output
  14. audio using a simple API on a wide variety of platforms. It currently
  15. supports:
  16. * Null output
  17. * WAV files
  18. * OSS (Open Sound System)
  19. * ESD (ESounD or Enlightened Sound Daemon)
  20. * ALSA (Advanced Linux Sound Architecture)
  21. * pulseaudio (next generation GNOME sound server)
  22. * AIX
  23. * Solaris (untested)
  24. * IRIX (untested)
  25. This package provides plug-ins for OSS, ESD, ALSA, PulseAudio and aRts.
  26. You will need to install the supporting libraries for any plug-ins you
  27. want to use in order for them to work.
  28. %package devel
  29. Summary: Cross Platform Audio Output Library Development.
  30. Group: Development/Libraries
  31. Requires: libao = %{version}-%{release}
  32. %description devel
  33. The libao-devel package contains the header files, static libraries and
  34. documentation needed to develop applications with libao.
  35. %prep
  36. %setup -q
  37. perl -p -i -e "s/-O20/$RPM_OPT_FLAGS/" configure
  38. perl -p -i -e "s/-ffast-math//" configure
  39. %build
  40. %configure --disable-broken-oss
  41. make
  42. %install
  43. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  44. make DESTDIR=$RPM_BUILD_ROOT install
  45. rm doc/Makefile*
  46. rm $RPM_BUILD_ROOT%{_libdir}/lib*.la
  47. %files
  48. %defattr(-,root,root)
  49. %doc AUTHORS CHANGES COPYING README
  50. %{_libdir}/libao.so.*
  51. %{_libdir}/ao/*/*.so
  52. %{_mandir}/man5/*
  53. %files devel
  54. %defattr(-,root,root)
  55. %doc doc/*
  56. %{_includedir}/ao
  57. %{_libdir}/libao.so
  58. #{_libdir}/libao.la
  59. %{_libdir}/ao/*/*.la
  60. %{_libdir}/pkgconfig/*.pc
  61. %{_datadir}/aclocal/ao.m4
  62. %clean
  63. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  64. %post -p /sbin/ldconfig
  65. %postun -p /sbin/ldconfig
  66. %changelog
  67. * Fri Aug 14 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.8-2
  68. - remove all Requires:
  69. * Mon Sep 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.8-1
  70. - applied new versioning policy
  71. - rebuilt with pulseaudio
  72. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.8-0vl1
  73. - new upstream release
  74. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.6-0vl2
  75. - rebuild with new toolchain
  76. * Thu Jul 21 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.6-0vl1
  77. - new upstream release
  78. - remove --disable-alsa --disable-alsa09 from configure option
  79. - add BuildPrereq: alsa-lib-devel and Requires: alsa-lib
  80. - add --disable-broken-oss to configure option
  81. - update %%description and %%files
  82. - update source-URL
  83. * Mon Oct 18 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8.5-0vl1
  84. - source upgrade
  85. - update URLs
  86. - add BuildPrereq: glib2-devel, Requires: glib2
  87. - s/Copyright/License/
  88. * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.4-0vl2
  89. - rebuild for VineSeedPlus
  90. * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.4-0vl1
  91. - source upgrade
  92. - build for VinePlus/2.6
  93. - add %%{_libdir}/pkgconfig/*.pc to devel package
  94. * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.3-0vl3
  95. - rebuild with new toolchain
  96. * Sun Jan 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.3-0vl2
  97. - rebuild with new toolchain
  98. * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.3-0vl1
  99. - source upgrade
  100. - add --disable-alsa --disable-alsa09 to %configure option
  101. - remove Patch and Source1
  102. - change BuildPrereq: kdelibs-sound-devel -> arts-devel >= 1:1.0.3
  103. - update %description and %description devel
  104. - add BuildPrereq: perl audiofile esound-devel >= 0.2.8
  105. - add static libraries to -devel package
  106. - add PreReq: ldconfig
  107. - add Requires: arts audiofile esound
  108. * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.8.2-1vl1
  109. - build for VineSeed
  110. * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com>
  111. - update to 0.8.2
  112. * Tue Aug 14 2001 Bill Nottingham <notting@redhat.com>
  113. - update to 0.8.0
  114. * Fri Jul 20 2001 Bill Nottingham <notting@redhat.com>
  115. - split this off from the vorbis package, as something else now requires it
  116. * Tue Jul 10 2001 Bill Nottingham <notting@redhat.com>
  117. - own %%{_libdir}/ao
  118. - I love libtool
  119. * Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  120. - add links from library major version numbers in rpms
  121. * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
  122. - update to rc1
  123. * Fri May 4 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
  124. - fixed perl line in spec file to set optims correctly
  125. * Tue Mar 20 2001 Bill Nottingham <notting@redhat.com>
  126. - fix alpha/ia64, again
  127. - use optflags, not -O20 -ffast-math (especially on alpha...)
  128. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  129. - fix license tag
  130. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  131. - beta4
  132. * Fri Feb 9 2001 Bill Nottingham <notting@redhat.com>
  133. - fix alpha/ia64
  134. * Thu Feb 8 2001 Bill Nottingham <notting@redhat.com>
  135. - update CVS in prep for beta4
  136. * Wed Feb 07 2001 Philipp Knirsch <pknirsch@redhat.de>
  137. - Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if
  138. none was specified.
  139. * Tue Jan 9 2001 Bill Nottingham <notting@redhat.com>
  140. - update CVS, grab aRts backend for libao
  141. * Thu Dec 27 2000 Bill Nottingham <notting@redhat.com>
  142. - update CVS
  143. * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
  144. - rebuild because of broken fileutils
  145. * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
  146. - hack up specfile some, merge some packages
  147. * Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
  148. - initial spec file created