Compare commits

...

No commits in common. 'i10c-beta' and 'c9' have entirely different histories.

@ -1,26 +1,21 @@
%if 0%{?rhel}
%bcond_with avtp
%bcond_with jack
%bcond_with ffmpeg
%define with_jack 0
%else
%bcond_without avtp
%bcond_without jack
%bcond_without ffmpeg
%define with_jack 1
%endif
Name: alsa-plugins
Version: 1.2.7.1
Release: 11%{?dist}
Release: 1%{?dist}
Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
# All packages are LGPL-2.1-or-later with the exception of samplerate
# which is GPL-2.0-or-later, pph plugin is BSD-3-Clause licensed
License: GPL-2.0-or-later and LGPL-2.1-or-later and BSD-3-Clause
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
# pph plugin is BSD-like licensed
License: GPLv2+ and LGPLv2+ and BSD
URL: http://www.alsa-project.org/
Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
Patch0: alsa-git.patch
BuildRequires: autoconf automake libtool
BuildRequires: make
BuildRequires: alsa-lib-devel
%description
@ -29,13 +24,13 @@ functionality to the Linux operating system.
This package includes plugins for ALSA.
%if %{with jack}
%if 0%{?with_jack}
%package jack
Recommends: jack-audio-connection-kit
Requires: alsa-utils
Requires: jack-audio-connection-kit
BuildRequires: jack-audio-connection-kit-devel
Summary: Jack PCM output plugin for ALSA
License: LGPL-2.1-or-later
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
@ -44,9 +39,10 @@ This plugin provides the PCM type "jack"
%endif
%package oss
Requires: alsa-utils
BuildRequires: alsa-lib-devel
Summary: Oss PCM output plugin for ALSA
License: LGPL-2.1-or-later
License: LGPLv2+
%description oss
This plugin converts the ALSA API over OSS API. With this plugin,
ALSA native apps can run on OSS drivers.
@ -54,11 +50,11 @@ ALSA native apps can run on OSS drivers.
This plugin provides the PCM type "oss".
%package pulseaudio
Recommends: pulseaudio-daemon
Requires: alsa-utils
Requires: pulseaudio-daemon
BuildRequires: pulseaudio-libs-devel
Summary: Alsa to PulseAudio backend
License: LGPL-2.1-or-later
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
@ -66,29 +62,29 @@ sound across a network. There are two plugins in the suite, one for PCM and
one for mixer control.
%package samplerate
Requires: alsa-utils
BuildRequires: libsamplerate-devel
Summary: External rate converter plugin for ALSA
License: GPL-2.0-or-later
License: GPLv2+
%description samplerate
This plugin is an external rate converter using libsamplerate by Erik de
Castro Lopo.
%package upmix
Requires: alsa-utils
BuildRequires: libsamplerate-devel
Summary: Upmixer channel expander plugin for ALSA
License: LGPL-2.1-or-later
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
Requires: alsa-utils
BuildRequires: libsamplerate-devel
Summary: Downmixer to stereo plugin for ALSA
License: LGPL-2.1-or-later
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
@ -97,16 +93,14 @@ surround".
%package usbstream
Summary: USB stream plugin for ALSA
License: LGPL-2.1-or-later
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
License: LGPL-2.1-or-later
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.
@ -115,8 +109,7 @@ This plugin exposes the controls for an Arcam AV amplifier
Requires: speex speexdsp
BuildRequires: speex-devel speexdsp-devel
Summary: Rate Converter Plugin Using Speex Resampler
License: LGPL-2.1-or-later
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
@ -124,48 +117,16 @@ pre-processing of a mono stream like denoise using libspeex DSP API.
%package maemo
BuildRequires: dbus-devel
BuildRequires: make
Summary: Maemo plugin for ALSA
License: LGPL-2.1-or-later
License: LGPLv2+
%description maemo
This plugin converts the ALSA API over PCM task nodes protocol. In this way,
ALSA native applications can run over DSP Gateway and use DSP PCM task nodes.
%if %{with avtp}
%package avtp
BuildRequires: libavtp-devel
Summary: Audio Video Transport Protocol (AVTP) plugin for ALSA
License: LGPL-2.1-or-later
%description avtp
This plugin supports Audio Video Transport Protocol (AVTP) as specified in
IEEE 1722-2016 spec. AVTP is part of the Audio/Video Broadcast using TSN.
%endif
%if %{with ffmpeg}
%package a52
BuildRequires: ffmpeg-free-devel
Obsoletes: alsa-plugins-freeworld-a52 <= %{version}-%{release}
Summary: A52 output plugin for ALSA using libavcodec
License: LGPL-2.1-or-later
%description a52
This plugin converts S16 linear format to A52 compressed stream and
send to an SPDIF output. It requires libavcodec for encoding the
audio stream.
%package lavrate
BuildRequires: ffmpeg-free-devel
Obsoletes: alsa-plugins-freeworld-lavrate <= %{version}-%{release}
Summary: Rate converter plugin for ALSA using libavcodec
License: LGPL-2.1-or-later
%description lavrate
The plugin uses ffmpeg audio resample library to convert audio rates.
%endif
%prep
%autosetup -n %{name}-%{version}%{?prever} -p1
%setup -q -n %{name}-%{version}%{?prever}
%patch0 -p1 -b .alsa-git
%build
autoreconf -vif
@ -173,22 +134,24 @@ autoreconf -vif
--with-speex=lib \
--enable-maemo-plugin \
--enable-maemo-resource-manager
%make_build
make %{?_smp_mflags}
%install
%make_install
make install DESTDIR=%{buildroot}
mv %{buildroot}%{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf.example \
%{buildroot}%{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf
find %{buildroot} -name "*.la" -delete
find %{buildroot} -name "*.la" -exec rm {} \;
%if %{with jack}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%if 0%{?with_jack}
%files jack
%license COPYING COPYING.GPL
%doc doc/README-jack
%dir %{_sysconfdir}/alsa
%doc COPYING COPYING.GPL doc/README-jack
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-jack.conf
%dir %{_datadir}/alsa/alsa.conf.d
@ -198,9 +161,7 @@ find %{buildroot} -name "*.la" -delete
%endif
%files oss
%license COPYING COPYING.GPL
%doc doc/README-pcm-oss
%dir %{_sysconfdir}/alsa
%doc COPYING COPYING.GPL doc/README-pcm-oss
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-oss.conf
%dir %{_datadir}/alsa/alsa.conf.d
@ -210,13 +171,11 @@ find %{buildroot} -name "*.la" -delete
%{_libdir}/alsa-lib/libasound_module_pcm_oss.so
%files pulseaudio
%license COPYING COPYING.GPL
%doc doc/README-pulse
%doc COPYING COPYING.GPL doc/README-pulse
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
%{_libdir}/alsa-lib/libasound_module_conf_pulse.so
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-pulseaudio.conf
%config(noreplace) %{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf
@ -224,9 +183,7 @@ find %{buildroot} -name "*.la" -delete
%{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf
%files samplerate
%license COPYING COPYING.GPL
%doc doc/samplerate.txt
%dir %{_sysconfdir}/alsa
%doc COPYING COPYING.GPL doc/samplerate.txt
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/10-samplerate.conf
%dir %{_datadir}/alsa/alsa.conf.d
@ -239,9 +196,7 @@ find %{buildroot} -name "*.la" -delete
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so
%files upmix
%license COPYING COPYING.GPL
%doc doc/upmix.txt
%dir %{_sysconfdir}/alsa
%doc COPYING COPYING.GPL doc/upmix.txt
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-upmix.conf
%dir %{_datadir}/alsa/alsa.conf.d
@ -250,9 +205,7 @@ find %{buildroot} -name "*.la" -delete
%{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
%files vdownmix
%license COPYING COPYING.GPL
%doc doc/vdownmix.txt
%dir %{_sysconfdir}/alsa
%doc COPYING COPYING.GPL doc/vdownmix.txt
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-vdownmix.conf
%dir %{_datadir}/alsa/alsa.conf.d
@ -261,8 +214,7 @@ find %{buildroot} -name "*.la" -delete
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
%files usbstream
%license COPYING COPYING.GPL
%dir %{_sysconfdir}/alsa
%doc COPYING COPYING.GPL
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/98-usb-stream.conf
%dir %{_datadir}/alsa/alsa.conf.d
@ -271,9 +223,7 @@ find %{buildroot} -name "*.la" -delete
%{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so
%files arcamav
%license COPYING COPYING.GPL
%doc doc/README-arcam-av
%dir %{_sysconfdir}/alsa
%doc COPYING COPYING.GPL doc/README-arcam-av
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-arcam-av-ctl.conf
%dir %{_datadir}/alsa/alsa.conf.d
@ -282,9 +232,7 @@ find %{buildroot} -name "*.la" -delete
%{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
%files speex
%license COPYING COPYING.GPL
%doc doc/speexdsp.txt doc/speexrate.txt
%dir %{_sysconfdir}/alsa
%doc COPYING COPYING.GPL doc/speexdsp.txt doc/speexrate.txt
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/10-speexrate.conf
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-speex.conf
@ -298,9 +246,7 @@ find %{buildroot} -name "*.la" -delete
%{_libdir}/alsa-lib/libasound_module_rate_speexrate_medium.so
%files maemo
%license COPYING COPYING.GPL
%doc doc/README-maemo
%dir %{_sysconfdir}/alsa
%doc COPYING COPYING.GPL doc/README-maemo
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/98-maemo.conf
%dir %{_datadir}/alsa/alsa.conf.d
@ -309,92 +255,17 @@ find %{buildroot} -name "*.la" -delete
%{_libdir}/alsa-lib/libasound_module_ctl_dsp_ctl.so
%{_libdir}/alsa-lib/libasound_module_pcm_alsa_dsp.so
%if %{with avtp}
%files avtp
%license COPYING COPYING.GPL
%{_libdir}/alsa-lib/libasound_module_pcm_aaf.so
%endif
%if %{with ffmpeg}
%files a52
%license COPYING COPYING.GPL
%doc doc/a52.txt
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-a52-encoder.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/60-a52-encoder.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_a52.so
%files lavrate
%license COPYING COPYING.GPL
%doc doc/lavrate.txt
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/10-rate-lav.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/10-rate-lav.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_rate_lavrate.so
%{_libdir}/alsa-lib/libasound_module_rate_lavrate_fast.so
%{_libdir}/alsa-lib/libasound_module_rate_lavrate_faster.so
%{_libdir}/alsa-lib/libasound_module_rate_lavrate_high.so
%{_libdir}/alsa-lib/libasound_module_rate_lavrate_higher.so
%endif
%changelog
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.2.7.1-11
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.7.1-11
- Bump release for June 2024 mass rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Aug 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.2.7.1-8
- Disable avtp plugin in RHEL builds
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 6 2023 Jaroslav Kysela <perex@perex.cz> - 1.2.7.1-6
- change to SPDX licenses
* Sun Mar 12 2023 Neal Gompa <ngompa@fedoraproject.org> - 1.2.7.1-5
- Rebuild for ffmpeg 6.0
* Mon Mar 6 2023 Jaroslav Kysela <perex@perex.cz> - 1.2.7.1-4
- Enable avtp plugin - Peter Robinson <pbrobinson@fedoraproject.org>
- Enable a52 and lavrate plugins - Yaakov Selkowitz <yselkowi@redhat.com>
- Remove or soften excess dependendencies - Yaakov Selkowitz <yselkowi@redhat.com>
- CI test & RHEL cleanups
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.7.1-1
* Sat Jul 9 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.7.1-1
- Updated to 1.2.7.1
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Dec 6 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.6-1
- Updated to 1.2.6
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.2-7
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Sun May 30 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.5-1
- Updated to 1.2.5
- Modernize the spec file (Neal Gompa)
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.2-6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save