alsa-plugins-vl.spec 14 KB

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