From 0ea2e252a7f10f58f36e83b42f159d68c2837ef2 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 05 2019 19:43:01 +0000 Subject: import alsa-utils-1.1.9-1.el8 --- diff --git a/.alsa-utils.metadata b/.alsa-utils.metadata index 9bf146f..86408f5 100644 --- a/.alsa-utils.metadata +++ b/.alsa-utils.metadata @@ -1 +1 @@ -62d07a089cb702ad93deed570d8dd77f6e6a7aae SOURCES/alsa-utils-1.1.6.tar.bz2 +9aee48df54a6df7519f50b9b62a13217e2a91bf8 SOURCES/alsa-utils-1.1.9.tar.bz2 diff --git a/.gitignore b/.gitignore index d806072..e39d9b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/alsa-utils-1.1.6.tar.bz2 +SOURCES/alsa-utils-1.1.9.tar.bz2 diff --git a/SPECS/alsa-utils.spec b/SPECS/alsa-utils.spec index 0022f8b..d29d4cc 100644 --- a/SPECS/alsa-utils.spec +++ b/SPECS/alsa-utils.spec @@ -1,11 +1,11 @@ -%define baseversion 1.1.6 +%define baseversion 1.1.9 #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: GPLv2+ Group: Applications/Multimedia URL: http://www.alsa-project.org/ @@ -17,11 +17,13 @@ Source11: alsactl.conf Source20: alsa-restore.service Source22: alsa-state.service +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 +35,24 @@ Requires: alsa-lib%{?_isa} >= %{baseversion} This package contains command line utilities for the Advanced Linux Sound Architecture (ALSA). +%package -n alsa-ucm-utils +Summary: Advanced Linux Sound Architecture (ALSA) - Use Case Manager +Group: Applications/Multimedia +Requires: alsa-ucm >= %{baseversion} + +%description -n alsa-ucm-utils +This package contains Use Case Manager tools for Advanced Linux Sound +Architecture (ALSA) framework. + +%package -n alsa-topology-utils +Summary: Advanced Linux Sound Architecture (ALSA) - Topology +Group: Applications/Multimedia +Requires: alsa-topology >= %{baseversion} + +%description -n alsa-topology-utils +This package contains topology tools for Advanced Linux Sound +Architecture (ALSA) framework. + %package alsabat Summary: Advanced Linux Sound Architecture (ALSA) - Basic Audio Tester Group: Applications/Multimedia @@ -59,13 +79,15 @@ make install DESTDIR=%{buildroot} # Install ALSA udev rules mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d install -p -m 644 %{SOURCE10} %{buildroot}/%{_prefix}/lib/udev/rules.d/90-alsa-restore.rules +sed -e 's,@bindir@,%{_bindir},g' alsaucm/89-alsa-ucm.rules.in > alsaucm/89-alsa-ucm.rules +install -p -m 644 alsaucm/89-alsa-ucm.rules %{buildroot}/%{_prefix}/lib/udev/rules.d/89-alsa-ucm.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 # 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 @@ -84,16 +106,16 @@ install -p -m 644 %{SOURCE11} %{buildroot}/etc/alsa mkdir -p -m 755 %{buildroot}/var/lib/alsa %files -f %{name}.lang -%doc COPYING ChangeLog README TODO +%doc COPYING ChangeLog README.md TODO %config /etc/alsa/* %{_prefix}/lib/udev/rules.d/* +%exclude %{_prefix}/lib/udev/rules.d/*alsa-ucm* %{_unitdir}/* %{_unitdir}/sound.target.wants/* %{_prefix}/lib/alsa/init/* %{_bindir}/aconnect %{_bindir}/alsaloop %{_bindir}/alsamixer -%{_bindir}/alsaucm %{_bindir}/alsaunmute %{_bindir}/amidi %{_bindir}/amixer @@ -103,6 +125,7 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa %{_bindir}/arecordmidi %{_bindir}/aseqdump %{_bindir}/aseqnet +%{_bindir}/axfer %{_bindir}/iecset %{_bindir}/speaker-test %{_bindir}/alsatplg @@ -122,6 +145,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 +158,18 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa %dir %{_prefix}/lib/alsa/init/ %dir /var/lib/alsa/ +%files -n alsa-ucm-utils +%{_prefix}/lib/udev/rules.d/*alsa-ucm* +%{_bindir}/alsaucm +%{_mandir}/man1/alsaucm.1.gz + +%files -n alsa-topology-utils +%{_bindir}/alsatplg +%{_mandir}/man1/alsatplg.1.gz + %files alsabat %{_bindir}/alsabat +%{_sbindir}/alsabat-test.sh %{_mandir}/man1/alsabat.1.gz %pre @@ -159,6 +195,9 @@ fi %systemd_postun_with_restart alsa-state.service %changelog +* Wed May 22 2019 Jaroslav Kysela - 1.1.9-1 +- Updated to 1.1.9 + * Tue Apr 03 2018 Jaroslav Kysela - 1.1.6-1 - Updated to 1.1.6