libao-vl.spec 5.7 KB

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