File alsa-ucm-conf.spec of Package alsa-ucm-conf.39424
#
# spec file for package alsa-ucm-conf
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: alsa-ucm-conf
Version: 1.2.10
Release: 0
Summary: ALSA UCM Profiles
License: BSD-3-Clause
URL: https://www.alsa-project.org
Source: %{url}/files/pub/lib/alsa-ucm-conf-%{version}.tar.bz2
Source1: %{url}/files/pub/lib/alsa-ucm-conf-%{version}.tar.bz2.sig
# from https://www.alsa-project.org/files/pub/gpg-release-key-v1.txt
Source2: alsa-ucm-conf.keyring
Patch1: 0001-SplitPCM-Device-argument-may-not-be-set.patch
Patch2: 0002-common-add-led.conf-with-SetLED-macro-to-hide-implem.patch
Patch3: 0003-ucm2-use-new-SetLED-macro-to-hide-the-implementation.patch
Patch4: 0004-ucm2-HDA-HiFi-analog-mic-Refactor-the-analog-mic-dis.patch
Patch5: 0005-ucm2-HDA-remove-HDA-Capture-value.conf-and-put-conte.patch
Patch6: 0006-HDA-move-led.conf-include-to-more-appropriate-place.patch
Patch7: 0007-HDA-mics-prefer-Mic-Jack-instead-Headphone-Jack.patch
Patch8: 0008-HDA-mics-improve-the-Jack-selection.patch
Patch9: 0009-HDA-mics-don-t-create-conflict-link-for-Headphone-Mi.patch
Patch10: 0010-acppdmmach-add-support-for-ACP-7.0.patch
BuildRequires: fdupes
BuildArch: noarch
Requires: libasound2 >= 1.2.6.1
%description
This package contains the profiles files for ALSA UCM (Use Case Manager).
%prep
%autosetup -p1
find . -name ".gitignore" -delete
%build
%install
mkdir -p %{buildroot}%{_datadir}/alsa
cp -a ucm %{buildroot}%{_datadir}/alsa/
cp -a ucm2 %{buildroot}%{_datadir}/alsa/
%fdupes -s %{buildroot}
%files
%doc README.md
%license LICENSE
%{_datadir}/alsa
%changelog