Eric Moret d85bda
Name:           alsa-plugins
Eric Moret 50aa2d
Version:        1.0.20
Eric Moret 4c92e7
Release:        1%{?dist}
Eric Moret d85bda
Summary:        The Advanced Linux Sound Architecture (ALSA) Plugins
Eric Moret d85bda
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
Eric Moret d85bda
License:        GPLv2+ and LGPLv2+
Eric Moret d85bda
Group:          System Environment/Libraries
Eric Moret d85bda
URL:            http://www.alsa-project.org/
Eric Moret 554337
Source0:        ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
Eric Moret d85bda
Source1:        jack.conf
Eric Moret d85bda
Source2:        pcm-oss.conf
Eric Moret d85bda
Source4:        samplerate.conf
Eric Moret d85bda
Source5:        upmix.conf
Eric Moret d85bda
Source6:        vdownmix.conf
Eric Moret 512001
Source7:        pulse-default.conf
Eric Moret 50aa2d
Source8:        arcamav.conf
Eric Moret d85bda
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Eric Moret d85bda
Eric Moret d85bda
BuildRequires:  alsa-lib-devel
Eric Moret d85bda
Eric Moret d85bda
%description
Eric Moret d85bda
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
Eric Moret d85bda
functionality to the Linux operating system.
Eric Moret d85bda
Eric Moret d85bda
This package includes plugins for ALSA.
Eric Moret d85bda
Eric Moret d85bda
%package jack
Eric Moret 4c92e7
Requires:       jack-audio-connection-kit, alsa-utils
Eric Moret d85bda
BuildRequires:  jack-audio-connection-kit-devel
Eric Moret d85bda
Summary:        Jack PCM output plugin for ALSA
Eric Moret d85bda
Group:          System Environment/Libraries
Eric Moret d85bda
License:        LGPLv2+
Eric Moret d85bda
%description jack
Eric Moret d85bda
This plugin converts the ALSA API over JACK (Jack Audio Connection
Eric Moret d85bda
Kit, http://jackit.sf.net) API.  ALSA native applications can work
Eric Moret d85bda
transparently together with jackd for both playback and capture.
Eric Moret d85bda
Eric Moret d85bda
    ALSA apps (playback) -> ALSA-lib -> JACK plugin -> JACK daemon
Eric Moret d85bda
    ALSA apps (capture) <- ALSA-lib <- JACK plugin <- JACK daemon
Eric Moret d85bda
Eric Moret d85bda
This plugin provides the PCM type "jack"
Eric Moret d85bda
Eric Moret d85bda
%package oss
Eric Moret 4c92e7
Requires:       alsa-utils
Eric Moret d85bda
BuildRequires:  alsa-lib-devel
Eric Moret d85bda
Summary:        Oss PCM output plugin for ALSA
Eric Moret d85bda
Group:          System Environment/Libraries
Eric Moret d85bda
License:        LGPLv2+ 
Eric Moret d85bda
%description oss
Eric Moret d85bda
This plugin converts the ALSA API over OSS API.  With this plugin,
Eric Moret d85bda
ALSA native apps can run on OSS drivers.
Eric Moret d85bda
Eric Moret d85bda
This plugin provides the PCM type "oss".
Eric Moret d85bda
Eric Moret d85bda
%package pulseaudio
Eric Moret 4c92e7
Requires:       pulseaudio, alsa-utils
Eric Moret d85bda
BuildRequires:  pulseaudio-lib-devel
Eric Moret d85bda
Summary:        Alsa to PulseAudio backend
Eric Moret d85bda
Group:          System Environment/Libraries
Eric Moret d85bda
License:        LGPLv2+
Eric Moret d85bda
%description pulseaudio
Eric Moret d85bda
This plugin allows any program that uses the ALSA API to access a PulseAudio
Eric Moret d85bda
sound daemon. In other words, native ALSA applications can play and record
Eric Moret d85bda
sound across a network. There are two plugins in the suite, one for PCM and
Eric Moret d85bda
one for mixer control.
Eric Moret d85bda
Eric Moret d85bda
%package samplerate
Eric Moret 4c92e7
Requires:       alsa-utils
Eric Moret d85bda
BuildRequires:  libsamplerate-devel
Eric Moret d85bda
Summary:        External rate converter plugin for ALSA
Eric Moret d85bda
Group:          System Environment/Libraries
Eric Moret d85bda
License:        GPLv2+
Eric Moret d85bda
%description samplerate
Eric Moret d85bda
This plugin is an external rate converter using libsamplerate by Erik de
Eric Moret d85bda
Castro Lopo.
Eric Moret d85bda
Eric Moret d85bda
%package upmix
Eric Moret 4c92e7
Requires:       alsa-utils
Eric Moret d85bda
BuildRequires:  libsamplerate-devel
Eric Moret d85bda
Summary:        Upmixer channel expander plugin for ALSA
Eric Moret d85bda
Group:          System Environment/Libraries
Eric Moret d85bda
License:        LGPLv2+
Eric Moret d85bda
%description upmix
Eric Moret d85bda
The upmix plugin is an easy-to-use plugin for upmixing to 4 or
Eric Moret d85bda
6-channel stream.  The number of channels to be expanded is determined
Eric Moret d85bda
by the slave PCM or explicitly via channel option.
Eric Moret d85bda
Eric Moret d85bda
%package vdownmix
Eric Moret 4c92e7
Requires:       alsa-utils
Eric Moret d85bda
BuildRequires:  libsamplerate-devel
Eric Moret d85bda
Summary:        Downmixer to stereo plugin for ALSA
Eric Moret d85bda
Group:          System Environment/Libraries
Eric Moret d85bda
License:        LGPLv2+
Eric Moret d85bda
%description vdownmix
Eric Moret d85bda
The vdownmix plugin is a downmixer from 4-6 channels to 2-channel
Eric Moret d85bda
stereo headphone output.  This plugin processes the input signals with
Eric Moret d85bda
a simple spacialization, so the output sounds like a kind of "virtual
Eric Moret d85bda
surround".
Eric Moret d85bda
perex bcafbd
%package usbstream
perex bcafbd
Summary:        USB stream plugin for ALSA
perex bcafbd
Group:          System Environment/Libraries
perex bcafbd
License:        LGPLv2+
perex bcafbd
%description usbstream
perex bcafbd
The usbstream plugin is for snd-usb-us122l driver. It converts PCM
perex bcafbd
stream to USB specific stream.
perex bcafbd
Eric Moret 50aa2d
%package arcamav
Eric Moret 50aa2d
Summary:        Arcam AV amplifier plugin for ALSA
Eric Moret 50aa2d
Group:          System Environment/Libraries
Eric Moret 50aa2d
License:        LGPLv2+
Eric Moret 50aa2d
%description arcamav
Eric Moret 50aa2d
This plugin exposes the controls for an Arcam AV amplifier
Eric Moret 50aa2d
(see: http://www.arcam.co.uk/) as an ALSA mixer device.
Eric Moret 50aa2d
Eric Moret d85bda
%prep
perex bcafbd
%setup -q -n %{name}-%{version}%{?prever}
Eric Moret d85bda
Eric Moret d85bda
%build
Eric Moret d85bda
%configure --disable-static \
Eric Moret d85bda
           --without-speex
Eric Moret d85bda
make %{?_smp_mflags}
Eric Moret d85bda
Eric Moret d85bda
%install
Eric Moret d85bda
rm -rf $RPM_BUILD_ROOT
Eric Moret d85bda
make install DESTDIR=$RPM_BUILD_ROOT
Eric Moret d85bda
Eric Moret d85bda
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
Lennart Poettering c9f36c
install -m 644 %SOURCE1 %SOURCE2 \
Eric Moret 50aa2d
               %SOURCE4 %SOURCE5 \
Eric Moret 50aa2d
               %SOURCE6 %SOURCE8 \
Eric Moret 50aa2d
               ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
Lennart Poettering 92f135
install -m 644 %SOURCE7 \
Lennart Poettering 92f135
                   ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa
Eric Moret d85bda
Eric Moret d85bda
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
Eric Moret d85bda
Eric Moret d85bda
# Removing the maemo plugins
Eric Moret d85bda
find $RPM_BUILD_ROOT \( -name libasound_module_ctl_dsp_ctl.so -o \
Eric Moret d85bda
                        -name libasound_module_pcm_alsa_dsp.so \) -exec rm {} \;
Eric Moret d85bda
Eric Moret d85bda
%clean
Eric Moret d85bda
rm -rf $RPM_BUILD_ROOT
Eric Moret d85bda
Eric Moret 512001
%post -p /sbin/ldconfig
Eric Moret 512001
Eric Moret 512001
%postun -p /sbin/ldconfig
Eric Moret 512001
Eric Moret d85bda
%files jack
Eric Moret d85bda
%defattr(-,root,root,-)
Eric Moret d85bda
%doc COPYING COPYING.GPL doc/README-jack
Eric Moret 4c92e7
%dir %{_sysconfdir}/alsa/pcm
Eric Moret d85bda
%config(noreplace) %{_sysconfdir}/alsa/pcm/jack.conf
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_pcm_jack.so
Eric Moret d85bda
Eric Moret d85bda
%files oss
Eric Moret d85bda
%defattr(-,root,root,-)
Eric Moret d85bda
%doc COPYING COPYING.GPL doc/README-pcm-oss
Eric Moret 4c92e7
%dir %{_sysconfdir}/alsa/pcm
Eric Moret d85bda
%config(noreplace) %{_sysconfdir}/alsa/pcm/pcm-oss.conf
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_ctl_oss.so
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_pcm_oss.so
Eric Moret d85bda
Eric Moret d85bda
%files pulseaudio
Eric Moret d85bda
%defattr(-,root,root,-)
Eric Moret d85bda
%doc COPYING COPYING.GPL doc/README-pulse
Lennart Poettering 92f135
%config(noreplace) %{_sysconfdir}/alsa/pulse-default.conf
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
perex 140af3
%{_libdir}/alsa-lib/libasound_module_conf_pulse.so
Eric Moret d85bda
Eric Moret d85bda
%files samplerate
Eric Moret d85bda
%defattr(-,root,root,-)
Eric Moret d85bda
%doc COPYING COPYING.GPL doc/samplerate.txt
Eric Moret 4c92e7
%dir %{_sysconfdir}/alsa/pcm
Eric Moret d85bda
%config(noreplace) %{_sysconfdir}/alsa/pcm/samplerate.conf
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_rate_samplerate.so
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_best.so
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_linear.so
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_medium.so
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so
Eric Moret d85bda
Eric Moret d85bda
%files upmix
Eric Moret d85bda
%defattr(-,root,root,-)
Eric Moret d85bda
%doc COPYING COPYING.GPL doc/upmix.txt
Eric Moret 4c92e7
%dir %{_sysconfdir}/alsa/pcm
Eric Moret d85bda
%config(noreplace) %{_sysconfdir}/alsa/pcm/upmix.conf
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
Eric Moret d85bda
Eric Moret d85bda
%files vdownmix
Eric Moret d85bda
%defattr(-,root,root,-)
Eric Moret d85bda
%doc COPYING COPYING.GPL doc/vdownmix.txt
Eric Moret 4c92e7
%dir %{_sysconfdir}/alsa/pcm
Eric Moret d85bda
%config(noreplace) %{_sysconfdir}/alsa/pcm/vdownmix.conf
Eric Moret d85bda
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
Eric Moret d85bda
perex bcafbd
%files usbstream
perex bcafbd
%defattr(-,root,root,-)
perex bcafbd
%doc COPYING COPYING.GPL
perex bcafbd
%{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so
perex bcafbd
Eric Moret 50aa2d
%files arcamav
Eric Moret 50aa2d
%defattr(-,root,root,-)
Eric Moret 50aa2d
%doc COPYING COPYING.GPL doc/README-arcam-av
Eric Moret 50aa2d
%config(noreplace) %{_sysconfdir}/alsa/pcm/arcamav.conf
Eric Moret 50aa2d
%{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
Eric Moret 50aa2d
Eric Moret 50aa2d
Eric Moret d85bda
%changelog
Eric Moret 50aa2d
* Fri May 8 2009 Eric Moret <eric.moret@gmail.com> - 1.0.20-1
Eric Moret 50aa2d
- Updated to 1.0.20
Eric Moret 50aa2d
- Added arcam-av subpackage
Eric Moret 50aa2d
Eric Moret 4c92e7
* Fri Apr 24 2009 Eric Moret <eric.moret@gmail.com> - 1.0.19-1
Eric Moret 4c92e7
- Updated to 1.0.19
Eric Moret 4c92e7
- Added Requires: alsa-utils to address #483322
Eric Moret 4c92e7
- Added dir {_sysconfdir}/alsa/pcm to address #483322
Eric Moret 4c92e7
Jesse Keating 92b52f
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.18-3
Jesse Keating 92b52f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating 92b52f
Eric Moret 554337
* Sun Dec 28 2008 Eric Moret <eric.moret@gmail.com> - 1.0.18-2
Eric Moret 554337
- Updated to 1.0.18 final
Eric Moret 554337
perex bcafbd
* Thu Sep 11 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.18-1.rc3
perex bcafbd
- Updated to 1.0.18rc3
perex bcafbd
- Added usbstream subpackage
perex bcafbd
perex 680a45
* Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-1
perex 680a45
- Updated to 1.0.17
perex 680a45
Lubomir Rintel c2f95f
* Tue Mar 25 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-4
Lubomir Rintel c2f95f
- Kind of fix the plugins not to complain about the hints
Lubomir Rintel c2f95f
Eric Moret 94ce5a
* Wed Mar 19 2008 Eric Moret <eric.moret@gmail.com> - 1.0.16-3
Eric Moret 94ce5a
- Fixing jack.conf (#435343)
Eric Moret 94ce5a
Lubomir Rintel 1a7b88
* Sun Mar 09 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-2
Lubomir Rintel 1a7b88
- Add descriptions to various PCM plugins, so they're visible in aplay -L
Lubomir Rintel 1a7b88
Lubomir Rintel 811cb8
* Sat Mar 08 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-1
Lubomir Rintel 811cb8
- New upstream, dropping upstreamed patches
Lubomir Rintel 811cb8
- Do not assert fail when pulseaudio is unavailable (#435148)
Lubomir Rintel 811cb8
Lubomir Rintel 81d834
* Tue Mar 04 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.15-4
Lubomir Rintel 81d834
- Be more heplful when there's PulseAudio trouble.
Lubomir Rintel 81d834
- This may save us some bogus bug reports
Lubomir Rintel 81d834
Jesse Keating 11a4b8
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.15-3
Jesse Keating 11a4b8
- Autorebuild for GCC 4.3
Jesse Keating 11a4b8
Eric Moret 4aa1ad
* Fri Jan 18 2008 Eric Moret <eric.moret@epita.fr> - 1.0.15-2
Eric Moret 512001
- Update to upstream 1.0.15 (#429249)
Eric Moret 512001
- Add "Requires: pulseaudio" to alsa-plugins-pulseaudio (#368891)
Eric Moret 512001
- Fix pulse_hw_params() when state is SND_PCM_STATE_PREPARED (#428030)
Eric Moret 512001
- run /sbin/ldconfig on post and postun macros
Eric Moret 512001
Lennart Poettering c9f36c
* Thu Oct 18 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-6
Lennart Poettering c9f36c
- Merge the whole /etc/alsa/pcm/pulseaudio.conf stuff into
Lennart Poettering c9f36c
  /etc/alsa/pulse-default.conf, because the former is practically
Lennart Poettering c9f36c
  always ignored, since it is not referenced for inclusion by any other
Lennart Poettering c9f36c
  configuration file fragment (#251943)
Lennart Poettering c9f36c
  The other fragments installed in /etc/alsa/pcm/ are useless, too. But
Lennart Poettering c9f36c
  since we are in a freeze and they are not that important, I am not fixing
Lennart Poettering c9f36c
  this now.
Lennart Poettering c9f36c
Lennart Poettering 92f135
* Wed Oct 17 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-5
Lennart Poettering 92f135
- Split pulse.conf into two, so that we can load one part from
Lennart Poettering 92f135
  form /etc/alsa/alsa.conf. (#251943)
Lennart Poettering 92f135
Lennart Poettering ad57e0
* Mon Oct 1 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-4
Lennart Poettering ad57e0
- In the pulse plugin: reflect the XRUN state back to the application.
Lennart Poettering ad57e0
  Makes XMMS work on top of the alsa plugin. (#307341)
Lennart Poettering ad57e0
Lennart Poettering 2eafd7
* Mon Sep 24 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-3
Lennart Poettering 2eafd7
- Change PulseAudio buffering defaults to more sane values
Lennart Poettering 2eafd7
Eric Moret 0ee089
* Tue Aug 14 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-2
Eric Moret 0ee089
- Adding pulse as ALSA "default" pcm and ctl when the alsa-plugins-pulseaudio
Eric Moret 0ee089
package is installed, fixing #251943.
Eric Moret 0ee089
Eric Moret d85bda
* Mon Jul 23 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-1
Eric Moret d85bda
- update to upstream 1.0.14
Eric Moret d85bda
- use configure --without-speex instead of patches to remove a52
Eric Moret d85bda
Eric Moret d85bda
* Tue Mar 13 2007 Matej Cepl <mcepl@redhat.com> - 1.0.14-0.3.rc2
Eric Moret d85bda
- Really remove a52 plugin package (including changes in
Eric Moret d85bda
  configure and configure.in)
Eric Moret d85bda
Eric Moret d85bda
* Thu Feb 15 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.2.rc2
Eric Moret d85bda
- Adding configuration files
Eric Moret d85bda
- Removing a52 plugin package
Eric Moret d85bda
Eric Moret d85bda
* Wed Jan 10 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.1.rc2
Eric Moret d85bda
- Initial package for Fedora