Split out the mostly obsolete DVB firmware

This commit is contained in:
Peter Robinson 2023-04-19 12:02:14 +01:00
parent eed4d6f8c4
commit 361eb5033f

View File

@ -359,6 +359,17 @@ Requires: linux-firmware-whence
%description -n netronome-firmware
Firmware for Netronome Smart NICs
# Random other hardware
%package -n dvb-firmware
Summary: Firmware for various DVB broadcast receivers
License: Redistributable, no modification permitted
Requires: linux-firmware-whence
%description -n dvb-firmware
Firmware for various DVB broadcast receivers. These include the
Siano DTV devices, devices based on Conexant chipsets (cx18,
cx23885, cx23840, cx231xx), Xceive xc4000/xc5000, DiBcom dib0700,
Terratec H5 DRX-K, ITEtech IT9135 Ax and Bx, and av7110.
%prep
%autosetup -p1
@ -416,12 +427,17 @@ sed \
-i -e '/^ath9k_htc/d' \
-i -e '/^ath10k/d' \
-i -e '/^ath11k/d' \
-i -e '/^av7110/d' \
-i -e '/^brcm/d' \
-i -e '/^cmmb/d' \
-i -e '/^cypress/d' \
-i -e '/^dvb/d' \
-i -e '/^i915/d' \
-i -e '/^isdbt/d' \
-i -e '/^iwlwifi/d' \
-i -e '/^nvidia\/g/d' \
-i -e '/^nvidia\/tu/d' \
-i -e '/^lgs8g75/d' \
-i -e '/^libertas\/sd8686/d' \
-i -e '/^libertas\/usb8388/d' \
-i -e '/^liquidio/d' \
@ -439,6 +455,9 @@ sed \
-i -e '/^rtlwifi/d' \
-i -e '/^rtw88/d' \
-i -e '/^rtw89/d' \
-i -e '/^sms1xxx/d' \
-i -e '/^tdmb/d' \
-i -e '/^v4l-cx2/d' \
linux-firmware.files
sed -i -e 's!^!/usr/lib/firmware/!' linux-firmware.{files,dirs}
sed -i -e 's/^/"/;s/$/"/' linux-firmware.files
@ -637,6 +656,20 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
%dir %{_firmwarepath}/netronome
%{_firmwarepath}/netronome/*
# Random other hardware
%files -n dvb-firmware
%license LICENSE.dib0700 LICENCE.it913x LICENCE.siano
%license LICENCE.xc4000 LICENCE.xc5000 LICENCE.xc5000c
%dir %{_firmwarepath}/av7110/
%{_firmwarepath}/av7110/*
%{_firmwarepath}/cmmb*
%{_firmwarepath}/dvb*
%{_firmwarepath}/isdbt*
%{_firmwarepath}/lgs8g75*
%{_firmwarepath}/sms1xxx*
%{_firmwarepath}/tdmb*
%{_firmwarepath}/v4l-cx2*
%changelog
* Sun Apr 09 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 20230404-149
- Split Realtek, Qcom Atheros, Mediatek, brcmfmac WiFi/BT firmwares to subpackages