diff --git a/.alsa-lib.metadata b/.alsa-lib.metadata index 284bb7c..94af904 100644 --- a/.alsa-lib.metadata +++ b/.alsa-lib.metadata @@ -1,3 +1,2 @@ -839e6b32dcfed7a335e150cd8be6071cd2c1ffbd SOURCES/alsa-lib-1.2.7.2.tar.bz2 -8c1d225b9fe108797349e8d0cb6161271aab0f50 SOURCES/alsa-topology-conf-1.2.5.tar.bz2 -ca89963b2a61acde1d091d7d58d8af8c3a921c99 SOURCES/alsa-ucm-conf-1.2.7.2.tar.bz2 +1271796a37df0bb11b2cb06ad6e7428a009ca012 SOURCES/alsa-lib-1.2.8.tar.bz2 +69313df69892c02bbe70e10c2e88c4b34e716b3d SOURCES/alsa-ucm-conf-1.2.8.tar.bz2 diff --git a/.gitignore b/.gitignore index 2b38d3c..3ddbd40 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -SOURCES/alsa-lib-1.2.7.2.tar.bz2 -SOURCES/alsa-topology-conf-1.2.5.tar.bz2 -SOURCES/alsa-ucm-conf-1.2.7.2.tar.bz2 +SOURCES/alsa-lib-1.2.8.tar.bz2 +SOURCES/alsa-ucm-conf-1.2.8.tar.bz2 diff --git a/SPECS/alsa-lib.spec b/SPECS/alsa-lib.spec index 76adc68..0ec3fac 100644 --- a/SPECS/alsa-lib.spec +++ b/SPECS/alsa-lib.spec @@ -2,10 +2,14 @@ #define prever_dot .rc3 #define postver a -%define version_alsa_lib 1.2.7.2 -%define version_alsa_ucm 1.2.7.2 +%define version_alsa_lib 1.2.8 +%define version_alsa_ucm 1.2.8 %define version_alsa_tplg 1.2.5 +%if 0%{?rhel} +%global _without_topology 1 +%endif + Summary: The Advanced Linux Sound Architecture (ALSA) library Name: alsa-lib Version: %{version_alsa_lib} @@ -16,7 +20,9 @@ URL: http://www.alsa-project.org/ Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}%{?postver}.tar.bz2 Source1: ftp://ftp.alsa-project.org/pub/lib/alsa-ucm-conf-%{version_alsa_ucm}.tar.bz2 +%if 0%{!?_without_topology:1} Source2: ftp://ftp.alsa-project.org/pub/lib/alsa-topology-conf-%{version_alsa_tplg}.tar.bz2 +%endif Source10: asound.conf Source11: modprobe-dist-alsa.conf Source12: modprobe-dist-oss.conf @@ -61,16 +67,20 @@ Requires: %{name} >= %{version_alsa_lib} The Advanced Linux Sound Architecture (ALSA) Universal Configuration Manager allows configuration of Audio input/output names and routing +%if 0%{!?_without_topology:1} %package -n alsa-topology Summary: ALSA Topology configuration Group: System Environment/Libraries BuildArch: noarch License: BSD Requires: %{name} >= %{version_alsa_lib} +%endif +%if 0%{!?_without_topology:1} %description -n alsa-topology The Advanced Linux Sound Architecture (ALSA) topology configuration contains alsa-lib configuration of SoC topology +%endif %prep %setup -q -n %{name}-%{version}%{?prever}%{?postver} @@ -116,7 +126,9 @@ patch -d %{buildroot}/%{_datadir}/alsa -p1 < %{SOURCE20} mkdir -p %{buildroot}/%{_datadir}/alsa/topology # Unpack topologies +%if 0%{!?_without_topology:1} tar xvjf %{SOURCE2} -C %{buildroot}/%{_datadir}/alsa --strip-components=1 "*/topology" +%endif # Remove libtool archives. find %{buildroot} -name '*.la' -delete @@ -158,11 +170,17 @@ rm %{buildroot}/%{_includedir}/asoundlib.h %{_datadir}/alsa/ucm %{_datadir}/alsa/ucm2 +%if 0%{!?_without_topology:1} %files -n alsa-topology # BSD %{_datadir}/alsa/topology +%endif %changelog +* Mon Oct 24 2022 Jaroslav Kysela - 1.2.8-1 +- update to alsa-lib 1.2.8 and alsa-ucm-conf 1.2.8 +- remove alsa-topology package for rhel + * Fri Jul 8 2022 Jaroslav Kysela - 1.2.7.2-1 - Updated to 1.2.7.2