Blame SPECS/alsa-plugins.spec

703989
%if 0%{?rhel}
703989
%define with_jack 0
703989
%else
703989
%define with_jack 1
703989
%endif
703989
703989
Name:           alsa-plugins
703989
Version:        1.1.6
703989
Release:        1%{?dist}
703989
Summary:        The Advanced Linux Sound Architecture (ALSA) Plugins
703989
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
703989
# pph plugin is BSD-like licensed
703989
License:        GPLv2+ and LGPLv2+ and BSD
703989
Group:          System Environment/Libraries
703989
URL:            http://www.alsa-project.org/
703989
Source0:        ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
703989
Patch0:         alsa-plugins-1.1.6-post.patch
703989
Patch1:         alsa-plugins-1.1.6-speexdsp.patch
703989
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
703989
703989
BuildRequires:  autoconf automake libtool
703989
BuildRequires:  alsa-lib-devel
703989
703989
%description
703989
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
703989
functionality to the Linux operating system.
703989
703989
This package includes plugins for ALSA.
703989
703989
%if 0%{?with_jack}
703989
%package jack
703989
Requires:       alsa-utils
703989
Requires:       jack-audio-connection-kit
703989
BuildRequires:  jack-audio-connection-kit-devel
703989
Summary:        Jack PCM output plugin for ALSA
703989
Group:          System Environment/Libraries
703989
License:        LGPLv2+
703989
%description jack
703989
This plugin converts the ALSA API over JACK (Jack Audio Connection
703989
Kit, http://jackit.sf.net) API.  ALSA native applications can work
703989
transparently together with jackd for both playback and capture.
703989
This plugin provides the PCM type "jack"
703989
%endif
703989
703989
%package oss
703989
Requires:       alsa-utils
703989
BuildRequires:  alsa-lib-devel
703989
Summary:        Oss PCM output plugin for ALSA
703989
Group:          System Environment/Libraries
703989
License:        LGPLv2+ 
703989
%description oss
703989
This plugin converts the ALSA API over OSS API.  With this plugin,
703989
ALSA native apps can run on OSS drivers.
703989
703989
This plugin provides the PCM type "oss".
703989
703989
%package pulseaudio
703989
Requires:       alsa-utils
703989
Requires:       pulseaudio
703989
BuildRequires:  pulseaudio-libs-devel
703989
Summary:        Alsa to PulseAudio backend
703989
Group:          System Environment/Libraries
703989
License:        LGPLv2+
703989
%description pulseaudio
703989
This plugin allows any program that uses the ALSA API to access a PulseAudio
703989
sound daemon. In other words, native ALSA applications can play and record
703989
sound across a network. There are two plugins in the suite, one for PCM and
703989
one for mixer control.
703989
703989
%package samplerate
703989
Requires:       alsa-utils
703989
BuildRequires:  libsamplerate-devel
703989
Summary:        External rate converter plugin for ALSA
703989
Group:          System Environment/Libraries
703989
License:        GPLv2+
703989
%description samplerate
703989
This plugin is an external rate converter using libsamplerate by Erik de
703989
Castro Lopo.
703989
703989
%package upmix
703989
Requires:       alsa-utils
703989
BuildRequires:  libsamplerate-devel
703989
Summary:        Upmixer channel expander plugin for ALSA
703989
Group:          System Environment/Libraries
703989
License:        LGPLv2+
703989
%description upmix
703989
The upmix plugin is an easy-to-use plugin for upmixing to 4 or
703989
6-channel stream.  The number of channels to be expanded is determined
703989
by the slave PCM or explicitly via channel option.
703989
703989
%package vdownmix
703989
Requires:       alsa-utils
703989
BuildRequires:  libsamplerate-devel
703989
Summary:        Downmixer to stereo plugin for ALSA
703989
Group:          System Environment/Libraries
703989
License:        LGPLv2+
703989
%description vdownmix
703989
The vdownmix plugin is a downmixer from 4-6 channels to 2-channel
703989
stereo headphone output.  This plugin processes the input signals with
703989
a simple spacialization, so the output sounds like a kind of "virtual
703989
surround".
703989
703989
%package usbstream
703989
Summary:        USB stream plugin for ALSA
703989
Group:          System Environment/Libraries
703989
License:        LGPLv2+
703989
%description usbstream
703989
The usbstream plugin is for snd-usb-us122l driver. It converts PCM
703989
stream to USB specific stream.
703989
703989
%package arcamav
703989
Summary:        Arcam AV amplifier plugin for ALSA
703989
Group:          System Environment/Libraries
703989
License:        LGPLv2+
703989
%description arcamav
703989
This plugin exposes the controls for an Arcam AV amplifier
703989
(see: http://www.arcam.co.uk/) as an ALSA mixer device.
703989
703989
%package speex
703989
Requires:       speex
703989
BuildRequires:  speex-devel
703989
Summary:        Rate Converter Plugin Using Speex Resampler
703989
Group:          System Environment/Libraries
703989
License:        LGPLv2+
703989
%description speex
703989
The rate plugin is an external rate converter using the Speex resampler
703989
(aka Public Parrot Hack) by Jean-Marc Valin. The pcm plugin provides
703989
pre-processing of a mono stream like denoise using libspeex DSP API.
703989
703989
%package maemo
703989
#BuildRequires:  alsa-lib-devel = %{version}
703989
BuildRequires:  dbus-devel
703989
Summary:        Maemo plugin for ALSA
703989
Group:          System Environment/Libraries
703989
License:        LGPLv2+
703989
%description maemo
703989
This plugin converts the ALSA API over PCM task nodes protocol. In this way,
703989
ALSA native applications can run over DSP Gateway and use DSP PCM task nodes.
703989
703989
%prep
703989
%setup -q -n %{name}-%{version}%{?prever}
703989
%patch0 -p1 -b .post
703989
%patch1 -p1 -b .speexdsp
703989
703989
%build
703989
autoreconf -vif
703989
%configure --disable-static \
703989
           --with-speex=lib \
703989
           --enable-maemo-plugin \
703989
           --enable-maemo-resource-manager
703989
make %{?_smp_mflags}
703989
703989
%install
703989
rm -rf %{buildroot}
703989
make install DESTDIR=%{buildroot}
703989
703989
mv %{buildroot}/etc/alsa/conf.d/99-pulseaudio-default.conf.example \
703989
        %{buildroot}/etc/alsa/conf.d/99-pulseaudio-default.conf
703989
703989
find %{buildroot} -name "*.la" -exec rm {} \;
703989
703989
%clean
703989
rm -rf $RPM_BUILD_ROOT
703989
703989
%post -p /sbin/ldconfig
703989
703989
%postun -p /sbin/ldconfig
703989
703989
%if 0%{?with_jack}
703989
%files jack
703989
%defattr(-,root,root,-)
703989
%doc COPYING COPYING.GPL doc/README-jack
703989
%dir /etc/alsa/conf.d
703989
%config(noreplace) /etc/alsa/conf.d/50-jack.conf
703989
%dir %{_datadir}/alsa/alsa.conf.d
703989
%{_datadir}/alsa/alsa.conf.d/50-jack.conf
703989
%dir %{_libdir}/alsa-lib
703989
%{_libdir}/alsa-lib/libasound_module_pcm_jack.so
703989
%endif
703989
703989
%files oss
703989
%defattr(-,root,root,-)
703989
%doc COPYING COPYING.GPL doc/README-pcm-oss
703989
%dir /etc/alsa/conf.d
703989
%config(noreplace) /etc/alsa/conf.d/50-oss.conf
703989
%dir %{_datadir}/alsa/alsa.conf.d
703989
%{_datadir}/alsa/alsa.conf.d/50-oss.conf
703989
%dir %{_libdir}/alsa-lib
703989
%{_libdir}/alsa-lib/libasound_module_ctl_oss.so
703989
%{_libdir}/alsa-lib/libasound_module_pcm_oss.so
703989
703989
%files pulseaudio
703989
%defattr(-,root,root,-)
703989
%doc COPYING COPYING.GPL doc/README-pulse
703989
%dir %{_libdir}/alsa-lib
703989
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
703989
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
703989
%{_libdir}/alsa-lib/libasound_module_conf_pulse.so
703989
%dir /etc/alsa/conf.d
703989
%config(noreplace) /etc/alsa/conf.d/50-pulseaudio.conf
703989
%config(noreplace) /etc/alsa/conf.d/99-pulseaudio-default.conf
703989
%dir %{_datadir}/alsa/alsa.conf.d
703989
%{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf
703989
703989
%files samplerate
703989
%defattr(-,root,root,-)
703989
%doc COPYING COPYING.GPL doc/samplerate.txt
703989
%dir /etc/alsa/conf.d
703989
%config(noreplace) /etc/alsa/conf.d/10-samplerate.conf
703989
%dir %{_datadir}/alsa/alsa.conf.d
703989
%{_datadir}/alsa/alsa.conf.d/10-samplerate.conf
703989
%dir %{_libdir}/alsa-lib
703989
%{_libdir}/alsa-lib/libasound_module_rate_samplerate.so
703989
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_best.so
703989
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_linear.so
703989
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_medium.so
703989
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so
703989
703989
%files upmix
703989
%defattr(-,root,root,-)
703989
%doc COPYING COPYING.GPL doc/upmix.txt
703989
%dir /etc/alsa/conf.d
703989
%config(noreplace) /etc/alsa/conf.d/60-upmix.conf
703989
%dir %{_datadir}/alsa/alsa.conf.d
703989
%{_datadir}/alsa/alsa.conf.d/60-upmix.conf
703989
%dir %{_libdir}/alsa-lib
703989
%{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
703989
703989
%files vdownmix
703989
%defattr(-,root,root,-)
703989
%doc COPYING COPYING.GPL doc/vdownmix.txt
703989
%dir /etc/alsa/conf.d
703989
%config(noreplace) /etc/alsa/conf.d/60-vdownmix.conf
703989
%dir %{_datadir}/alsa/alsa.conf.d
703989
%{_datadir}/alsa/alsa.conf.d/60-vdownmix.conf
703989
%dir %{_libdir}/alsa-lib
703989
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
703989
703989
%files usbstream
703989
%defattr(-,root,root,-)
703989
%doc COPYING COPYING.GPL
703989
%dir /etc/alsa/conf.d
703989
%config(noreplace) /etc/alsa/conf.d/98-usb-stream.conf
703989
%dir %{_datadir}/alsa/alsa.conf.d
703989
%{_datadir}/alsa/alsa.conf.d/98-usb-stream.conf
703989
%dir %{_libdir}/alsa-lib
703989
%{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so
703989
703989
%files arcamav
703989
%defattr(-,root,root,-)
703989
%doc COPYING COPYING.GPL doc/README-arcam-av
703989
%dir /etc/alsa/conf.d
703989
%config(noreplace) /etc/alsa/conf.d/50-arcam-av-ctl.conf
703989
%dir %{_datadir}/alsa/alsa.conf.d
703989
%{_datadir}/alsa/alsa.conf.d/50-arcam-av-ctl.conf
703989
%dir %{_libdir}/alsa-lib
703989
%{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
703989
703989
%files speex
703989
%defattr(-,root,root,-)
703989
%doc COPYING COPYING.GPL doc/speexdsp.txt doc/speexrate.txt
703989
%dir /etc/alsa/conf.d
703989
%config(noreplace) /etc/alsa/conf.d/10-speexrate.conf
703989
%config(noreplace) /etc/alsa/conf.d/60-speex.conf
703989
%dir %{_datadir}/alsa/alsa.conf.d
703989
%{_datadir}/alsa/alsa.conf.d/10-speexrate.conf
703989
%{_datadir}/alsa/alsa.conf.d/60-speex.conf
703989
%dir %{_libdir}/alsa-lib
703989
%{_libdir}/alsa-lib/libasound_module_pcm_speex.so
703989
%{_libdir}/alsa-lib/libasound_module_rate_speexrate.so
703989
%{_libdir}/alsa-lib/libasound_module_rate_speexrate_best.so
703989
%{_libdir}/alsa-lib/libasound_module_rate_speexrate_medium.so
703989
703989
%files maemo
703989
%defattr(-,root,root,-)
703989
%doc COPYING COPYING.GPL doc/README-maemo
703989
%dir /etc/alsa/conf.d
703989
%config(noreplace) /etc/alsa/conf.d/98-maemo.conf
703989
%dir %{_datadir}/alsa/alsa.conf.d
703989
%{_datadir}/alsa/alsa.conf.d/98-maemo.conf
703989
%dir %{_libdir}/alsa-lib
703989
%{_libdir}/alsa-lib/libasound_module_ctl_dsp_ctl.so
703989
%{_libdir}/alsa-lib/libasound_module_pcm_alsa_dsp.so
703989
703989
703989
%changelog
703989
* Tue May 29 2018 Jaroslav Kysela <jkysela@redhat.com> - 1.1.6-1
703989
- Updated to 1.1.6
703989
- Resolves: rhbz#1578691
703989
703989
* Mon Jun  6 2016 Jaroslav Kysela <jkysela@redhat.com> - 1.1.1-1
703989
- Updated to 1.1.1
703989
- Resolves: rhbz#1112209
703989
703989
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.27-3
703989
- Mass rebuild 2014-01-24
703989
703989
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.27-2
703989
- Mass rebuild 2013-12-27
703989
703989
* Fri Apr 12 2013 Jaroslav Kysela <jkysela@redhat.com> - 1.0.27-1
703989
- Updated to 1.0.27
703989
703989
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.26-3
703989
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
703989
703989
* Thu Sep  6 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.26-2
703989
- Changed dependency on pulseaudio-lib-devel to pulseaudio-libs-devel
703989
703989
* Thu Sep  6 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.26-1
703989
- Updated to 1.0.26
703989
703989
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-4
703989
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
703989
703989
* Mon Apr 23 2012 Paul Howarth <paul@city-fan.org> - 1.0.25-3
703989
- Bump and rebuild to maintain upgrade path (#806218)
703989
703989
* Wed Feb  1 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.25-1
703989
- Updated to 1.0.25
703989
- Moved plugin specific configuration from /etc/alsa/pcm to /usr/share/alsa/alsa.conf.d
703989
703989
* Thu Jan 19 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.0.24-4
703989
- 761244 - please disable JACK for RHEL
703989
703989
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24-3
703989
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
703989
703989
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24-2
703989
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
703989
703989
* Fri Jan 28 2011 Jaroslav Kysela <jkysela@redhat.com> - 1.0.24-1
703989
- Updated to 1.0.24
703989
703989
* Thu Jan 14 2010 Jaroslav Kysela <jkysela@redhat.com> - 1.0.22-1
703989
- Updated to 1.0.22
703989
703989
* Mon Sep 7 2009 Eric Moret <eric.moret@gmail.com> - 1.0.21-2
703989
- Added missing dbus-devel dependency to maemo subpackage
703989
703989
* Mon Sep 7 2009 Eric Moret <eric.moret@gmail.com> - 1.0.21-1
703989
- Updated to 1.0.21
703989
- Patch clean up
703989
- Added maemo subpackage
703989
703989
* Tue Aug 4 2009 Lennart Poettering <lpoetter@redhat.com> - 1.0.20-5
703989
- Add a couple of more clean up patches for the pulse plugin
703989
703989
* Fri Jul 31 2009 Lennart Poettering <lpoetter@redhat.com> - 1.0.20-4
703989
- Add a couple of clean up patches for the pulse plugin
703989
703989
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20-3
703989
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
703989
703989
* Wed Jun 24 2009 Eric Moret <eric.moret@gmail.com> - 1.0.20-2
703989
- Added speex subpackage
703989
- Removed ascii-art from jack's plugin description
703989
703989
* Fri May 8 2009 Eric Moret <eric.moret@gmail.com> - 1.0.20-1
703989
- Updated to 1.0.20
703989
- Added arcam-av subpackage
703989
703989
* Fri Apr 24 2009 Eric Moret <eric.moret@gmail.com> - 1.0.19-1
703989
- Updated to 1.0.19
703989
- Added Requires: alsa-utils to address #483322
703989
- Added dir {_sysconfdir}/alsa/pcm to address #483322
703989
703989
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.18-3
703989
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
703989
703989
* Sun Dec 28 2008 Eric Moret <eric.moret@gmail.com> - 1.0.18-2
703989
- Updated to 1.0.18 final
703989
703989
* Thu Sep 11 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.18-1.rc3
703989
- Updated to 1.0.18rc3
703989
- Added usbstream subpackage
703989
703989
* Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-1
703989
- Updated to 1.0.17
703989
703989
* Tue Mar 25 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-4
703989
- Kind of fix the plugins not to complain about the hints
703989
703989
* Wed Mar 19 2008 Eric Moret <eric.moret@gmail.com> - 1.0.16-3
703989
- Fixing jack.conf (#435343)
703989
703989
* Sun Mar 09 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-2
703989
- Add descriptions to various PCM plugins, so they're visible in aplay -L
703989
703989
* Sat Mar 08 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-1
703989
- New upstream, dropping upstreamed patches
703989
- Do not assert fail when pulseaudio is unavailable (#435148)
703989
703989
* Tue Mar 04 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.15-4
703989
- Be more heplful when there's PulseAudio trouble.
703989
- This may save us some bogus bug reports
703989
703989
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.15-3
703989
- Autorebuild for GCC 4.3
703989
703989
* Fri Jan 18 2008 Eric Moret <eric.moret@epita.fr> - 1.0.15-2
703989
- Update to upstream 1.0.15 (#429249)
703989
- Add "Requires: pulseaudio" to alsa-plugins-pulseaudio (#368891)
703989
- Fix pulse_hw_params() when state is SND_PCM_STATE_PREPARED (#428030)
703989
- run /sbin/ldconfig on post and postun macros
703989
703989
* Thu Oct 18 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-6
703989
- Merge the whole /etc/alsa/pcm/pulseaudio.conf stuff into
703989
  /etc/alsa/pulse-default.conf, because the former is practically
703989
  always ignored, since it is not referenced for inclusion by any other
703989
  configuration file fragment (#251943)
703989
  The other fragments installed in /etc/alsa/pcm/ are useless, too. But
703989
  since we are in a freeze and they are not that important, I am not fixing
703989
  this now.
703989
703989
* Wed Oct 17 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-5
703989
- Split pulse.conf into two, so that we can load one part from
703989
  form /etc/alsa/alsa.conf. (#251943)
703989
703989
* Mon Oct 1 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-4
703989
- In the pulse plugin: reflect the XRUN state back to the application.
703989
  Makes XMMS work on top of the alsa plugin. (#307341)
703989
703989
* Mon Sep 24 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-3
703989
- Change PulseAudio buffering defaults to more sane values
703989
703989
* Tue Aug 14 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-2
703989
- Adding pulse as ALSA "default" pcm and ctl when the alsa-plugins-pulseaudio
703989
package is installed, fixing #251943.
703989
703989
* Mon Jul 23 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-1
703989
- update to upstream 1.0.14
703989
- use configure --without-speex instead of patches to remove a52
703989
703989
* Tue Mar 13 2007 Matej Cepl <mcepl@redhat.com> - 1.0.14-0.3.rc2
703989
- Really remove a52 plugin package (including changes in
703989
  configure and configure.in)
703989
703989
* Thu Feb 15 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.2.rc2
703989
- Adding configuration files
703989
- Removing a52 plugin package
703989
703989
* Wed Jan 10 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.1.rc2
703989
- Initial package for Fedora