Accepting request 972947 from home:dirkmueller:Factory

- refresh spec file
- add gpg validation, use https

OBS-URL: https://build.opensuse.org/request/show/972947
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-firmware?expand=0&rev=44
This commit is contained in:
Takashi Iwai 2022-05-10 08:31:08 +00:00 committed by Git OBS Bridge
parent 6aadf67e35
commit 77df59a3d1
4 changed files with 103 additions and 55 deletions

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE8E31BzesGohMSz1xg4BZbablnJEFAl+PGLwACgkQg4BZbabl
nJFAyg/+LuTRuu6sOJxCOZ7V/B6aj98y/mKGbcRosk5fyYEOeYpaqPwVGjOR6MuH
/3HzmqdozfPDB5G6dRpzTGH0uiCkcjYb6X1/2I3rh6AtV4y0jSkvlCx0rof8sRnW
9WTFCYCy6IIVdHRqyStZoD3gsHOdZQ3n/KfAjsP/Y7G9LR2Utcf73yyPA2HEo1MJ
KrYFRtNcm7NX/BeFBzFjjKY8zqD7CckPX2xRoNq80NVJ9R1eprv46Ib5z3yY1XKM
ipdYfPQhZbn1NnWPuYUSMCzsbECaH0I6v63JE9KCrD1FtyaT4wSj3Iw7CJwWTeyT
DTjmffbZOL8hUu3+f8bvgvsJKgq7CuWKTIxUmH0wwNgWkWRZCmTyZxG/Hn1V/PwT
t4F6y389kVtwCkx3UPtFC+eQUnrbJNCeI7Y7XTL96o1Uslti5QadkrheaH3qBCQa
uvn8LjVbWaZf7caZbUln4ZsXATg6+Lkc5h1EOehQfyWsbH4F77Vec4URFA2KLa4X
d/KZE9eJBcWDQVoaB/vVs/5ud+/dNK07CyTzO/EogDLPr/PtNDaaO1yNLMZ2r4ei
ljjJ2UQ9roRE9jrOyWi40GentiYC1iFYfILqlgA4+dfrVZX7HcRCgSLHjoS9VCbX
qbsrw762ixOdOzz2iG6qQEJuASz6Soa5GYLGt6ZOXrQw5c+VYOY=
=LIww
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 26 16:11:36 UTC 2022 - Dirk Müller <dmueller@suse.com>
- refresh spec file
- add gpg validation, use https
-------------------------------------------------------------------
Thu Nov 26 13:51:31 CET 2020 - tiwai@suse.de

29
alsa-firmware.keyring Normal file
View File

