libao-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. Summary: Cross Platform Audio Output Library.
  2. Name: libao
  3. Version: 0.8.8
  4. Release: 3%{?_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. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.8-3
  68. - rebuild with rpm-4.8.1 for pkg-config file
  69. * Fri Aug 14 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.8-2
  70. - remove all Requires:
  71. * Mon Sep 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.8-1
  72. - applied new versioning policy
  73. - rebuilt with pulseaudio
  74. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.8-0vl1
  75. - new upstream release
  76. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.6-0vl2
  77. - rebuild with new toolchain
  78. * Thu Jul 21 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.6-0vl1
  79. - new upstream release
  80. - remove --disable-alsa --disable-alsa09 from configure option
  81. - add BuildPrereq: alsa-lib-devel and Requires: alsa-lib
  82. - add --disable-broken-oss to configure option
  83. - update %%description and %%files
  84. - update source-URL
  85. * Mon Oct 18 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8.5-0vl1
  86. - source upgrade
  87. - update URLs
  88. - add BuildPrereq: glib2-devel, Requires: glib2
  89. - s/Copyright/License/
  90. * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.4-0vl2
  91. - rebuild for VineSeedPlus
  92. * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.4-0vl1
  93. - source upgrade
  94. - build for VinePlus/2.6
  95. - add %%{_libdir}/pkgconfig/*.pc to devel package
  96. * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.3-0vl3
  97. - rebuild with new toolchain
  98. * Sun Jan 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.3-0vl2
  99. - rebuild with new toolchain
  100. * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.8.3-0vl1
  101. - source upgrade
  102. - add --disable-alsa --disable-alsa09 to %configure option
  103. - remove Patch and Source1
  104. - change BuildPrereq: kdelibs-sound-devel -> arts-devel >= 1:1.0.3
  105. - update %description and %description devel
  106. - add BuildPrereq: perl audiofile esound-devel >= 0.2.8
  107. - add static libraries to -devel package
  108. - add PreReq: ldconfig
  109. - add Requires: arts audiofile esound
  110. * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.8.2-1vl1
  111. - build for VineSeed
  112. * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com>
  113. - update to 0.8.2
  114. * Tue Aug 14 2001 Bill Nottingham <notting@redhat.com>
  115. - update to 0.8.0
  116. * Fri Jul 20 2001 Bill Nottingham <notting@redhat.com>
  117. - split this off from the vorbis package, as something else now requires it
  118. * Tue Jul 10 2001 Bill Nottingham <notting@redhat.com>
  119. - own %%{_libdir}/ao
  120. - I love libtool
  121. * Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  122. - add links from library major version numbers in rpms
  123. * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
  124. - update to rc1
  125. * Fri May 4 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
  126. - fixed perl line in spec file to set optims correctly
  127. * Tue Mar 20 2001 Bill Nottingham <notting@redhat.com>
  128. - fix alpha/ia64, again
  129. - use optflags, not -O20 -ffast-math (especially on alpha...)
  130. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  131. - fix license tag
  132. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  133. - beta4
  134. * Fri Feb 9 2001 Bill Nottingham <notting@redhat.com>
  135. - fix alpha/ia64
  136. * Thu Feb 8 2001 Bill Nottingham <notting@redhat.com>
  137. - update CVS in prep for beta4
  138. * Wed Feb 07 2001 Philipp Knirsch <pknirsch@redhat.de>
  139. - Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if
  140. none was specified.
  141. * Tue Jan 9 2001 Bill Nottingham <notting@redhat.com>
  142. - update CVS, grab aRts backend for libao
  143. * Thu Dec 27 2000 Bill Nottingham <notting@redhat.com>
  144. - update CVS
  145. * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
  146. - rebuild because of broken fileutils
  147. * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
  148. - hack up specfile some, merge some packages
  149. * Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
  150. - initial spec file created