alsa-plugins/alsa-plugins.spec

349 lines
12 KiB
RPMSpec
Raw Normal View History

2007-08-08 05:40:33 +00:00
Name: alsa-plugins
Version: 1.0.20
Release: 5%{?dist}
2007-08-08 05:40:33 +00:00
Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
License: GPLv2+ and LGPLv2+
Group: System Environment/Libraries
URL: http://www.alsa-project.org/
2008-12-29 07:49:12 +00:00
Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
2007-08-08 05:40:33 +00:00
Source1: jack.conf
Source2: pcm-oss.conf
2009-07-03 00:50:11 +00:00
Source3: speex.conf
2007-08-08 05:40:33 +00:00
Source4: samplerate.conf
Source5: upmix.conf
Source6: vdownmix.conf
Source7: pulse-default.conf
Source8: arcamav.conf
2007-08-08 05:40:33 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1: 0001-alsa-plugins-pulse-Implement-pause.patch
Patch2: 0002-pulse-get-rid-of-a-number-of-assert-s.patch
Patch3: 0003-pulse-use-PA_CONTEXT_IS_GOOD-where-applicable.patch
Patch4: 0004-pulse-unify-destruction-of-snd_pulse_t.patch
Patch5: 0005-pulse-call-pa_threaded_mainloop_wait-to-handle-spuri.patch
Patch6: 0006-pulse-replace-manual-mainloop-by-pa_mainloop_iterate.patch
Patch7: 0007-pulse-move-a-couple-of-PCM-related-functions-from-pu.patch
Patch8: 0008-pulse-get-rid-of-redundant-state-variable.patch
Patch9: 0009-pulse-unify-stream-context-state-checks.patch
Patch10: 0010-pulse-rework-object-destruction-paths-a-bit.patch
Patch11: 0011-pulse-immediately-trigger-EIO-when-connection-is-dro.patch
2007-08-08 05:40:33 +00:00
BuildRequires: alsa-lib-devel
%description
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
functionality to the Linux operating system.
This package includes plugins for ALSA.
%package jack
2009-04-25 07:17:50 +00:00
Requires: jack-audio-connection-kit, alsa-utils
2007-08-08 05:40:33 +00:00
BuildRequires: jack-audio-connection-kit-devel
Summary: Jack PCM output plugin for ALSA
Group: System Environment/Libraries
License: LGPLv2+
%description jack
This plugin converts the ALSA API over JACK (Jack Audio Connection
Kit, http://jackit.sf.net) API. ALSA native applications can work
transparently together with jackd for both playback and capture.
This plugin provides the PCM type "jack"
%package oss
2009-04-25 07:17:50 +00:00
Requires: alsa-utils
2007-08-08 05:40:33 +00:00
BuildRequires: alsa-lib-devel
Summary: Oss PCM output plugin for ALSA
Group: System Environment/Libraries
License: LGPLv2+
%description oss
This plugin converts the ALSA API over OSS API. With this plugin,
ALSA native apps can run on OSS drivers.
This plugin provides the PCM type "oss".
%package pulseaudio
2009-04-25 07:17:50 +00:00
Requires: pulseaudio, alsa-utils
2007-08-08 05:40:33 +00:00
BuildRequires: pulseaudio-lib-devel
Summary: Alsa to PulseAudio backend
Group: System Environment/Libraries
License: LGPLv2+
%description pulseaudio
This plugin allows any program that uses the ALSA API to access a PulseAudio
sound daemon. In other words, native ALSA applications can play and record
sound across a network. There are two plugins in the suite, one for PCM and
one for mixer control.
%package samplerate
2009-04-25 07:17:50 +00:00
Requires: alsa-utils
2007-08-08 05:40:33 +00:00
BuildRequires: libsamplerate-devel
Summary: External rate converter plugin for ALSA
Group: System Environment/Libraries
License: GPLv2+
%description samplerate
This plugin is an external rate converter using libsamplerate by Erik de
Castro Lopo.
%package upmix
2009-04-25 07:17:50 +00:00
Requires: alsa-utils
2007-08-08 05:40:33 +00:00
BuildRequires: libsamplerate-devel
Summary: Upmixer channel expander plugin for ALSA
Group: System Environment/Libraries
License: LGPLv2+
%description upmix
The upmix plugin is an easy-to-use plugin for upmixing to 4 or
6-channel stream. The number of channels to be expanded is determined
by the slave PCM or explicitly via channel option.
%package vdownmix
2009-04-25 07:17:50 +00:00
Requires: alsa-utils
2007-08-08 05:40:33 +00:00
BuildRequires: libsamplerate-devel
Summary: Downmixer to stereo plugin for ALSA
Group: System Environment/Libraries
License: LGPLv2+
%description vdownmix
The vdownmix plugin is a downmixer from 4-6 channels to 2-channel
stereo headphone output. This plugin processes the input signals with
a simple spacialization, so the output sounds like a kind of "virtual
surround".
2008-09-11 12:42:16 +00:00
%package usbstream
Summary: USB stream plugin for ALSA
Group: System Environment/Libraries
License: LGPLv2+
%description usbstream
The usbstream plugin is for snd-usb-us122l driver. It converts PCM
stream to USB specific stream.
%package arcamav
Summary: Arcam AV amplifier plugin for ALSA
Group: System Environment/Libraries
License: LGPLv2+
%description arcamav
This plugin exposes the controls for an Arcam AV amplifier
(see: http://www.arcam.co.uk/) as an ALSA mixer device.
2009-07-03 00:50:11 +00:00
%package speex
Requires: speex
BuildRequires: speex-devel
Summary: Rate Converter Plugin Using Speex Resampler
Group: System Environment/Libraries
License: LGPLv2+
%description speex
The rate plugin is an external rate converter using the Speex resampler
(aka Public Parrot Hack) by Jean-Marc Valin. The pcm plugin provides
pre-processing of a mono stream like denoise using libspeex DSP API.
2007-08-08 05:40:33 +00:00
%prep
2008-09-11 12:42:16 +00:00
%setup -q -n %{name}-%{version}%{?prever}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
2007-08-08 05:40:33 +00:00
%build
%configure --disable-static \
2009-07-03 00:50:11 +00:00
--with-speex=lib
2007-08-08 05:40:33 +00:00
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
install -m 644 %SOURCE1 %SOURCE2 \
2009-07-03 00:50:11 +00:00
%SOURCE3 %SOURCE4 \
%SOURCE5 %SOURCE6 \
%SOURCE8 \
${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
install -m 644 %SOURCE7 \
2009-07-03 00:50:11 +00:00
${RPM_BUILD_ROOT}%{_sysconfdir}/alsa
2007-08-08 05:40:33 +00:00
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
# Removing the maemo plugins
find $RPM_BUILD_ROOT \( -name libasound_module_ctl_dsp_ctl.so -o \
-name libasound_module_pcm_alsa_dsp.so \) -exec rm {} \;
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
2007-08-08 05:40:33 +00:00
%files jack
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL doc/README-jack
2009-04-25 07:17:50 +00:00
%dir %{_sysconfdir}/alsa/pcm
2007-08-08 05:40:33 +00:00
%config(noreplace) %{_sysconfdir}/alsa/pcm/jack.conf
%{_libdir}/alsa-lib/libasound_module_pcm_jack.so
%files oss
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL doc/README-pcm-oss
2009-04-25 07:17:50 +00:00
%dir %{_sysconfdir}/alsa/pcm
2007-08-08 05:40:33 +00:00
%config(noreplace) %{_sysconfdir}/alsa/pcm/pcm-oss.conf
%{_libdir}/alsa-lib/libasound_module_ctl_oss.so
%{_libdir}/alsa-lib/libasound_module_pcm_oss.so
%files pulseaudio
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL doc/README-pulse
%config(noreplace) %{_sysconfdir}/alsa/pulse-default.conf
2007-08-08 05:40:33 +00:00
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
%{_libdir}/alsa-lib/libasound_module_conf_pulse.so
2007-08-08 05:40:33 +00:00
%files samplerate
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL doc/samplerate.txt
2009-04-25 07:17:50 +00:00
%dir %{_sysconfdir}/alsa/pcm
2007-08-08 05:40:33 +00:00
%config(noreplace) %{_sysconfdir}/alsa/pcm/samplerate.conf
%{_libdir}/alsa-lib/libasound_module_rate_samplerate.so
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_best.so
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_linear.so
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_medium.so
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so
%files upmix
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL doc/upmix.txt
2009-04-25 07:17:50 +00:00
%dir %{_sysconfdir}/alsa/pcm
2007-08-08 05:40:33 +00:00
%config(noreplace) %{_sysconfdir}/alsa/pcm/upmix.conf
%{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
%files vdownmix
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL doc/vdownmix.txt
2009-04-25 07:17:50 +00:00
%dir %{_sysconfdir}/alsa/pcm
2007-08-08 05:40:33 +00:00
%config(noreplace) %{_sysconfdir}/alsa/pcm/vdownmix.conf
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
2008-09-11 12:42:16 +00:00
%files usbstream
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL
%{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so
%files arcamav
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL doc/README-arcam-av
%config(noreplace) %{_sysconfdir}/alsa/pcm/arcamav.conf
%{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
2009-07-03 00:50:11 +00:00
%files speex
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL doc/speexdsp.txt doc/speexrate.txt
%config(noreplace) %{_sysconfdir}/alsa/pcm/speex.conf
%{_libdir}/alsa-lib/libasound_module_pcm_speex.so
%{_libdir}/alsa-lib/libasound_module_rate_speexrate.so
%{_libdir}/alsa-lib/libasound_module_rate_speexrate_best.so
%{_libdir}/alsa-lib/libasound_module_rate_speexrate_medium.so
2007-08-08 05:40:33 +00:00
%changelog
* Tue Aug 4 2009 Lennart Poettering <lpoetter@redhat.com> - 1.0.20-5
- Add a couple of more clean up patches for the pulse plugin
* Fri Jul 31 2009 Lennart Poettering <lpoetter@redhat.com> - 1.0.20-4
- Add a couple of clean up patches for the pulse plugin
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-07-03 00:50:11 +00:00
* Wed Jun 24 2009 Eric Moret <eric.moret@gmail.com> - 1.0.20-2
- Added speex subpackage
- Removed ascii-art from jack's plugin description
* Fri May 8 2009 Eric Moret <eric.moret@gmail.com> - 1.0.20-1
- Updated to 1.0.20
- Added arcam-av subpackage
2009-04-25 07:17:50 +00:00
* Fri Apr 24 2009 Eric Moret <eric.moret@gmail.com> - 1.0.19-1
- Updated to 1.0.19
- Added Requires: alsa-utils to address #483322
- Added dir {_sysconfdir}/alsa/pcm to address #483322
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.18-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-12-29 07:49:12 +00:00
* Sun Dec 28 2008 Eric Moret <eric.moret@gmail.com> - 1.0.18-2
- Updated to 1.0.18 final
2008-09-11 12:42:16 +00:00
* Thu Sep 11 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.18-1.rc3
- Updated to 1.0.18rc3
- Added usbstream subpackage
2008-07-21 15:00:49 +00:00
* Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-1
- Updated to 1.0.17
2008-03-25 08:50:07 +00:00
* Tue Mar 25 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-4
- Kind of fix the plugins not to complain about the hints
2008-03-19 20:01:04 +00:00
* Wed Mar 19 2008 Eric Moret <eric.moret@gmail.com> - 1.0.16-3
- Fixing jack.conf (#435343)
* Sun Mar 09 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-2
- Add descriptions to various PCM plugins, so they're visible in aplay -L
2008-03-08 15:00:45 +00:00
* Sat Mar 08 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.16-1
- New upstream, dropping upstreamed patches
- Do not assert fail when pulseaudio is unavailable (#435148)
2008-03-04 18:16:56 +00:00
* Tue Mar 04 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.15-4
- Be more heplful when there's PulseAudio trouble.
- This may save us some bogus bug reports
2008-02-19 02:28:00 +00:00
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.15-3
- Autorebuild for GCC 4.3
2008-01-19 08:39:41 +00:00
* Fri Jan 18 2008 Eric Moret <eric.moret@epita.fr> - 1.0.15-2
- Update to upstream 1.0.15 (#429249)
- Add "Requires: pulseaudio" to alsa-plugins-pulseaudio (#368891)
- Fix pulse_hw_params() when state is SND_PCM_STATE_PREPARED (#428030)
- run /sbin/ldconfig on post and postun macros
* Thu Oct 18 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-6
- Merge the whole /etc/alsa/pcm/pulseaudio.conf stuff into
/etc/alsa/pulse-default.conf, because the former is practically
always ignored, since it is not referenced for inclusion by any other
configuration file fragment (#251943)
The other fragments installed in /etc/alsa/pcm/ are useless, too. But
since we are in a freeze and they are not that important, I am not fixing
this now.
* Wed Oct 17 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-5
- Split pulse.conf into two, so that we can load one part from
form /etc/alsa/alsa.conf. (#251943)
* Mon Oct 1 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-4
- In the pulse plugin: reflect the XRUN state back to the application.
Makes XMMS work on top of the alsa plugin. (#307341)
* Mon Sep 24 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-3
- Change PulseAudio buffering defaults to more sane values
* Tue Aug 14 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-2
- Adding pulse as ALSA "default" pcm and ctl when the alsa-plugins-pulseaudio
package is installed, fixing #251943.
2007-08-08 05:40:33 +00:00
* Mon Jul 23 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-1
- update to upstream 1.0.14
- use configure --without-speex instead of patches to remove a52
* Tue Mar 13 2007 Matej Cepl <mcepl@redhat.com> - 1.0.14-0.3.rc2
- Really remove a52 plugin package (including changes in
configure and configure.in)
* Thu Feb 15 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.2.rc2
- Adding configuration files
- Removing a52 plugin package
* Wed Jan 10 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.1.rc2
- Initial package for Fedora