alsa-plugins-vl.spec 12 KB

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