diff --git a/.alsa-utils.metadata b/.alsa-utils.metadata index 4a71998..a954f9e 100644 --- a/.alsa-utils.metadata +++ b/.alsa-utils.metadata @@ -1 +1 @@ -b7b07e0c7c041c02d1ad2ba05537a2570d02320d SOURCES/alsa-utils-1.2.7.tar.bz2 +d6cf080d84c96ab0904fe7f74edadac7d77d47c3 SOURCES/alsa-utils-1.2.8.tar.bz2 diff --git a/.gitignore b/.gitignore index 0be32fd..4c2206b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/alsa-utils-1.2.7.tar.bz2 +SOURCES/alsa-utils-1.2.8.tar.bz2 diff --git a/SPECS/alsa-utils.spec b/SPECS/alsa-utils.spec index 64ebe7c..52bb83e 100644 --- a/SPECS/alsa-utils.spec +++ b/SPECS/alsa-utils.spec @@ -1,7 +1,12 @@ -%define baseversion 1.2.7 +%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} @@ -36,23 +41,31 @@ 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 @@ -107,6 +120,16 @@ 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.md TODO alsamixer/alsamixer.rc.example %config /etc/alsa/* @@ -158,14 +181,18 @@ find %{buildroot} -name "*.la" -exec rm {} \; %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 @@ -195,11 +222,15 @@ fi %systemd_postun_with_restart alsa-state.service %changelog +* Tue Oct 25 2022 Jaroslav Kysela - 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 - 1.2.7-1 -* Updated to 1.2.7 +- Updated to 1.2.7 * Mon Dec 20 2021 Jaroslav Kysela - 1.2.6-1 -* Updated to 1.2.6 +- Updated to 1.2.6 * Mon Jun 14 2021 Jaroslav Kysela - 1.2.5-3 - Updated to 1.2.5