alsa-plugins-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. Name: alsa-plugins
  2. Version: 1.1.1
  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. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  212. - new upstream release
  213. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.29-1
  214. - new upstream release
  215. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.28-1
  216. - new upstream release
  217. - add BuildRequires (libuuid-devel)
  218. * Fri Jul 12 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.27-1
  219. - new upstream release
  220. - rebuild with pulseaudio-4.0
  221. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.26-1
  222. - new upstream release
  223. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.25-1
  224. - new upstream release
  225. - replace SOURCE1,2,3,4,5,6,8,9 from fedora
  226. - replace SOURCE7 (99-pulseaudio-default.conf)
  227. - remove old patches
  228. * Fri May 28 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.23-1
  229. - new upstream release
  230. * Thu Dec 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-1
  231. - new upstream release
  232. * Thu Oct 8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.21-1
  233. - new upstream release
  234. - add speex and maemo subpackages
  235. * Thu Jul 2 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.20-1
  236. - new upstream release
  237. - add arcam-av and usbstream subpackages
  238. * Tue Mar 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.19-1
  239. - new upstream release
  240. * Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.18-1
  241. - new upstream release
  242. - update Patch3
  243. - drop Patch4 and Patch5 since they are merged into upstream
  244. * Sun Sep 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-2
  245. - rebuild with pulseaudio-0.9.11
  246. * Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-1
  247. - initial build for Vine Linux
  248. * Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-1
  249. - Updated to 1.0.17
  250. * Tue Mar 25 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-4
  251. - Kind of fix the plugins not to complain about the hints
  252. * Wed Mar 19 2008 Eric Moret <eric.moret@gmail.com> - 1.0.16-3
  253. - Fixing jack.conf (#435343)
  254. * Sun Mar 09 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-2
  255. - Add descriptions to various PCM plugins, so they're visible in aplay -L
  256. * Sat Mar 08 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-1
  257. - New upstream, dropping upstreamed patches
  258. - Do not assert fail when pulseaudio is unavailable (#435148)
  259. * Tue Mar 04 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.15-4
  260. - Be more heplful when there's PulseAudio trouble.
  261. - This may save us some bogus bug reports
  262. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.15-3
  263. - Autorebuild for GCC 4.3
  264. * Fri Jan 18 2008 Eric Moret <eric.moret@epita.fr> - 1.0.15-2
  265. - Update to upstream 1.0.15 (#429249)
  266. - Add "Requires: pulseaudio" to alsa-plugins-pulseaudio (#368891)
  267. - Fix pulse_hw_params() when state is SND_PCM_STATE_PREPARED (#428030)
  268. - run /sbin/ldconfig on post and postun macros
  269. * Thu Oct 18 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-6
  270. - Merge the whole /etc/alsa/pcm/pulseaudio.conf stuff into
  271. /etc/alsa/pulse-default.conf, because the former is practically
  272. always ignored, since it is not referenced for inclusion by any other
  273. configuration file fragment (#251943)
  274. The other fragments installed in /etc/alsa/pcm/ are useless, too. But
  275. since we are in a freeze and they are not that important, I am not fixing
  276. this now.
  277. * Wed Oct 17 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-5
  278. - Split pulse.conf into two, so that we can load one part from
  279. form /etc/alsa/alsa.conf. (#251943)
  280. * Mon Oct 1 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-4
  281. - In the pulse plugin: reflect the XRUN state back to the application.
  282. Makes XMMS work on top of the alsa plugin. (#307341)
  283. * Mon Sep 24 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-3
  284. - Change PulseAudio buffering defaults to more sane values
  285. * Tue Aug 14 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-2
  286. - Adding pulse as ALSA "default" pcm and ctl when the alsa-plugins-pulseaudio
  287. package is installed, fixing #251943.
  288. * Mon Jul 23 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-1
  289. - update to upstream 1.0.14
  290. - use configure --without-speex instead of patches to remove a52
  291. * Tue Mar 13 2007 Matej Cepl <mcepl@redhat.com> - 1.0.14-0.3.rc2
  292. - Really remove a52 plugin package (including changes in
  293. configure and configure.in)
  294. * Thu Feb 15 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.2.rc2
  295. - Adding configuration files
  296. - Removing a52 plugin package
  297. * Wed Jan 10 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.1.rc2
  298. - Initial package for Fedora