alsa-plugins-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
  2. Name: alsa-plugins
  3. Version: 1.2.2
  4. Release: 1%{?_dist_release}
  5. Group: system
  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
  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
  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
  55. License: LGPLv2+
  56. BuildRequires: pulseaudio-lib-devel
  57. Requires: alsa-lib
  58. Requires: pulseaudio
  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
  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
  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
  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
  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
  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
  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
  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. %clean
  151. rm -rf $RPM_BUILD_ROOT
  152. %post -p /sbin/ldconfig
  153. %postun -p /sbin/ldconfig
  154. %files jack
  155. %defattr(-,root,root,-)
  156. %license COPYING COPYING.GPL
  157. %doc doc/README-jack
  158. %config(noreplace) %{_sysconfdir}/alsa/conf.d/50-jack.conf
  159. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-jack.conf
  160. %{_libdir}/alsa-lib/libasound_module_pcm_jack.so
  161. %files oss
  162. %defattr(-,root,root,-)
  163. %license COPYING COPYING.GPL
  164. %doc doc/README-pcm-oss
  165. %config(noreplace) %{_sysconfdir}/alsa/conf.d/50-oss.conf
  166. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-oss.conf
  167. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-pcm-oss.conf
  168. %{_libdir}/alsa-lib/libasound_module_ctl_oss.so
  169. %{_libdir}/alsa-lib/libasound_module_pcm_oss.so
  170. %files pulseaudio
  171. %defattr(-,root,root,-)
  172. %license COPYING COPYING.GPL
  173. %doc doc/README-pulse
  174. %config(noreplace) %{_sysconfdir}/alsa/conf.d/50-pulseaudio.conf
  175. %{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf.example
  176. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf
  177. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
  178. %{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
  179. %{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
  180. %{_libdir}/alsa-lib/libasound_module_conf_pulse.so
  181. %files samplerate
  182. %defattr(-,root,root,-)
  183. %license COPYING COPYING.GPL
  184. %doc doc/samplerate.txt
  185. %config(noreplace) %{_sysconfdir}/alsa/conf.d/10-samplerate.conf
  186. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/10-samplerate.conf
  187. %{_libdir}/alsa-lib/libasound_module_rate_samplerate.so
  188. %{_libdir}/alsa-lib/libasound_module_rate_samplerate_best.so
  189. %{_libdir}/alsa-lib/libasound_module_rate_samplerate_linear.so
  190. %{_libdir}/alsa-lib/libasound_module_rate_samplerate_medium.so
  191. %{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so
  192. %files upmix
  193. %defattr(-,root,root,-)
  194. %license COPYING COPYING.GPL
  195. %doc doc/upmix.txt
  196. %config(noreplace) %{_sysconfdir}/alsa/conf.d/60-upmix.conf
  197. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-upmix.conf
  198. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/60-upmix.conf
  199. %{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
  200. %files vdownmix
  201. %defattr(-,root,root,-)
  202. %license COPYING COPYING.GPL
  203. %doc doc/vdownmix.txt
  204. %config(noreplace) %{_sysconfdir}/alsa/conf.d/60-vdownmix.conf
  205. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/60-vdownmix.conf
  206. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/97-vdownmix.conf
  207. %{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
  208. %files usbstream
  209. %defattr(-,root,root,-)
  210. %license COPYING COPYING.GPL
  211. %config(noreplace) %{_sysconfdir}/alsa/conf.d/98-usb-stream.conf
  212. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/98-usb-stream.conf
  213. %{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so
  214. %files arcamav
  215. %defattr(-,root,root,-)
  216. %license COPYING COPYING.GPL
  217. %doc doc/README-arcam-av
  218. %config(noreplace) %{_sysconfdir}/alsa/conf.d/50-arcam-av-ctl.conf
  219. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-arcamav.conf
  220. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-arcam-av-ctl.conf
  221. %{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
  222. %files speex
  223. %defattr(-,root,root,-)
  224. %license COPYING COPYING.GPL
  225. %doc doc/speexdsp.txt doc/speexrate.txt
  226. %config(noreplace) %{_sysconfdir}/alsa/conf.d/10-speexrate.conf
  227. %config(noreplace) %{_sysconfdir}/alsa/conf.d/60-speex.conf
  228. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/10-speex.conf
  229. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/10-speexrate.conf
  230. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/60-speex.conf
  231. %{_libdir}/alsa-lib/libasound_module_pcm_speex.so
  232. %{_libdir}/alsa-lib/libasound_module_rate_speexrate.so
  233. %{_libdir}/alsa-lib/libasound_module_rate_speexrate_best.so
  234. %{_libdir}/alsa-lib/libasound_module_rate_speexrate_medium.so
  235. %files maemo
  236. %defattr(-,root,root,-)
  237. %license COPYING COPYING.GPL
  238. %doc doc/README-maemo
  239. %config(noreplace) %{_sysconfdir}/alsa/conf.d/98-maemo.conf
  240. %config(noreplace) %{_datadir}/alsa/alsa.conf.d/98-maemo.conf
  241. %{_libdir}/alsa-lib/libasound_module_ctl_dsp_ctl.so
  242. %{_libdir}/alsa-lib/libasound_module_pcm_alsa_dsp.so
  243. %changelog
  244. * Fri Oct 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.2-1
  245. - new upstream release.
  246. * Fri Oct 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.9-1
  247. - new upstream release.
  248. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  249. - new upstream release
  250. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.29-1
  251. - new upstream release
  252. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.28-1
  253. - new upstream release
  254. - add BuildRequires (libuuid-devel)
  255. * Fri Jul 12 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.27-1
  256. - new upstream release
  257. - rebuild with pulseaudio-4.0
  258. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.26-1
  259. - new upstream release
  260. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.25-1
  261. - new upstream release
  262. - replace SOURCE1,2,3,4,5,6,8,9 from fedora
  263. - replace SOURCE7 (99-pulseaudio-default.conf)
  264. - remove old patches
  265. * Fri May 28 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.23-1
  266. - new upstream release
  267. * Thu Dec 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-1
  268. - new upstream release
  269. * Thu Oct 8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.21-1
  270. - new upstream release
  271. - add speex and maemo subpackages
  272. * Thu Jul 2 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.20-1
  273. - new upstream release
  274. - add arcam-av and usbstream subpackages
  275. * Tue Mar 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.19-1
  276. - new upstream release
  277. * Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.18-1
  278. - new upstream release
  279. - update Patch3
  280. - drop Patch4 and Patch5 since they are merged into upstream
  281. * Sun Sep 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-2
  282. - rebuild with pulseaudio-0.9.11
  283. * Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-1
  284. - initial build for Vine Linux
  285. * Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-1
  286. - Updated to 1.0.17
  287. * Tue Mar 25 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-4
  288. - Kind of fix the plugins not to complain about the hints
  289. * Wed Mar 19 2008 Eric Moret <eric.moret@gmail.com> - 1.0.16-3
  290. - Fixing jack.conf (#435343)
  291. * Sun Mar 09 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-2
  292. - Add descriptions to various PCM plugins, so they're visible in aplay -L
  293. * Sat Mar 08 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-1
  294. - New upstream, dropping upstreamed patches
  295. - Do not assert fail when pulseaudio is unavailable (#435148)
  296. * Tue Mar 04 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.15-4
  297. - Be more heplful when there's PulseAudio trouble.
  298. - This may save us some bogus bug reports
  299. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.15-3
  300. - Autorebuild for GCC 4.3
  301. * Fri Jan 18 2008 Eric Moret <eric.moret@epita.fr> - 1.0.15-2
  302. - Update to upstream 1.0.15 (#429249)
  303. - Add "Requires: pulseaudio" to alsa-plugins-pulseaudio (#368891)
  304. - Fix pulse_hw_params() when state is SND_PCM_STATE_PREPARED (#428030)
  305. - run /sbin/ldconfig on post and postun macros
  306. * Thu Oct 18 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-6
  307. - Merge the whole /etc/alsa/pcm/pulseaudio.conf stuff into
  308. /etc/alsa/pulse-default.conf, because the former is practically
  309. always ignored, since it is not referenced for inclusion by any other
  310. configuration file fragment (#251943)
  311. The other fragments installed in /etc/alsa/pcm/ are useless, too. But
  312. since we are in a freeze and they are not that important, I am not fixing
  313. this now.
  314. * Wed Oct 17 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-5
  315. - Split pulse.conf into two, so that we can load one part from
  316. form /etc/alsa/alsa.conf. (#251943)
  317. * Mon Oct 1 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-4
  318. - In the pulse plugin: reflect the XRUN state back to the application.
  319. Makes XMMS work on top of the alsa plugin. (#307341)
  320. * Mon Sep 24 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-3
  321. - Change PulseAudio buffering defaults to more sane values
  322. * Tue Aug 14 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-2
  323. - Adding pulse as ALSA "default" pcm and ctl when the alsa-plugins-pulseaudio
  324. package is installed, fixing #251943.
  325. * Mon Jul 23 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-1
  326. - update to upstream 1.0.14
  327. - use configure --without-speex instead of patches to remove a52
  328. * Tue Mar 13 2007 Matej Cepl <mcepl@redhat.com> - 1.0.14-0.3.rc2
  329. - Really remove a52 plugin package (including changes in
  330. configure and configure.in)
  331. * Thu Feb 15 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.2.rc2
  332. - Adding configuration files
  333. - Removing a52 plugin package
  334. * Wed Jan 10 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.1.rc2
  335. - Initial package for Fedora