Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0865e82978 | ||
|
|
989f10b20d | ||
|
|
fac88de544 |
3 changed files with 21 additions and 18 deletions
|
|
@ -1,21 +1,21 @@
|
|||
%define baseversion 1.2.12
|
||||
%define baseversion 1.2.14
|
||||
#define fixversion .2
|
||||
%global _hardened_build 1
|
||||
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||
Name: alsa-utils
|
||||
Version: %{baseversion}%{?fixversion}
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
URL: http://www.alsa-project.org/
|
||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
|
||||
#Patch1: alsa-utils-git.patch
|
||||
Source4: alsaunmute
|
||||
Source5: alsaunmute.1
|
||||
Source10: alsa.rules
|
||||
Source11: alsactl.conf
|
||||
Source20: alsa-restore.service
|
||||
Source22: alsa-state.service
|
||||
#Patch1: alsa-git.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: autoconf automake libtool
|
||||
|
|
@ -63,13 +63,15 @@ Architecture (ALSA) framework and Fast Fourier Transform library.
|
|||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
#patch -P 1 -p1 -b .alsa-git
|
||||
%patch -P1 -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} .
|
||||
|
||||
|
|
@ -79,9 +81,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
|
||||
|
|
@ -113,7 +114,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
|
||||
|
|
@ -123,8 +124,10 @@ 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
|
||||
|
|
@ -145,8 +148,10 @@ 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
|
||||
|
|
@ -156,7 +161,7 @@ find %{buildroot} -name "*.la" -exec rm {} \;
|
|||
%{_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 +206,12 @@ fi
|
|||
%systemd_postun_with_restart alsa-state.service
|
||||
|
||||
%changelog
|
||||
* Mon Apr 14 2025 Jaroslav Kysela <perex@perex.cz> - 1.2.14-1
|
||||
* Updated to 1.2.14
|
||||
|
||||
* Thu Nov 14 2024 Jaroslav Kysela <perex@perex.cz> - 1.2.13-2
|
||||
* Updated to 1.2.13
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (alsa-utils-1.2.12.tar.bz2) = 6631f9f8e32fbb1f7b06af086cdfb8349c2d70188c4509ab46fa105024fbde9985985d9cc738c7b5a743cacaaeae7a7006f8ef92f66a50762f7df5d714bf548b
|
||||
SHA512 (alsa-utils-1.2.14.tar.bz2) = dd470a2f5210822cc4d3ded094b84721a07904df5c32dd329e0cb4c052d39e3e6d7ddb511cde2d23b3f6824c71fba9dbdca369355d5c03b234e989dbbb9b7a95
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue