Compare commits

...

8 Commits

Author SHA1 Message Date
CentOS Sources 15597a6ade import alsa-utils-1.2.8-1.el8 2023-05-16 07:09:05 +00:00
CentOS Sources d8d32e73dd import alsa-utils-1.2.7-1.el8 2022-11-08 11:41:00 +00:00
CentOS Sources 7b13dfa4de import alsa-utils-1.2.6-1.el8 2022-05-10 07:31:42 +00:00
CentOS Sources 4a6cfb4cf2 import alsa-utils-1.2.5-3.el8 2021-12-08 12:17:36 +00:00
CentOS Sources c6843a5f0b import alsa-utils-1.2.4-2.el8 2021-09-09 14:38:19 +00:00
CentOS Sources 70162b7494 import alsa-utils-1.2.3-1.el8 2021-09-09 14:38:16 +00:00
CentOS Sources b9c2ab2520 import alsa-utils-1.2.1-2.el8 2021-09-09 14:38:13 +00:00
CentOS Sources ce664b0293 import alsa-utils-1.1.9-1.el8 2021-09-09 14:38:10 +00:00
4 changed files with 97 additions and 8 deletions

View File

@ -1 +1 @@
62d07a089cb702ad93deed570d8dd77f6e6a7aae SOURCES/alsa-utils-1.1.6.tar.bz2
d6cf080d84c96ab0904fe7f74edadac7d77d47c3 SOURCES/alsa-utils-1.2.8.tar.bz2

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/alsa-utils-1.1.6.tar.bz2
SOURCES/alsa-utils-1.2.8.tar.bz2

0
SOURCES/alsa-git.patch Normal file
View File

View File

