Import from AlmaLinux stable repository
This commit is contained in:
parent
7c1ee25621
commit
b929111e5c
@ -1 +1 @@
|
||||
ac85272e043435f20ac1f4d389e44482cd2e2fb3 SOURCES/alsa-utils-1.2.10.tar.bz2
|
||||
13ddedefc9392ea334aa963dc1bc10c9b498973c SOURCES/alsa-utils-1.2.14.tar.bz2
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/alsa-utils-1.2.10.tar.bz2
|
||||
SOURCES/alsa-utils-1.2.14.tar.bz2
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,8 +0,0 @@
|
||||
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*", GOTO="alsa_restore_go"
|
||||
GOTO="alsa_restore_end"
|
||||
|
||||
LABEL="alsa_restore_go"
|
||||
TEST!="/etc/alsa/state-daemon.conf", RUN+="/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore /dev/$name"
|
||||
TEST=="/etc/alsa/state-daemon.conf", RUN+="/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main nrestore /dev/$name"
|
||||
|
||||
LABEL="alsa_restore_end"
|
||||
13
SOURCES/gettext-version.patch
Normal file
13
SOURCES/gettext-version.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 4532778..d272bce 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -8,7 +8,7 @@ AM_INIT_AUTOMAKE([subdir-objects])
|
||||
AM_MAINTAINER_MODE([enable])
|
||||
|
||||
AM_GNU_GETTEXT([external])
|
||||
-AM_GNU_GETTEXT_VERSION([0.22.5])
|
||||
+AM_GNU_GETTEXT_VERSION([0.19.8])
|
||||
|
||||
dnl Checks for programs.
|
||||
|
||||
@ -1,24 +1,25 @@
|
||||
%define baseversion 1.2.10
|
||||
%define baseversion 1.2.14
|
||||
%define libversion 1.2.13
|
||||
#define fixversion .2
|
||||
%global _hardened_build 1
|
||||
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||
Name: alsa-utils
|
||||
Version: %{baseversion}%{?fixversion}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
URL: http://www.alsa-project.org/
|
||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
|
||||
Patch1: alsa-utils-git.patch
|
||||
URL: https://www.alsa-project.org/
|
||||
Source: https://ftp.alsa-project.org/files/pub/utils/alsa-utils-%{version}.tar.bz2
|
||||
Source4: alsaunmute
|
||||
Source5: alsaunmute.1
|
||||
Source10: alsa.rules
|
||||
Source11: alsactl.conf
|
||||
Source20: alsa-restore.service
|
||||
Source22: alsa-state.service
|
||||
Patch1: gettext-version.patch
|
||||
#Patch2: alsa-git.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: alsa-lib-devel >= %{baseversion}
|
||||
BuildRequires: gcc
|
||||
BuildRequires: alsa-lib-devel >= %{libversion}
|
||||
BuildRequires: libsamplerate-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: gettext-devel
|
||||
@ -30,9 +31,9 @@ Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
# use latest alsa-lib - the executables in this package requires latest API
|
||||
Requires: alsa-lib%{?_isa} >= %{baseversion}
|
||||
Requires: alsa-lib%{?_isa} >= %{libversion}
|
||||
%ifnarch s390x
|
||||
Requires: alsa-ucm >= %{baseversion}
|
||||
Requires: alsa-ucm >= %{libversion}
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -48,7 +49,7 @@ Architecture (ALSA) framework.
|
||||
|
||||
%package -n alsa-topology-utils
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) - Topology
|
||||
Requires: alsa-topology >= %{baseversion}
|
||||
Requires: alsa-topology >= %{libversion}
|
||||
|
||||
%description -n alsa-topology-utils
|
||||
This package contains topology tools for Advanced Linux Sound
|
||||
@ -65,13 +66,16 @@ Architecture (ALSA) framework and Fast Fourier Transform library.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch1 -p1 -b .alsa-git
|
||||
%patch -P1 -p1 -b .gettext
|
||||
#patch -P2 -p1 -b .alsa-git
|
||||
|
||||
%build
|
||||
autoreconf -vif
|
||||
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --disable-alsaconf \
|
||||
--with-udev-rules-dir=%{_prefix}/lib/udev/rules.d \
|
||||
--with-systemdsystemunitdir=%{_unitdir}
|
||||
--with-systemdsystemunitdir=%{_unitdir} \
|
||||
--with-alsactl-udev-args="-E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main" \
|
||||
--with-alsactl-udev-extra-test=""
|
||||
make %{?_smp_mflags}
|
||||
cp %{SOURCE4} .
|
||||
|
||||
@ -81,9 +85,8 @@ cp %{SOURCE4} .
|
||||
make install DESTDIR=%{buildroot}
|
||||
%find_lang %{name}
|
||||
|
||||
# Install ALSA udev rules
|
||||
# Install ALSA udev rules and services
|
||||
mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d
|
||||
install -p -m 644 %{SOURCE10} %{buildroot}/%{_prefix}/lib/udev/rules.d/90-alsa-restore.rules
|
||||
mkdir -p %{buildroot}/%{_unitdir}
|
||||
install -p -m 644 %{SOURCE20} %{buildroot}/%{_unitdir}/alsa-restore.service
|
||||
install -p -m 644 %{SOURCE22} %{buildroot}/%{_unitdir}/alsa-state.service
|
||||
@ -115,7 +118,7 @@ find %{buildroot} -name "*.la" -exec rm {} \;
|
||||
%config /etc/alsa/*
|
||||
%{_prefix}/lib/udev/rules.d/*
|
||||
%{_unitdir}/*
|
||||
%{_unitdir}/sound.target.wants/*
|
||||
#{_unitdir}/sound.target.wants/*
|
||||
%{alsacfgdir}/init/*
|
||||
%{_bindir}/aconnect
|
||||
%{_bindir}/alsaloop
|
||||
@ -125,10 +128,13 @@ find %{buildroot} -name "*.la" -exec rm {} \;
|
||||
%{_bindir}/amixer
|
||||
%{_bindir}/aplay
|
||||
%{_bindir}/aplaymidi
|
||||
%{_bindir}/aplaymidi2
|
||||
%{_bindir}/arecord
|
||||
%{_bindir}/arecordmidi
|
||||
%{_bindir}/arecordmidi2
|
||||
%{_bindir}/aseqdump
|
||||
%{_bindir}/aseqnet
|
||||
%{_bindir}/aseqsend
|
||||
%{_bindir}/axfer
|
||||
%{_bindir}/iecset
|
||||
%{_bindir}/speaker-test
|
||||
@ -146,17 +152,20 @@ find %{buildroot} -name "*.la" -exec rm {} \;
|
||||
%{_mandir}/man1/amixer.1.gz
|
||||
%{_mandir}/man1/aplay.1.gz
|
||||
%{_mandir}/man1/aplaymidi.1.gz
|
||||
%{_mandir}/man1/aplaymidi2.1.gz
|
||||
%{_mandir}/man1/arecord.1.gz
|
||||
%{_mandir}/man1/arecordmidi.1.gz
|
||||
%{_mandir}/man1/arecordmidi2.1.gz
|
||||
%{_mandir}/man1/aseqdump.1.gz
|
||||
%{_mandir}/man1/aseqnet.1.gz
|
||||
%{_mandir}/man1/aseqsend.1.gz
|
||||
%{_mandir}/man1/axfer.1.gz
|
||||
%{_mandir}/man1/axfer-list.1.gz
|
||||
%{_mandir}/man1/axfer-transfer.1.gz
|
||||
%{_mandir}/man1/iecset.1.gz
|
||||
%{_mandir}/man1/speaker-test.1.gz
|
||||
%{_mandir}/man1/aconnect.1.gz
|
||||
%{_mandir}/man1/alsa-info.sh.1.gz
|
||||
%{_mandir}/man8/alsa-info.sh.8.gz
|
||||
%{_mandir}/man1/nhlt-dmic-info.1.gz
|
||||
|
||||
%dir /etc/alsa/
|
||||
@ -201,6 +210,15 @@ fi
|
||||
%systemd_postun_with_restart alsa-state.service
|
||||
|
||||
%changelog
|
||||
* Tue Jul 1 2025 Jaroslav Kysela <perex@perex.cz> - 1.2.14-2
|
||||
* Updated to 1.2.14
|
||||
|
||||
* Sun Dec 8 2024 Jaroslav Kysela <perex@perex.cz> - 1.2.13-1
|
||||
* Updated to 1.2.13
|
||||
|
||||
* Thu Jul 4 2024 Jaroslav Kysela <perex@perex.cz> - 1.2.12-1
|
||||
* Updated to 1.2.12
|
||||
|
||||
* Tue Dec 5 2023 Jaroslav Kysela <perex@perex.cz> - 1.2.10-1
|
||||
* Updated to 1.2.10
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user