libao-vl.spec 6.5 KB

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