228 lines
5.6 KiB
RPMSpec
228 lines
5.6 KiB
RPMSpec
#
|
|
# 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: 5
|
|
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
|
|
Requires: pulseaudio
|
|
|
|
%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
|