import alsa-lib-1.2.8-2.el8

This commit is contained in:
CentOS Sources 2023-05-16 06:08:27 +00:00 committed by Stepan Oksanichenko
parent 83b8ff8532
commit 608f2d1ea7
5 changed files with 3214 additions and 9 deletions

View File

@ -1,3 +1,2 @@
839e6b32dcfed7a335e150cd8be6071cd2c1ffbd SOURCES/alsa-lib-1.2.7.2.tar.bz2 1271796a37df0bb11b2cb06ad6e7428a009ca012 SOURCES/alsa-lib-1.2.8.tar.bz2
8c1d225b9fe108797349e8d0cb6161271aab0f50 SOURCES/alsa-topology-conf-1.2.5.tar.bz2 69313df69892c02bbe70e10c2e88c4b34e716b3d SOURCES/alsa-ucm-conf-1.2.8.tar.bz2
ca89963b2a61acde1d091d7d58d8af8c3a921c99 SOURCES/alsa-ucm-conf-1.2.7.2.tar.bz2

5
.gitignore vendored
View File

@ -1,3 +1,2 @@
SOURCES/alsa-lib-1.2.7.2.tar.bz2 SOURCES/alsa-lib-1.2.8.tar.bz2
SOURCES/alsa-topology-conf-1.2.5.tar.bz2 SOURCES/alsa-ucm-conf-1.2.8.tar.bz2
SOURCES/alsa-ucm-conf-1.2.7.2.tar.bz2

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,21 +2,27 @@
#define prever_dot .rc3 #define prever_dot .rc3
#define postver a #define postver a
%define version_alsa_lib 1.2.7.2 %define version_alsa_lib 1.2.8
%define version_alsa_ucm 1.2.7.2 %define version_alsa_ucm 1.2.8
%define version_alsa_tplg 1.2.5 %define version_alsa_tplg 1.2.5
%if 0%{?rhel}
%global _without_topology 1
%endif
Summary: The Advanced Linux Sound Architecture (ALSA) library Summary: The Advanced Linux Sound Architecture (ALSA) library
Name: alsa-lib Name: alsa-lib
Version: %{version_alsa_lib} Version: %{version_alsa_lib}
Release: 1%{?prever_dot}%{?dist} Release: 2%{?prever_dot}%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.alsa-project.org/ URL: http://www.alsa-project.org/
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}%{?postver}.tar.bz2 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 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 Source2: ftp://ftp.alsa-project.org/pub/lib/alsa-topology-conf-%{version_alsa_tplg}.tar.bz2
%endif
Source10: asound.conf Source10: asound.conf
Source11: modprobe-dist-alsa.conf Source11: modprobe-dist-alsa.conf
Source12: modprobe-dist-oss.conf Source12: modprobe-dist-oss.conf
@ -61,16 +67,20 @@ Requires: %{name} >= %{version_alsa_lib}
The Advanced Linux Sound Architecture (ALSA) Universal Configuration The Advanced Linux Sound Architecture (ALSA) Universal Configuration
Manager allows configuration of Audio input/output names and routing Manager allows configuration of Audio input/output names and routing
%if 0%{!?_without_topology:1}
%package -n alsa-topology %package -n alsa-topology
Summary: ALSA Topology configuration Summary: ALSA Topology configuration
Group: System Environment/Libraries Group: System Environment/Libraries
BuildArch: noarch BuildArch: noarch
License: BSD License: BSD
Requires: %{name} >= %{version_alsa_lib} Requires: %{name} >= %{version_alsa_lib}
%endif
%if 0%{!?_without_topology:1}
%description -n alsa-topology %description -n alsa-topology
The Advanced Linux Sound Architecture (ALSA) topology configuration The Advanced Linux Sound Architecture (ALSA) topology configuration
contains alsa-lib configuration of SoC topology contains alsa-lib configuration of SoC topology
%endif
%prep %prep
%setup -q -n %{name}-%{version}%{?prever}%{?postver} %setup -q -n %{name}-%{version}%{?prever}%{?postver}
@ -116,7 +126,9 @@ patch -d %{buildroot}/%{_datadir}/alsa -p1 < %{SOURCE20}
mkdir -p %{buildroot}/%{_datadir}/alsa/topology mkdir -p %{buildroot}/%{_datadir}/alsa/topology
# Unpack topologies # Unpack topologies
%if 0%{!?_without_topology:1}
tar xvjf %{SOURCE2} -C %{buildroot}/%{_datadir}/alsa --strip-components=1 "*/topology" tar xvjf %{SOURCE2} -C %{buildroot}/%{_datadir}/alsa --strip-components=1 "*/topology"
%endif
# Remove libtool archives. # Remove libtool archives.
find %{buildroot} -name '*.la' -delete find %{buildroot} -name '*.la' -delete
@ -158,11 +170,17 @@ rm %{buildroot}/%{_includedir}/asoundlib.h
%{_datadir}/alsa/ucm %{_datadir}/alsa/ucm
%{_datadir}/alsa/ucm2 %{_datadir}/alsa/ucm2
%if 0%{!?_without_topology:1}
%files -n alsa-topology %files -n alsa-topology
# BSD # BSD
%{_datadir}/alsa/topology %{_datadir}/alsa/topology
%endif
%changelog %changelog
* Thu Jan 5 2023 Jaroslav Kysela <perex@perex.cz> - 1.2.8-2
- 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 <perex@perex.cz> - 1.2.7.2-1 * Fri Jul 8 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.7.2-1
- Updated to 1.2.7.2 - Updated to 1.2.7.2