diff --git a/alsa-plugins.spec b/alsa-plugins.spec index 8230da3..292f91f 100644 --- a/alsa-plugins.spec +++ b/alsa-plugins.spec @@ -1,26 +1,21 @@ %if 0%{?rhel} -%bcond_with avtp %bcond_with jack -%bcond_with ffmpeg %else -%bcond_without avtp %bcond_without jack -%bcond_without ffmpeg %endif Name: alsa-plugins -Version: 1.2.12 -Release: 6%{?dist} +Version: 1.2.7.1 +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 @@ -31,10 +26,11 @@ This package includes plugins for ALSA. %if %{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 @@ -44,8 +40,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, @@ -54,10 +52,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 @@ -66,18 +65,20 @@ 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 @@ -85,9 +86,10 @@ The upmix plugin is an easy-to-use plugin for upmixing to 4 or 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 @@ -97,7 +99,7 @@ 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 @@ -105,7 +107,7 @@ 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 @@ -115,7 +117,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 @@ -124,46 +126,14 @@ 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 @@ -181,14 +151,13 @@ autoreconf -vif 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} %files jack %license COPYING COPYING.GPL %doc doc/README-jack -%dir %{_sysconfdir}/alsa %dir %{_sysconfdir}/alsa/conf.d %config(noreplace) %{_sysconfdir}/alsa/conf.d/50-jack.conf %dir %{_datadir}/alsa/alsa.conf.d @@ -200,7 +169,6 @@ find %{buildroot} -name "*.la" -delete %files oss %license COPYING COPYING.GPL %doc doc/README-pcm-oss -%dir %{_sysconfdir}/alsa %dir %{_sysconfdir}/alsa/conf.d %config(noreplace) %{_sysconfdir}/alsa/conf.d/50-oss.conf %dir %{_datadir}/alsa/alsa.conf.d @@ -216,7 +184,6 @@ find %{buildroot} -name "*.la" -delete %{_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 @@ -226,7 +193,6 @@ find %{buildroot} -name "*.la" -delete %files samplerate %license COPYING COPYING.GPL %doc doc/samplerate.txt -%dir %{_sysconfdir}/alsa %dir %{_sysconfdir}/alsa/conf.d %config(noreplace) %{_sysconfdir}/alsa/conf.d/10-samplerate.conf %dir %{_datadir}/alsa/alsa.conf.d @@ -241,7 +207,6 @@ find %{buildroot} -name "*.la" -delete %files upmix %license COPYING COPYING.GPL %doc doc/upmix.txt -%dir %{_sysconfdir}/alsa %dir %{_sysconfdir}/alsa/conf.d %config(noreplace) %{_sysconfdir}/alsa/conf.d/60-upmix.conf %dir %{_datadir}/alsa/alsa.conf.d @@ -252,7 +217,6 @@ find %{buildroot} -name "*.la" -delete %files vdownmix %license COPYING COPYING.GPL %doc doc/vdownmix.txt -%dir %{_sysconfdir}/alsa %dir %{_sysconfdir}/alsa/conf.d %config(noreplace) %{_sysconfdir}/alsa/conf.d/60-vdownmix.conf %dir %{_datadir}/alsa/alsa.conf.d @@ -262,7 +226,6 @@ find %{buildroot} -name "*.la" -delete %files usbstream %license COPYING COPYING.GPL -%dir %{_sysconfdir}/alsa %dir %{_sysconfdir}/alsa/conf.d %config(noreplace) %{_sysconfdir}/alsa/conf.d/98-usb-stream.conf %dir %{_datadir}/alsa/alsa.conf.d @@ -273,7 +236,6 @@ find %{buildroot} -name "*.la" -delete %files arcamav %license COPYING COPYING.GPL %doc doc/README-arcam-av -%dir %{_sysconfdir}/alsa %dir %{_sysconfdir}/alsa/conf.d %config(noreplace) %{_sysconfdir}/alsa/conf.d/50-arcam-av-ctl.conf %dir %{_datadir}/alsa/alsa.conf.d @@ -284,7 +246,6 @@ find %{buildroot} -name "*.la" -delete %files speex %license COPYING COPYING.GPL %doc doc/speexdsp.txt doc/speexrate.txt -%dir %{_sysconfdir}/alsa %dir %{_sysconfdir}/alsa/conf.d %config(noreplace) %{_sysconfdir}/alsa/conf.d/10-speexrate.conf %config(noreplace) %{_sysconfdir}/alsa/conf.d/60-speex.conf @@ -300,7 +261,6 @@ find %{buildroot} -name "*.la" -delete %files maemo %license COPYING COPYING.GPL %doc doc/README-maemo -%dir %{_sysconfdir}/alsa %dir %{_sysconfdir}/alsa/conf.d %config(noreplace) %{_sysconfdir}/alsa/conf.d/98-maemo.conf %dir %{_datadir}/alsa/alsa.conf.d @@ -309,89 +269,8 @@ 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 -* Wed Oct 01 2025 Dominik Mierzejewski - 1.2.12-6 -- Rebuilt for FFmpeg 8 - -* Wed Jul 23 2025 Fedora Release Engineering - 1.2.12-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Thu Jan 16 2025 Fedora Release Engineering - 1.2.12-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Mon Sep 23 2024 Fabio Valentini - 1.2.12-3 -- Rebuild for ffmpeg 7 - -* Wed Jul 17 2024 Fedora Release Engineering - 1.2.12-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Tue Jun 11 2024 Jaroslav Kysela - 1.2.12-1 -- Updated to 1.2.12 - -* Mon Jan 22 2024 Fedora Release Engineering - 1.2.7.1-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 1.2.7.1-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Aug 25 2023 Yaakov Selkowitz - 1.2.7.1-8 -- Disable avtp plugin in RHEL builds - -* Wed Jul 19 2023 Fedora Release Engineering - 1.2.7.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue Jun 6 2023 Jaroslav Kysela - 1.2.7.1-6 -- change to SPDX licenses - -* Sun Mar 12 2023 Neal Gompa - 1.2.7.1-5 -- Rebuild for ffmpeg 6.0 - -* Mon Mar 6 2023 Jaroslav Kysela - 1.2.7.1-4 -- Enable avtp plugin - Peter Robinson -- Enable a52 and lavrate plugins - Yaakov Selkowitz -- Remove or soften excess dependendencies - Yaakov Selkowitz -- CI test & RHEL cleanups - -* Wed Jan 18 2023 Fedora Release Engineering - 1.2.7.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Wed Jul 20 2022 Fedora Release Engineering - 1.2.7.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - * Fri Jun 17 2022 Jaroslav Kysela - 1.2.7.1-1 - Updated to 1.2.7.1 diff --git a/sources b/sources index 53faed0..5daf78e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (alsa-plugins-1.2.12.tar.bz2) = b2064eb32662662f422f6e7c71f503d82c68d7a7059c8197bdd61ee08735b3ee104c6a5f9e3451e81124634514b91fc89d05d33041d9c2bb0f55b3c2ac3271b1 +SHA512 (alsa-plugins-1.2.7.1.tar.bz2) = 437c05a7e0175594768fd6a9a6d1a158bb4a01a7de6a42c2bd468d9381e01b64d385ddfac7d87baf84fe13cb4e65dc24da643940f416d4b191c528728822d964 diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 8148361..ff02118 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -2,9 +2,6 @@ set -ex -# install speaker-test -dnf install -y alsa-utils - # create patest user adduser patest