@ -0,0 +1,29 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF+PBUIBEACQ0eLhY6zJkZCztI3Zj7GiEkGyDYXFr10wMn2BmAxXEOhvGs5C
XtZYokNnYnojU2ehb14pdQiIYVm7YwjNjPhFmc6DnSJ74tlDtzI0ZfZYgU8B3/AU
hHCIe7NeH+uqaS4hQ4gQF3HB19GNQ21keQPtm/cZzNvkAwWQ6wxiIas/odQGt6sg
TULub4gXQw42iCW0jNeliNgeOc/4/2qtznN+Ss5G+Hs+EBh0kFCG4+5RcpgtKmYO
LEy+8qI/UmlgOeT+47eTXm4LjxHfRuKcbvSExfICUB5XLD2ZmeZbFyP48jkDvB7w
A4jNfImtlRfTvoviNlOl08Pk3aJoPR8IZIGw+EQCf3ChXTziadqOg37SAy4yGJ14
BjirKgBNO4zB+lkLOAknsVKJOKRt3w54MevCuj0GGbfSyErZAeHvliXrfBa1ACLu
c2ynRDR/5j0FA3vPzRsHyOGFC4F34W5BhkXCuJBG2o2VDv/zANzjg/hw+0IbmH3G
kYn73EDIaz5giKJolE32WaWkz39DwuuoUaLLyfxyiN+c0p2/XQFCrOSqHNUMfI5z
Ll62nL1XruF6u9ApLKRv/uDJN7tLgds83rteYJP7/5/JSYCPB8PcUkmhB8OoVdpr
tYI8C/6Y6KREm3Jk4AdkySIFnPXZQCkiOR2qOmAuaQPeesjsrSkUtJYZcwARAQAB
tEVBTFNBIFJlbGVhc2UgVGVhbSAoUGFja2FnZSBTaWduaW5nIEtleSB2MSkgPHJl
bGVhc2VAYWxzYS1wcm9qZWN0Lm9yZz6JAk4EEwEIADgWIQTwTfUHN6waiExLPXGD
gFltpuWckQUCX48FQgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRCDgFlt
puWckRhVD/45DNoD79lHBJEu0Wv93OSlPZDUKR+BnkkdEDgDEhTvk+Bin/EWdb3g
Unc+rEczgAqjqblLH7ndBtFZPNGiQ2nu8eAdN0TrOFQx7bFg4Do7KXNUUqdPUETC
AgkozF3ucsgOcBbv6LwwDfdQDFjkg7CuNGy8CRcLSO5dLK7domq3RxF5mKl1dkOv
4brfw6ssn+pja/jkgM9BKt80ycIDiJtVRuXMBJD19ZB8EzQO9OQBdAPERSG8BwLX
LemTLAZqNd0mixVbn50qCQil64UOkOd5DHVBBokxgtlJEcDujqWaCUYSygSiP2ke
44ArDr7hRwG5KhhbFOigXo3nBYnKyiuWs0jpnrTQD9+uTxcetyBpJ6BW/i/Fy2a9
NBFNhbDI07rCMXM25cLP8qbI5i6nTSDlkpLP40At9yUVYt8gIO6ZpGpO04/lAhT1
NxtbZkKMo1nphMHU/MDSusoHyLxUXpppdbXTdMgsuFrXae3gcFDowQbLZqb6ZAJ5
opX4sDBIdoHDBsI6wCGTV7AAWB8RXWW0RTYMkyIxqixiiB2N2jaau4yHfqv9QWOY
oPcx6ySKqGN0HV50PeRis5eeq7kHIdRrVIOBd0tPIqCKIvyJZk1QXReKvvE84Km2
dYPusBlhhF7/4WVovlE6HFwyLSOyb32m4qf5dV35op07ew8i4DHpkQ==
=n4lM
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
#
# spec file for package alsa-firmware
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,60 +19,58 @@
%if 0%{?suse_version} < 1550
%define _firmwaredir /lib/firmware
%endif
Name: alsa-firmware
URL: http://www.alsa-project.org/
Summary: Firmware Data Files for ALSA
# BuildRequires: automake
License: GPL-2.0-or-later
Group: Hardware/Other
BuildRequires: fdupes
%if 0%{?suse_version} > 1220
BuildRequires: pkgconfig
BuildRequires: pkgconfig(udev)
%endif
Version: 1.2.4
Release: 0
Source: ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-%{version}.tar.bz2
Source1: usx2yaudio.rules
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: alsa
# for asihpi
Supplements: modalias(pci:v0000104Cd0000AC60sv0000175Csd*bc*sc*i*)
Supplements: modalias(pci:v0000104Cd0000A106sv0000175Csd*bc*sc*i*)
# for ca0132
Supplements: modalias(pci:v00001102d00000010sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001102d00000012sv*sd*bc*sc*i*)
# for cs46xx
Supplements: modalias(pci:v00001013d00006004sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001013d00006003sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001013d00006001sv*sd*bc*sc*i*)
# for echoaudio
Supplements: modalias(pci:v00001057d00001801sv0000ECC0sd*bc*sc*i*)
Supplements: modalias(pci:v00001057d00003410sv0000ECC0sd*bc*sc*i*)
# for emu10k1
Supplements: modalias(pci:v00001102d00000008sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001102d00000004sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001102d00000002sv*sd*bc*sc*i*)
# for hdsp
Supplements: modalias(pci:v000010EEd00003FC5sv*sd*bc*sc*i*)
# for mixart
Supplements: modalias(pci:v00001057d00000003sv*sd*bc*sc*i*)
# for pcxhr
Supplements: modalias(pci:v000010B5d00009056sv00001369sd*bc*sc*i*)
# for usx2y
Supplements: modalias(usb:v1604p8005d*dc*dsc*dp*ic*isc*ip*in*)
Supplements: modalias(usb:v1604p8007d*dc*dsc*dp*ic*isc*ip*in*)
Supplements: modalias(usb:v1604p8001d*dc*dsc*dp*ic*isc*ip*in*)
# for vx
Supplements: modalias(pci:v000010B5d00009030sv00001369sd*bc*sc*i*)
Supplements: modalias(pci:v000010B5d00009050sv00001369sd*bc*sc*i*)
%if 0%{?suse_version} > 1220
%define _udevdir %(pkg-config --variable=udevdir udev)
%else
%define _udevdir /etc/udev
%define _udevdir %{_sysconfdir}/udev
%endif
Name: alsa-firmware
Version: 1.2.4
Release: 0
Summary: Firmware Data Files for ALSA
License: GPL-2.0-or-later
Group: Hardware/Other
URL: https://www.alsa-project.org/
Source: https://www.alsa-project.org/files/pub/firmware/alsa-firmware-%{version}.tar.bz2
Source1: usx2yaudio.rules
Source100: https://www.alsa-project.org/files/pub/firmware/alsa-firmware-%{version}.tar.bz2.sig
Source101: alsa-firmware.keyring
BuildRequires: fdupes
Requires: alsa
Supplements: modalias(pci:v00001013d00006001sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001013d00006003sv*sd*bc*sc*i*)
# for cs46xx
Supplements: modalias(pci:v00001013d00006004sv*sd*bc*sc*i*)
Supplements: modalias(pci:v0000104Cd0000A106sv0000175Csd*bc*sc*i*)
# for asihpi
Supplements: modalias(pci:v0000104Cd0000AC60sv0000175Csd*bc*sc*i*)
# for mixart
Supplements: modalias(pci:v00001057d00000003sv*sd*bc*sc*i*)
# for echoaudio
Supplements: modalias(pci:v00001057d00001801sv0000ECC0sd*bc*sc*i*)
Supplements: modalias(pci:v00001057d00003410sv0000ECC0sd*bc*sc*i*)
# for vx
Supplements: modalias(pci:v000010B5d00009030sv00001369sd*bc*sc*i*)
Supplements: modalias(pci:v000010B5d00009050sv00001369sd*bc*sc*i*)
# for pcxhr
Supplements: modalias(pci:v000010B5d00009056sv00001369sd*bc*sc*i*)
# for hdsp
Supplements: modalias(pci:v000010EEd00003FC5sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001102d00000002sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001102d00000004sv*sd*bc*sc*i*)
# for emu10k1
Supplements: modalias(pci:v00001102d00000008sv*sd*bc*sc*i*)
# for ca0132
Supplements: modalias(pci:v00001102d00000010sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001102d00000012sv*sd*bc*sc*i*)
Supplements: modalias(usb:v1604p8001d*dc*dsc*dp*ic*isc*ip*in*)
# for usx2y
Supplements: modalias(usb:v1604p8005d*dc*dsc*dp*ic*isc*ip*in*)
Supplements: modalias(usb:v1604p8007d*dc*dsc*dp*ic*isc*ip*in*)
BuildArch: noarch
%if 0%{?suse_version} > 1220
BuildRequires: pkgconfig
BuildRequires: pkgconfig(udev)
%endif
%description
@ -87,10 +85,10 @@ Various firmware data files for ALSA drivers.
--enable-loader \
--enable-hotplug \
--with-hotplug-dir=%{_firmwaredir}
make %{?_smp_mflags}
%make_build
%install
make DESTDIR="%{buildroot}" install
%make_install
# remove duplicated entries that are already in kernel-firmware package
rm -f %{buildroot}%{_firmwaredir}/ctefx.bin
rm -f %{buildroot}%{_firmwaredir}/ctspeq.bin
@ -144,7 +142,6 @@ install -D -c -m 0644 %{SOURCE1} %{buildroot}%{_udevdir}/rules.d/52-usx2yaudio.r
%fdupes -s %{buildroot}
%files
%defattr(-, root, root)
%doc %{_docdir}/%{name}
%license %{_licensedir}/%{name}
%{_firmwaredir}/*