libao-vl.spec 5.9 KB

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