libao-vl.spec 6.3 KB

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