File alsa-plugins.spec of Package alsa-plugins

#
# spec file for package alsa-plugins (Version 1.0.16)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           alsa-plugins
BuildRequires:  alsa-devel dbus-1-devel jack-devel libpulse-devel libsamplerate-devel
%define package_version	1.0.16
Url:            http://www.alsa-project.org/
Summary:        Extra Plug-Ins for the ALSA Library
Version:        1.0.16
Release:        51
License:        BSD 3-Clause; 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
Patch:          alsa-plugins-hg-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>

%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>

%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>

%prep
%setup -q -n %{name}-%{package_version}
%patch -p1

%build
%{?suse_update_config:%{suse_update_config -f}}
autoreconf -fi
%configure
make

%install
make DESTDIR="$RPM_BUILD_ROOT" install
mkdir -p %{buildroot}/etc/
%__install -m 0644 %_sourcedir/asound-pulse.conf %{buildroot}/etc/
# 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/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_rate_speexrate*.so

%files jack
%defattr(-, root, root)
%doc COPYING
%doc doc/README-jack
%{_libdir}/alsa-lib/libasound_module_pcm_jack.so

%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
/etc/asound-pulse.conf

%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

%changelog
* 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.
openSUSE Build Service is sponsored by