File alsa-plugins.spec of Package alsa-plugins
#
# spec file for package alsa-plugins (Version 1.0.20)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%if %suse_version > 1030
%define build_pulse 1
%define build_speex 1
%else
%define build_pulse 0
%define build_speex 0
%endif
Name: alsa-plugins
BuildRequires: alsa-devel dbus-1-devel libjack-devel libsamplerate-devel
BuildRequires: libjack0
%if %build_pulse
BuildRequires: libpulse-devel
%endif
%if %build_speex
BuildRequires: speex-devel
%endif
%define package_version 1.0.20
Url: http://www.alsa-project.org/
Summary: Extra Plug-Ins for the ALSA Library
Version: 1.0.20
Release: 3
License: BSD 3-clause (or similar) ; GPL v2 or later ; LGPL v2.1 or later
Group: System/Libraries
AutoReqProv: on
Source: ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-%{package_version}.tar.bz2
Source1: asound-pulse.conf
Source2: alsa-pulse.conf
Patch: alsa-plugins-git-fixes.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the extra plug-ins for the ALSA library.
Authors:
--------
Takashi Iwai <tiwai@suse.de>
%package jack
Summary: JACK I/O Plug-In for the ALSA Library
Group: System/Libraries
License: LGPL v2.1 or later
Requires: jack
%description jack
This package contains the JACK (Jack Audio Connection Kit) I/O plug-in
for the ALSA library.
Authors:
--------
Takashi Iwai <tiwai@suse.de>
Maarten de Boer <mdeboer@iua.upf.es>
%if %build_pulse
%package pulse
Summary: Pulseaudio Plug-In for the ALSA Library
Group: System/Libraries
License: GPL v2 or later ; LGPL v2.1 or later
%description pulse
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
This package contains the polypaudio I/O plug-in for the ALSA library.
Authors:
--------
Pierre Ossman <ossman@cendio.se>
%endif
%package maemo
Summary: Maemo Plug-Ins for the ALSA Library
Group: System/Libraries
License: LGPL v2.1 or later
%description maemo
This package contains the ALSA-library plug-ins using maemo SDK for
Nokia 770.
Authors:
--------
Eduardo Valentin <eduardo.valentin@indt.org.br>
%package samplerate
Summary: Samplerate Plug-In for the ALSA Library
Group: System/Libraries
License: GPL v2 or later
%description samplerate
This package contains the sample rate converter plugin for the ALSA
library using libsamplerate.
Authors:
--------
Takashi Iwai <tiwai@suse.de>
%if %build_speex
%package speex
Summary: Speex Prerocessor Plug-In for the ALSA Library
Group: System/Libraries
License: LGPL v2.1 or later
%description speex
This package contains the Speex preprocessor plugin for the ALSA
library using libspeexdsp.
Authors:
--------
Takashi Iwai <tiwai@suse.de>
%endif
%prep
%setup -q -n %{name}-%{package_version}
%patch -p1
%build
autoreconf -fi
%configure --enable-maemo-plugin --enable-maemo-resource-manager \
--with-speex=builtin
make %{?jobs:-j %jobs}
%install
%makeinstall
mkdir -p %{buildroot}/etc/
%if %build_pulse
%__install -m 0644 %_sourcedir/asound-pulse.conf %{buildroot}/etc/
%__install -m 0644 %_sourcedir/alsa-pulse.conf %{buildroot}/etc/
%endif
# modules don't need *.la files
rm -f $RPM_BUILD_ROOT%{_libdir}/alsa-lib/*.la
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc COPYING
%doc doc/README-pcm-oss
%doc doc/README-arcam-av
%doc doc/upmix.txt
%doc doc/vdownmix.txt
%doc doc/speexrate.txt
%{_libdir}/alsa-lib/libasound_module_ctl_oss.so
%{_libdir}/alsa-lib/libasound_module_pcm_oss.so
%{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
%{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so
%{_libdir}/alsa-lib/libasound_module_rate_speexrate*.so
%{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
%files jack
%defattr(-, root, root)
%doc COPYING
%doc doc/README-jack
%{_libdir}/alsa-lib/libasound_module_pcm_jack.so
%if %build_pulse
%files pulse
%defattr(-, root, root)
%doc COPYING
%doc doc/README-pulse
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
%{_libdir}/alsa-lib/libasound_module_conf_pulse.so
%config /etc/asound-pulse.conf
%config /etc/alsa-pulse.conf
%endif
%files maemo
%defattr(-, root, root)
%doc COPYING
%doc doc/README-maemo
%{_libdir}/alsa-lib/libasound_module_ctl_dsp_ctl.so
%{_libdir}/alsa-lib/libasound_module_pcm_alsa_dsp.so
%files samplerate
%defattr(-, root, root)
%doc COPYING.GPL
%doc doc/samplerate.txt
%{_libdir}/alsa-lib/libasound_module_rate_samplerate*.so
%if %build_speex
%files speex
%defattr(-, root, root)
%doc COPYING
%doc doc/speexdsp.txt
%{_libdir}/alsa-lib/libasound_module_pcm_speex.so
%endif
%changelog
* Fri Jun 19 2009 tiwai@suse.de
- echo-cancelling support in speex dsp plugin
* Tue Jun 02 2009 tiwai@suse.de
- extend rate plugins to follow the new protocol
* Wed May 06 2009 tiwai@suse.de
- updated to version 1.0.20:
* including previous patches
* arcam-av plugin updates
* Tue Feb 17 2009 tiwai@suse.de
- add the support of non-zero numid in external ctl plugins
(bnc#462032)
* Thu Jan 22 2009 tiwai@suse.de
- updated to version 1.0.19:
* just minor updates
- added speex pre-processing plugin
- added arcam-av control plugin
- fix spec file to be compatible with older distro
* Wed Oct 29 2008 tiwai@suse.de
- updated to version 1.0.18-final;
just including all previous fixes
* Wed Oct 15 2008 tiwai@suse.de
- Fix pulse plugin issues:
* broken capture returning -EIO (bnc#435058)
* small memory leak
* Wed Sep 10 2008 tiwai@suse.de
- updated to version 1.0.18rc3:
* code cleanup in pulse pcm plugin
* fix poll handling in pulse pcm
* fix S32/FLOAT32 format support in pulse
* use PA_STREAM_EARLY_REQUEST
* fix channel mappings, buffer metrics
* Tue Aug 26 2008 tiwai@suse.de
- fix build with recent ffmpeg
* Mon Aug 18 2008 tiwai@suse.de
- updated to version 1.0.18-rc2:
including previous fixes and additions
* Wed Aug 06 2008 tiwai@suse.de
- updated to git snapshot 20080806:
* added usb-stream PCM plugin for US122L devices
- add config tag to pulse-related config files
* Mon Jul 28 2008 tiwai@suse.de
- fix slient output of short streams (bnc#409645)
* Wed Jul 16 2008 tiwai@suse.de
- don't use assert() for sanity checks (bnc#409532)
* Tue Jul 15 2008 tiwai@suse.de
- updated to version 1.0.17-final:
* just a version bump
* Wed Jun 18 2008 tiwai@suse.de
- updated to version 1.0.17rc2:
* including last fixes
* Fri Jun 06 2008 tiwai@suse.de
- use plug layer for pulse defult PCM (bnc#397523)
this requires the fix in alsa-lib, too
* Wed Jun 04 2008 rodrigo@suse.de
- Added alsa-pulse.conf as configuration file for GNOME installs
(bnc#394177)
* Mon Jun 02 2008 meissner@suse.de
- added baselibs.conf, so 32bit programs get the pulse-alsa
wrapper plugin too.
* Mon May 26 2008 rodrigo@suse.de
- Removed dependency on pulseaudio, pulseaudio package now depends
on alsa-plugins-pulse to fix bnc#394177
* Mon May 26 2008 rodrigo@suse.de
- Added asound-pulse.conf to contain configuration for the ALSA
PulseAudio plugin (bnc#394177)
* Mon Mar 10 2008 tiwai@suse.de
- remove some useless asserts in pulse plugin that cause crashes
* Fri Feb 08 2008 tiwai@suse.de
- updated to version 1.0.16-final:
* just a version bump
* Tue Jan 22 2008 tiwai@suse.de
- updated to version 1.0.16rc1:
* just a version bump
* Fri Jan 11 2008 rodrigo@suse.de
- Depend on libpulse-devel, not pulseaudio-devel
* Fri Dec 14 2007 tiwai@suse.de
- several bug fixes for pulse plugin
* fix buffer size handling
* handle XRUN properly (requireing the latest alsa-lib)
* Mon Oct 29 2007 tiwai@suse.de
- fix invalid assert call in pulse plugin
* Tue Oct 16 2007 tiwai@suse.de
- updated to version 1.0.15:
* including all previous fixes
* Tue Aug 14 2007 tiwai@suse.de
- Fix speex resampler plugin bugs
* Mon Jul 30 2007 tiwai@suse.de
- HG patch (as of 2007.07.28)
* build modules with -no-undefined option
* fix speex resampler bug in 4times upsampling
* fix the noise at beginning of playback with samplerate
plugin
* Tue Jun 05 2007 tiwai@suse.de
- updated to version 1.0.14-final:
including previous HG fixes
* Thu May 24 2007 tiwai@suse.de
- HG snapshot as of 2007.05.24:
* configure option to specify plugin directory
* possible to link with external libspeex
* Wed May 02 2007 tiwai@suse.de
- updated to version 1.0.14rc4:
including HG fixes
* Tue Apr 10 2007 tiwai@suse.de
- split samplerate to subpackage (the sole GPL-only module).
- fixed licenses on PDB.
* Tue Apr 03 2007 tiwai@suse.de
- Add explicitly jack and pulseaudio to Requires of each sub
package.
* Wed Mar 14 2007 tiwai@suse.de
- updated to version 1.0.14rc3:
* fix input/output_frames calculation in samplerate plugin
* added speex rsampler plugin
* Thu Feb 08 2007 tiwai@suse.de
- update to version 1.0.14rc2 - just repackaging from 1.0.14rc1a
- split internal sub package to its own spec file
* Tue Dec 19 2006 tiwai@suse.de
- updated to version 1.0.14rc1:
* clean up polyp plugin
* added maemo plugin
- add conditional for internal build (#224415)
* Fri Aug 04 2006 tiwai@suse.de
- updated to version 1.0.12rc2:
the previous patches were merged to upstream
* Wed Jul 12 2006 tiwai@suse.de
- rename from polyp to pulse plugin, as polypaudio is renamed
to pulseaudio.
* Tue Jul 04 2006 tiwai@suse.de
- updated to version 1.0.12rc1:
the previous HG patches were merged
* Thu Jun 08 2006 tiwai@suse.de
- new plugins: polyp and a52
- split to sub-packages: jack, polyp and a52
* Mon May 15 2006 tiwai@suse.de
- updated to version 1.0.11.
* new samplerate plugins
* misc bugfixes for JACK plugins
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Dec 14 2005 tiwai@suse.de
- updated to 1.0.10-final.
* Wed Oct 12 2005 tiwai@suse.de
- removed glib* from neededforbuild.
* Wed Oct 12 2005 tiwai@suse.de
- updated to version 1.0.10rc1.
* Thu Jun 02 2005 tiwai@suse.de
- initial version: 1.0.9.