alsa-plugins-vl.spec 14 KB

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