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