@ -1,11 +1,16 @@
%define baseversion 1.1.6
%define baseversion 1.2.8
#define fixversion .2
%global _hardened_build 1
%if 0%{?rhel}
%global _without_ucm 1
%global _without_topology 1
%endif
Summary: Advanced Linux Sound Architecture (ALSA) utilities
Name: alsa-utils
Version: %{baseversion}%{?fixversion}
Release: 2%{?dist}
Release: 1%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL: http://www.alsa-project.org/
@ -16,12 +21,15 @@ Source10: alsa.rules
Source11: alsactl.conf
Source20: alsa-restore.service
Source22: alsa-state.service
Patch1: alsa-git.patch
BuildRequires: gcc
BuildRequires: alsa-lib-devel >= %{baseversion}
BuildRequires: libsamplerate-devel
BuildRequires: ncurses-devel
BuildRequires: gettext-devel
BuildRequires: xmlto
BuildRequires: python3-docutils
BuildRequires: systemd
Requires(post): systemd
Requires(preun): systemd
@ -33,6 +41,32 @@ Requires: alsa-lib%{?_isa} >= %{baseversion}
This package contains command line utilities for the Advanced Linux Sound
Architecture (ALSA).
%if 0%{!?_without_ucm:1}
%package -n alsa-ucm-utils
Summary: Advanced Linux Sound Architecture (ALSA) - Use Case Manager
Group: Applications/Multimedia
Requires: alsa-ucm >= %{baseversion}
%endif
%if 0%{!?_without_ucm:1}
%description -n alsa-ucm-utils
This package contains Use Case Manager tools for Advanced Linux Sound
Architecture (ALSA) framework.
%endif
%if 0%{!?_without_topology:1}
%package -n alsa-topology-utils
Summary: Advanced Linux Sound Architecture (ALSA) - Topology
Group: Applications/Multimedia
Requires: alsa-topology >= %{baseversion}
%endif
%if 0%{!?_without_topology:1}
%description -n alsa-topology-utils
This package contains topology tools for Advanced Linux Sound
Architecture (ALSA) framework.
%endif
%package alsabat
Summary: Advanced Linux Sound Architecture (ALSA) - Basic Audio Tester
Group: Applications/Multimedia
@ -44,6 +78,7 @@ Architecture (ALSA) framework and Fast Fourier Transform library.
%prep
%setup -q -n %{name}-%{version}
%patch1 -p1 -b .alsa-git
%build
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --disable-alsaconf \
@ -65,7 +100,7 @@ install -p -m 644 %{SOURCE22} %{buildroot}/%{_unitdir}/alsa-state.service
# Install support utilities
mkdir -p -m755 %{buildroot}/%{_bindir}
install -p -m 755 alsaunmute %{buildroot}/%{_bindir}
install -p -m 755 %{SOURCE4} %{buildroot}/%{_bindir}
mkdir -p -m755 %{buildroot}/%{_mandir}/man1
install -p -m 644 %{SOURCE5} %{buildroot}/%{_mandir}/man1/alsaunmute.1
@ -83,8 +118,20 @@ install -p -m 644 %{SOURCE11} %{buildroot}/etc/alsa
# Create /var/lib/alsa tree
mkdir -p -m 755 %{buildroot}/var/lib/alsa
find %{buildroot} -name "*.la" -exec rm {} \;
%if 0%{?_without_ucm:1}
rm %{buildroot}%{_bindir}/alsaucm
rm %{buildroot}%{_mandir}/man1/alsaucm.1
%endif
%if 0%{?_without_topology:1}
rm %{buildroot}%{_bindir}/alsatplg
rm %{buildroot}%{_mandir}/man1/alsatplg.1
rm %{buildroot}%{_libdir}/alsa-topology/libalsatplg_module_*
%endif
%files -f %{name}.lang
%doc COPYING ChangeLog README TODO
%doc COPYING ChangeLog README.md TODO alsamixer/alsamixer.rc.example
%config /etc/alsa/*
%{_prefix}/lib/udev/rules.d/*
%{_unitdir}/*
@ -93,7 +140,6 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
%{_bindir}/aconnect
%{_bindir}/alsaloop
%{_bindir}/alsamixer
%{_bindir}/alsaucm
%{_bindir}/alsaunmute
%{_bindir}/amidi
%{_bindir}/amixer
@ -103,9 +149,9 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
%{_bindir}/arecordmidi
%{_bindir}/aseqdump
%{_bindir}/aseqnet
%{_bindir}/axfer
%{_bindir}/iecset
%{_bindir}/speaker-test
%{_bindir}/alsatplg
%{_sbindir}/*
%{_datadir}/alsa/
%{_datadir}/sounds/*
@ -122,6 +168,9 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
%{_mandir}/man1/arecordmidi.1.gz
%{_mandir}/man1/aseqdump.1.gz
%{_mandir}/man1/aseqnet.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
@ -132,8 +181,22 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
%dir %{_prefix}/lib/alsa/init/
%dir /var/lib/alsa/
%if 0%{!?_without_ucm:1}
%files -n alsa-ucm-utils
%{_bindir}/alsaucm
%{_mandir}/man1/alsaucm.1.gz
%endif
%if 0%{!?_without_topology:1}
%files -n alsa-topology-utils
%{_bindir}/alsatplg
%{_mandir}/man1/alsatplg.1.gz
%{_libdir}/alsa-topology/libalsatplg_module_*
%endif
%files alsabat
%{_bindir}/alsabat
%{_sbindir}/alsabat-test.sh
%{_mandir}/man1/alsabat.1.gz
%pre
@ -159,6 +222,32 @@ fi
%systemd_postun_with_restart alsa-state.service
%changelog
* Tue Oct 25 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.8-1
- Updated to 1.2.8
- Do not build alsa-ucm-utils and alsa-topology-utils subpackages for RHEL
* Fri Jul 8 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.7-1
- Updated to 1.2.7
* Mon Dec 20 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.6-1
- Updated to 1.2.6
* Mon Jun 14 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.5-3
- Updated to 1.2.5
* Mon Jun 8 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.4-2
- Updated to 1.2.4
- Apply fixes from recent upstream
* Mon Jun 8 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.3-1
- Updated to 1.2.3
* Fri Nov 15 2019 Jaroslav Kysela <perex@perex.cz> - 1.2.1-2
- Updated to 1.2.1
* Wed May 22 2019 Jaroslav Kysela <perex@perex.cz> - 1.1.9-1
- Updated to 1.1.9
* Tue Apr 03 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-1
- Updated to 1.1.6