alsa-plugins-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. Name: alsa-plugins
  2. Version: 1.0.23
  3. Release: 1%{?_dist_release}
  4. Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
  5. # All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
  6. License: GPLv2+ and LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://www.alsa-project.org/
  9. Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
  10. Source1: jack.conf
  11. Source2: pcm-oss.conf
  12. Source3: speex.conf
  13. Source4: samplerate.conf
  14. Source5: upmix.conf
  15. Source6: vdownmix.conf
  16. Source7: pulse-default.conf
  17. Source8: arcamav.conf
  18. Source9: maemo.conf
  19. Patch3: alsa-plugins-1.0.18-pulsehint.patch
  20. Patch4: alsa-plugins-1.0.17-pulsenoassert.patch
  21. Patch5: alsa-plugins-1.0.17-pulsetrigger.patch
  22. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  23. BuildRequires: alsa-lib-devel >= %{version}
  24. %description
  25. The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
  26. functionality to the Linux operating system.
  27. This package includes plugins for ALSA.
  28. %package jack
  29. Requires: jack-audio-connection-kit
  30. BuildRequires: jack-audio-connection-kit-devel
  31. Summary: Jack PCM output plugin for ALSA
  32. Group: System Environment/Libraries
  33. License: LGPLv2+
  34. %description jack
  35. This plugin converts the ALSA API over JACK (Jack Audio Connection
  36. Kit, http://jackit.sf.net) API. ALSA native applications can work
  37. transparently together with jackd for both playback and capture.
  38. ALSA apps (playback) -> ALSA-lib -> JACK plugin -> JACK daemon
  39. ALSA apps (capture) <- ALSA-lib <- JACK plugin <- JACK daemon
  40. This plugin provides the PCM type "jack"
  41. %package oss
  42. Summary: Oss PCM output plugin for ALSA
  43. Group: System Environment/Libraries
  44. License: LGPLv2+
  45. %description oss
  46. This plugin converts the ALSA API over OSS API. With this plugin,
  47. ALSA native apps can run on OSS drivers.
  48. This plugin provides the PCM type "oss".
  49. %package pulseaudio
  50. BuildRequires: pulseaudio-lib-devel
  51. Requires: pulseaudio
  52. Summary: Alsa to PulseAudio backend
  53. Group: System Environment/Libraries
  54. License: LGPLv2+
  55. %description pulseaudio
  56. This plugin allows any program that uses the ALSA API to access a PulseAudio
  57. sound daemon. In other words, native ALSA applications can play and record
  58. sound across a network. There are two plugins in the suite, one for PCM and
  59. one for mixer control.
  60. %package samplerate
  61. BuildRequires: libsamplerate-devel
  62. Summary: External rate converter plugin for ALSA
  63. Group: System Environment/Libraries
  64. License: GPLv2+
  65. %description samplerate
  66. This plugin is an external rate converter using libsamplerate by Erik de
  67. Castro Lopo.
  68. %package upmix
  69. BuildRequires: libsamplerate-devel
  70. Summary: Upmixer channel expander plugin for ALSA
  71. Group: System Environment/Libraries
  72. License: LGPLv2+
  73. %description upmix
  74. The upmix plugin is an easy-to-use plugin for upmixing to 4 or
  75. 6-channel stream. The number of channels to be expanded is determined
  76. by the slave PCM or explicitly via channel option.
  77. %package vdownmix
  78. BuildRequires: libsamplerate-devel
  79. Summary: Downmixer to stereo plugin for ALSA
  80. Group: System Environment/Libraries
  81. License: LGPLv2+
  82. %description vdownmix
  83. The vdownmix plugin is a downmixer from 4-6 channels to 2-channel
  84. stereo headphone output. This plugin processes the input signals with
  85. a simple spacialization, so the output sounds like a kind of "virtual
  86. surround".
  87. %package usbstream
  88. Summary: USB stream plugin for ALSA
  89. Group: System Environment/Libraries
  90. License: LGPLv2+
  91. %description usbstream
  92. The usbstream plugin is for snd-usb-us122l driver. It converts PCM
  93. stream to USB specific stream.
  94. %package arcamav
  95. Summary: Arcam AV amplifier plugin for ALSA
  96. Group: System Environment/Libraries
  97. License: LGPLv2+
  98. %description arcamav
  99. This plugin exposes the controls for an Arcam AV amplifier
  100. (see: http://www.arcam.co.uk/) as an ALSA mixer device.
  101. %package speex
  102. Requires: speex
  103. BuildRequires: speex-devel
  104. Summary: Rate Converter Plugin Using Speex Resampler
  105. Group: System Environment/Libraries
  106. License: LGPLv2+
  107. %description speex
  108. The rate plugin is an external rate converter using the Speex resampler
  109. (aka Public Parrot Hack) by Jean-Marc Valin. The pcm plugin provides
  110. pre-processing of a mono stream like denoise using libspeex DSP API.
  111. %package maemo
  112. BuildRequires: dbus-devel
  113. Summary: Maemo plugin for ALSA
  114. Group: System Environment/Libraries
  115. License: LGPLv2+
  116. %description maemo
  117. This plugin converts the ALSA API over PCM task nodes protocol. In this way,
  118. ALSA native applications can run over DSP Gateway and use DSP PCM task nodes.
  119. %prep
  120. %setup -q -n %{name}-%{version}
  121. %patch3 -p1 -b .pulsehint
  122. #%patch4 -p1 -b .pulsenoassert
  123. #%patch5 -p1 -b .pulsetrigger
  124. %build
  125. %configure --disable-static \
  126. --with-speex=lib \
  127. --enable-maemo-plugin \
  128. --enable-maemo-resource-manager
  129. make %{?_smp_mflags}
  130. %install
  131. rm -rf $RPM_BUILD_ROOT
  132. make install DESTDIR=$RPM_BUILD_ROOT
  133. install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
  134. install -m 644 %SOURCE1 %SOURCE2 \
  135. %SOURCE3 %SOURCE4 %SOURCE5 \
  136. %SOURCE6 %SOURCE8 %SOURCE9 \
  137. ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
  138. # pulseaudio configuration file
  139. install -m 644 %SOURCE7 \
  140. ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa
  141. find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
  142. %clean
  143. rm -rf $RPM_BUILD_ROOT
  144. %post -p /sbin/ldconfig
  145. %postun -p /sbin/ldconfig
  146. %files jack
  147. %defattr(-,root,root,-)
  148. %doc COPYING COPYING.GPL doc/README-jack
  149. %config(noreplace) %{_sysconfdir}/alsa/pcm/jack.conf
  150. %{_libdir}/alsa-lib/libasound_module_pcm_jack.so
  151. %files oss
  152. %defattr(-,root,root,-)
  153. %doc COPYING COPYING.GPL doc/README-pcm-oss
  154. %config(noreplace) %{_sysconfdir}/alsa/pcm/pcm-oss.conf
  155. %{_libdir}/alsa-lib/libasound_module_ctl_oss.so
  156. %{_libdir}/alsa-lib/libasound_module_pcm_oss.so
  157. %files pulseaudio
  158. %defattr(-,root,root,-)
  159. %doc COPYING COPYING.GPL doc/README-pulse
  160. %config(noreplace) %{_sysconfdir}/alsa/pulse-default.conf
  161. %{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
  162. %{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
  163. %{_libdir}/alsa-lib/libasound_module_conf_pulse.so
  164. %files samplerate
  165. %defattr(-,root,root,-)
  166. %doc COPYING COPYING.GPL doc/samplerate.txt
  167. %config(noreplace) %{_sysconfdir}/alsa/pcm/samplerate.conf
  168. %{_libdir}/alsa-lib/libasound_module_rate_samplerate.so
  169. %{_libdir}/alsa-lib/libasound_module_rate_samplerate_best.so
  170. %{_libdir}/alsa-lib/libasound_module_rate_samplerate_linear.so
  171. %{_libdir}/alsa-lib/libasound_module_rate_samplerate_medium.so
  172. %{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so
  173. %files upmix
  174. %defattr(-,root,root,-)
  175. %doc COPYING COPYING.GPL doc/upmix.txt
  176. %config(noreplace) %{_sysconfdir}/alsa/pcm/upmix.conf
  177. %{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
  178. %files vdownmix
  179. %defattr(-,root,root,-)
  180. %doc COPYING COPYING.GPL doc/vdownmix.txt
  181. %config(noreplace) %{_sysconfdir}/alsa/pcm/vdownmix.conf
  182. %{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
  183. %files usbstream
  184. %defattr(-,root,root,-)
  185. %doc COPYING COPYING.GPL
  186. %{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so
  187. %files arcamav
  188. %defattr(-,root,root,-)
  189. %doc COPYING COPYING.GPL doc/README-arcam-av
  190. %config(noreplace) %{_sysconfdir}/alsa/pcm/arcamav.conf
  191. %{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
  192. %files speex
  193. %defattr(-,root,root,-)
  194. %doc COPYING COPYING.GPL doc/speexdsp.txt doc/speexrate.txt
  195. %config(noreplace) %{_sysconfdir}/alsa/pcm/speex.conf
  196. %{_libdir}/alsa-lib/libasound_module_pcm_speex.so
  197. %{_libdir}/alsa-lib/libasound_module_rate_speexrate.so
  198. %{_libdir}/alsa-lib/libasound_module_rate_speexrate_best.so
  199. %{_libdir}/alsa-lib/libasound_module_rate_speexrate_medium.so
  200. %files maemo
  201. %defattr(-,root,root,-)
  202. %doc COPYING COPYING.GPL doc/README-maemo
  203. %config(noreplace) %{_sysconfdir}/alsa/pcm/maemo.conf
  204. %{_libdir}/alsa-lib/libasound_module_ctl_dsp_ctl.so
  205. %{_libdir}/alsa-lib/libasound_module_pcm_alsa_dsp.so
  206. %changelog
  207. * Fri May 28 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.23-1
  208. - new upstream release
  209. * Thu Dec 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-1
  210. - new upstream release
  211. * Thu Oct 8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.21-1
  212. - new upstream release
  213. - add speex and maemo subpackages
  214. * Thu Jul 2 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.20-1
  215. - new upstream release
  216. - add arcam-av and usbstream subpackages
  217. * Tue Mar 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.19-1
  218. - new upstream release
  219. * Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.18-1
  220. - new upstream release
  221. - update Patch3
  222. - drop Patch4 and Patch5 since they are merged into upstream
  223. * Sun Sep 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-2
  224. - rebuild with pulseaudio-0.9.11
  225. * Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-1
  226. - initial build for Vine Linux
  227. * Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-1
  228. - Updated to 1.0.17
  229. * Tue Mar 25 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-4
  230. - Kind of fix the plugins not to complain about the hints
  231. * Wed Mar 19 2008 Eric Moret <eric.moret@gmail.com> - 1.0.16-3
  232. - Fixing jack.conf (#435343)
  233. * Sun Mar 09 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-2
  234. - Add descriptions to various PCM plugins, so they're visible in aplay -L
  235. * Sat Mar 08 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-1
  236. - New upstream, dropping upstreamed patches
  237. - Do not assert fail when pulseaudio is unavailable (#435148)
  238. * Tue Mar 04 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.15-4
  239. - Be more heplful when there's PulseAudio trouble.
  240. - This may save us some bogus bug reports
  241. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.15-3
  242. - Autorebuild for GCC 4.3
  243. * Fri Jan 18 2008 Eric Moret <eric.moret@epita.fr> - 1.0.15-2
  244. - Update to upstream 1.0.15 (#429249)
  245. - Add "Requires: pulseaudio" to alsa-plugins-pulseaudio (#368891)
  246. - Fix pulse_hw_params() when state is SND_PCM_STATE_PREPARED (#428030)
  247. - run /sbin/ldconfig on post and postun macros
  248. * Thu Oct 18 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-6
  249. - Merge the whole /etc/alsa/pcm/pulseaudio.conf stuff into
  250. /etc/alsa/pulse-default.conf, because the former is practically
  251. always ignored, since it is not referenced for inclusion by any other
  252. configuration file fragment (#251943)
  253. The other fragments installed in /etc/alsa/pcm/ are useless, too. But
  254. since we are in a freeze and they are not that important, I am not fixing
  255. this now.
  256. * Wed Oct 17 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-5
  257. - Split pulse.conf into two, so that we can load one part from
  258. form /etc/alsa/alsa.conf. (#251943)
  259. * Mon Oct 1 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-4
  260. - In the pulse plugin: reflect the XRUN state back to the application.
  261. Makes XMMS work on top of the alsa plugin. (#307341)
  262. * Mon Sep 24 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-3
  263. - Change PulseAudio buffering defaults to more sane values
  264. * Tue Aug 14 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-2
  265. - Adding pulse as ALSA "default" pcm and ctl when the alsa-plugins-pulseaudio
  266. package is installed, fixing #251943.
  267. * Mon Jul 23 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-1
  268. - update to upstream 1.0.14
  269. - use configure --without-speex instead of patches to remove a52
  270. * Tue Mar 13 2007 Matej Cepl <mcepl@redhat.com> - 1.0.14-0.3.rc2
  271. - Really remove a52 plugin package (including changes in
  272. configure and configure.in)
  273. * Thu Feb 15 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.2.rc2
  274. - Adding configuration files
  275. - Removing a52 plugin package
  276. * Wed Jan 10 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.1.rc2
  277. - Initial package for Fedora