alsa-plugins-vl.spec 12 KB

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