# TODO
# - subpackages for various firmwares?
+# - (since 5.3) compress firmware: https://git.kernel.org/linus/82fd7a8142a10b8eb41313074b3859d82c0857dc
+%define rel 1
+%define ver 20200421
Summary: Firmware files used by the Linux kernel
Summary(pl.UTF-8): Pliki firmware'u używane przez jądro Linuksa
Name: linux-firmware
-Version: 20160609
-Release: 2
+Version: %{ver}
+Release: %{rel}
License: GPL+ and GPL v2+ and MIT and Redistributable, no modification permitted
Group: Base/Kernel
-Source0: http://pkgs.fedoraproject.org/repo/pkgs/linux-firmware/%{name}-%{version}.tar.gz/2bf6ad095ebdf388a99919ca2317b4aa/linux-firmware-%{version}.tar.gz
-# Source0-md5: 2bf6ad095ebdf388a99919ca2317b4aa
-URL: http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
+# in case git snapshot is needed
+#Source0: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/%{name}-%{version}.tar.gz
+# upstream tarball
+Source0: https://www.kernel.org/pub/linux/kernel/firmware/%{name}-%{version}.tar.xz
+# Source0-md5: 229a93395f4033da68429f165a62b952
+URL: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
Obsoletes: microcode-data-amd
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define no_install_post_strip 1
+
%description
This package includes firmware files required for some devices to
operate.
Ten pakiet zawiera pliki firmware'u wymagane do działania niektórych
urządzeń.
+%package -n iwl100-firmware
+Summary: Firmware for Intel(R) Wireless WiFi Link 100 Series Adapters
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii WiFi Link 100
+Version: 39.31.5.1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+
+%description -n iwl100-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl100 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl100-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl100. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl105-firmware
+Summary: Firmware for Intel(R) Centrino Wireless-N 105 Series Adapters
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii Centrino Wireless-N 105
+Version: 18.168.6.1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+
+%description -n iwl105-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl105 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl105-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl105. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl135-firmware
+Summary: Firmware for Intel(R) Centrino Wireless-N 135 Series Adapters
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii Centrino Wireless-N 135
+Version: 18.168.6.1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+
+%description -n iwl135-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl135 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl135-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl135. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl1000-firmware
+Summary: Firmware for Intel(R) PRO/Wireless 1000 B/G/N network adaptors
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii Pro/Wireless 1000 B/G/N
+Version: 39.31.5.1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+Obsoletes: iwl1000-firmware < 1:39.31.5.1-3
+Obsoletes: iwlwifi-1000-ucode
+
+%description -n iwl1000-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl1000 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl1000-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl1000. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl2000-firmware
+Summary: Firmware for Intel(R) Centrino Wireless-N 2000 Series Adapters
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii Centrino Wireless-N 2000
+Version: 18.168.6.1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+
+%description -n iwl2000-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl2000 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl2000-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl2000. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl2030-firmware
+Summary: Firmware for Intel(R) Centrino Wireless-N 2030 Series Adapters
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii Centrino Wireless-N 2030
+Version: 18.168.6.1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+
+%description -n iwl2030-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl2030 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl2030-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl2030. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl3160-firmware
+Summary: Firmware for Intel(R) Wireless WiFi Link 3160 Series Adapters
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii WiFi Link 3160
+Version: 25.30.13.0
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+
+%description -n iwl3160-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl3160 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl3160-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl3160. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl3945-firmware
+Summary: Firmware for Intel(R) PRO/Wireless 3945 A/B/G network adaptors
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii PRO/Wireless 3945 A/B/G
+Version: 15.32.2.9
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+Obsoletes: iwlwifi-3945-ucode
+
+%description -n iwl3945-firmware
+This package contains the firmware required by the iwl3945 driver for
+Linux. Usage of the firmware is subject to the terms and conditions
+contained inside the provided LICENSE file. Please read it carefully.
+
+%description -n iwl3945-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagany przez linuksowy sterownik
+iwl3945. Używanie firmware'u podlega warunkom opisanym w załączonym
+pliku LICENSE.
+
+%package -n iwl4965-firmware
+Summary: Firmware for Intel(R) PRO/Wireless 4965 A/G/N network adaptors
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii PRO/Wireless 4965 A/G/N
+Version: 228.61.2.24
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+Obsoletes: iwlwifi-4965-ucode
+
+%description -n iwl4965-firmware
+This package contains the firmware required by the iwl4965 driver for
+Linux. Usage of the firmware is subject to the terms and conditions
+contained inside the provided LICENSE file. Please read it carefully.
+
+%description -n iwl4965-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagany przez linuksowy sterownik
+iwl4965. Używanie firmware'u podlega warunkom opisanym w załączonym
+pliku LICENSE.
+
+%package -n iwl5000-firmware
+Summary: Firmware for Intel(R) PRO/Wireless 5000 A/G/N network adaptors
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii PRO/Wireless 5000 A/G/N
+Version: 8.83.5.1_1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+Obsoletes: iwlwifi-5000-ucode
+
+%description -n iwl5000-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl5000 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl5000-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl5000. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl5150-firmware
+Summary: Firmware for Intel(R) PRO/Wireless 5150 A/G/N network adaptors
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii PRO/Wireless 5150 A/G/N
+Version: 8.24.2.2
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+Obsoletes: iwlwifi-5150-ucode
+
+%description -n iwl5150-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl5150 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl5150-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl5150. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl6000-firmware
+Summary: Firmware for Intel(R) Wireless WiFi Link 6000 AGN Adapter
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii WiFi Link 6000 AGN
+Version: 9.221.4.1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+Obsoletes: iwlwifi-6000-ucode
+
+%description -n iwl6000-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl6000 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl6000-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl6000. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl6000g2a-firmware
+Summary: Firmware for Intel(R) Wireless WiFi Link 6005 Series Adapters
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii WiFi Link 6005
+Version: 18.168.6.1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+
+%description -n iwl6000g2a-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl6000g2a hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl6000g2a-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl6000g2a. Używanie firmware'u
+podlega warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl6000g2b-firmware
+Summary: Firmware for Intel(R) Wireless WiFi Link 6030 Series Adapters
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii WiFi Link 6030
+Version: 18.168.6.1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+Obsoletes: iwlwifi-6030-ucode
+
+%description -n iwl6000g2b-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl6000g2b hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl6000g2b-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl6000g2b. Używanie firmware'u
+podlega warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl6050-firmware
+Summary: Firmware for Intel(R) Wireless WiFi Link 6050 Series Adapters
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii WiFi Link 6050
+Version: 41.28.5.1
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+Obsoletes: iwlwifi-6050-ucode
+
+%description -n iwl6050-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl6050 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl6050-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl6050. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n iwl7260-firmware
+Summary: Firmware for Intel(R) Wireless WiFi Link 726x/8000/9000 Series Adapters
+Summary(pl.UTF-8): Firmware dla kart bezprzewodowych Intela z serii WiFi Link 726x/8000/9000
+Version: 25.228.9.0
+Release: %{ver}.%{rel}
+License: Redistributable, no modification permitted
+Obsoletes: iwlwifi-7260-ucode
+Conflicts: linux-firmware < 20181008-4
+
+%description -n iwl7260-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl7260 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
+%description -n iwl7260-firmware -l pl.UTF-8
+Ten pakiet zawiera firmware wymagane przez linuksowe sterowniki do
+kart bezprzewodowych Intela typu iwl7260. Używanie firmware'u podlega
+warunkom opisanym w załączonym pliku LICENSE.
+
+%package -n libertas-sd8686-firmware
+Summary: Firmware for Marvell Libertas SD 8686 Network Adapter
+Summary(pl.UTF-8): Firmware dla kart sieciowych Marvell Libertas SD 8686
+Version: 0.%{ver}
+Release: %{rel}
+License: Redistributable, no modification permitted
+Obsoletes: libertas-sd8686-firmware < 9.70.20.p0-4
+
+%description -n libertas-sd8686-firmware
+Firmware for Marvell Libertas SD 8686 Network Adapter.
+
+%description -n libertas-sd8686-firmware -l pl.UTF-8
+Firmware dla kart sieciowych Marvell Libertas SD 8686.
+
+%package -n libertas-sd8787-firmware
+Summary: Firmware for Marvell Libertas SD 8787 Network Adapter
+Summary(pl.UTF-8): Firmware dla kart sieciowych Marvell Libertas SD 8787
+Version: 0.%{ver}
+Release: %{rel}
+License: Redistributable, no modification permitted
+
+%description -n libertas-sd8787-firmware
+Firmware for Marvell Libertas SD 8787 Network Adapter.
+
+%description -n libertas-sd8787-firmware -l pl.UTF-8
+Firmware dla kart sieciowych Marvell Libertas SD 8787.
+
+%package -n libertas-usb8388-firmware
+Summary: Firmware for Marvell Libertas USB 8388 Network Adapter
+Summary(pl.UTF-8): Firmware dla kart sieciowych Marvell Libertas USB 8388
+Version: 0.%{ver}
+Release: %{rel}
+License: Redistributable, no modification permitted
+Obsoletes: libertas-usb8388-firmware < 2:5.110.22.p23-8
+
+%description -n libertas-usb8388-firmware
+Firmware for Marvell Libertas USB 8388 Network Adapter.
+
+%description -n libertas-usb8388-firmware -l pl.UTF-8
+Firmware dla kart sieciowych Marvell Libertas USB 8388.
+
+%package -n libertas-usb8388-olpc-firmware
+Summary: OLPC firmware for Marvell Libertas USB 8388 Network Adapter
+Summary(pl.UTF-8): Firmware OLPC dla kart sieciowych Marvell Libertas USB 8388
+Version: 0.%{ver}
+Release: %{rel}
+License: Redistributable, no modification permitted
+
+%description -n libertas-usb8388-olpc-firmware
+Firmware for Marvell Libertas USB 8388 Network Adapter with OLPC mesh
+network support.
+
+%description -n libertas-usb8388-olpc-firmware -l pl.UTF-8
+Firmware dla kart sieciowych Marvell Libertas USB 8388 z obsługą
+punktów sieci OLPC.
+
%prep
-%setup -qc
-mv linux-firmware-*/* .
-rmdir linux-firmware-*
+%setup -q
# Remove firmware shipped in separate packages already
# Perhaps these should be built as subpackages of linux-firmware?
# - ql{2100,2200,2300,2322,2400,2500}-firmware.spec
%{__rm} ql{2100,2200,2300,2322,2400,2500}_fw.bin LICENCE.qla2xxx
-# - iwlwifi-{1000,3945,4965,5000,5150,6000,6030,7260}-ucode.spec
-%{__rm} iwlwifi-{1000-5,3945-[12],4965-[12],5000-[125],5150-2,6000-4,6000g2b-6,7260-{7,8,9,10,12,13,16}}.ucode
-# (note: LICENCE.iwlwifi_firmware left for remaining iwlwifi files)
-# - obsolete versions of iwlwifi firmwares
-%{__rm} iwlwifi-{1000-3,6000g2a-5,6000g2b-5,6050-4}.ucode
# - alsa-firmware.spec
%{__rm} -r ess korg sb16 yamaha
# We have _some_ ralink firmware in separate packages already. (which packages???)
%{__rm} radeon/RV740_smc.bin
%{__rm} radeon/RV770_{smc,uvd}.bin
+# No need to install old firmware versions where we also provide newer versions
+# which are preferred and support the same (or more) hardware
+%{__rm} libertas/sd8686_v8*
+%{__rm} libertas/usb8388_v5.bin
+
# Remove source files we don't need to install
%{__rm} */*.asm dsp56k/{Makefile,concat-bootstrap.pl} isci/{Makefile,README,*.[ch]}
%{__rm} -r carl9170fw usbdux
%{__rm} Makefile configure
+%{__mv} rtw88/README README.rtw88
+
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/lib/firmware
-cp -a . $RPM_BUILD_ROOT/lib/firmware
-%{__rm} $RPM_BUILD_ROOT/lib/firmware/{GPL-3,LICENCE.*,LICENSE.*,README,TDA7706_OM_v*_boot.txt,WHENCE}
+
+./copy-firmware.sh $RPM_BUILD_ROOT/lib/firmware
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc WHENCE LICENCE.* LICENSE.* README TDA7706_OM_v*_boot.txt
+%doc WHENCE LICENCE.* LICENSE.* README README.rtw88 TDA7706_OM_v*_boot.txt
/lib/firmware/3com
+/lib/firmware/TDA7706_OM_v*_boot.txt
+# links to qcom/a300_*.fw
+/lib/firmware/a300_pfp.fw
+/lib/firmware/a300_pm4.fw
/lib/firmware/acenic
/lib/firmware/adaptec
/lib/firmware/advansys
/lib/firmware/agere_*_fw.bin
+/lib/firmware/amd
/lib/firmware/amdgpu
/lib/firmware/amd-ucode
/lib/firmware/ar3k
/lib/firmware/bnx2x-e1-*.fw
/lib/firmware/bnx2x-e1h-*.fw
/lib/firmware/brcm
+/lib/firmware/cadence
/lib/firmware/carl9170-1.fw
+/lib/firmware/cavium
/lib/firmware/cbfw-*.bin
/lib/firmware/cis
/lib/firmware/cmmb_*_12mhz.inp
/lib/firmware/cxgb3
/lib/firmware/cxgb4
/lib/firmware/dabusb
+%dir /lib/firmware/dpaa2
+%dir /lib/firmware/dpaa2/mc
+/lib/firmware/dpaa2/mc/mc_10.10.0_ls1088a.itb
+/lib/firmware/dpaa2/mc/mc_10.10.0_ls2088a.itb
+/lib/firmware/dpaa2/mc/mc_10.10.0_lx2160a.itb
+/lib/firmware/dpaa2/mc/mc_10.14.3_ls1088a.itb
+/lib/firmware/dpaa2/mc/mc_10.14.3_ls2088a.itb
+/lib/firmware/dpaa2/mc/mc_10.14.3_lx2160a.itb
+/lib/firmware/dpaa2/mc/mc_10.16.2_ls1088a.itb
+/lib/firmware/dpaa2/mc/mc_10.16.2_ls2088a.itb
+/lib/firmware/dpaa2/mc/mc_10.16.2_lx2160a.itb
+/lib/firmware/dpaa2/mc/mc_10.18.0_ls1088a.itb
+/lib/firmware/dpaa2/mc/mc_10.18.0_ls2088a.itb
+/lib/firmware/dpaa2/mc/mc_10.18.0_lx2160a.itb
/lib/firmware/dsp56k
/lib/firmware/dvb-fe-xc4000-*.fw
/lib/firmware/dvb-fe-xc5000c-*.fw
/lib/firmware/i2400m-fw-usb-*.sbcf
/lib/firmware/i6050-fw-usb-*.sbcf
/lib/firmware/i915
+/lib/firmware/imx
+%dir /lib/firmware/inside-secure
+%dir /lib/firmware/inside-secure/eip197_minifw
+/lib/firmware/inside-secure/eip197_minifw/ifpp.bin
+/lib/firmware/inside-secure/eip197_minifw/ipue.bin
/lib/firmware/intel
/lib/firmware/intelliport2.bin
/lib/firmware/isci
/lib/firmware/isdbt_*.inp
-/lib/firmware/iwlwifi-100-5.ucode
-/lib/firmware/iwlwifi-105-6.ucode
-/lib/firmware/iwlwifi-135-6.ucode
-/lib/firmware/iwlwifi-2000-6.ucode
-/lib/firmware/iwlwifi-2030-6.ucode
-/lib/firmware/iwlwifi-3160-10.ucode
-/lib/firmware/iwlwifi-3160-12.ucode
-/lib/firmware/iwlwifi-3160-13.ucode
-/lib/firmware/iwlwifi-3160-16.ucode
-/lib/firmware/iwlwifi-3160-7.ucode
-/lib/firmware/iwlwifi-3160-8.ucode
-/lib/firmware/iwlwifi-3160-9.ucode
-/lib/firmware/iwlwifi-3168-21.ucode
-/lib/firmware/iwlwifi-6000g2a-6.ucode
-/lib/firmware/iwlwifi-6050-5.ucode
-/lib/firmware/iwlwifi-7265-10.ucode
-/lib/firmware/iwlwifi-7265-12.ucode
-/lib/firmware/iwlwifi-7265-13.ucode
-/lib/firmware/iwlwifi-7265-16.ucode
-/lib/firmware/iwlwifi-7265-8.ucode
-/lib/firmware/iwlwifi-7265-9.ucode
-/lib/firmware/iwlwifi-7265D-10.ucode
-/lib/firmware/iwlwifi-7265D-12.ucode
-/lib/firmware/iwlwifi-7265D-13.ucode
-/lib/firmware/iwlwifi-7265D-16.ucode
-/lib/firmware/iwlwifi-7265D-21.ucode
-/lib/firmware/iwlwifi-8000C-13.ucode
-/lib/firmware/iwlwifi-8000C-16.ucode
-/lib/firmware/iwlwifi-8000C-21.ucode
-/lib/firmware/iwlwifi-8265-21.ucode
/lib/firmware/kaweth
/lib/firmware/keyspan
/lib/firmware/keyspan_pda
/lib/firmware/lbtf_usb.bin
/lib/firmware/lgs8g75.fw
-/lib/firmware/libertas
+%dir /lib/firmware/libertas
+/lib/firmware/libertas/cf8381*.bin
+/lib/firmware/libertas/cf8385*.bin
+/lib/firmware/libertas/gspi8682*.bin
+/lib/firmware/libertas/gspi8686_v9*.bin
+/lib/firmware/libertas/gspi8688*.bin
+/lib/firmware/libertas/lbtf_sdio.bin
+/lib/firmware/libertas/sd8385*.bin
+/lib/firmware/libertas/sd8682*.bin
+# links to mrvl/sd8688*
+/lib/firmware/libertas/sd8688*.bin
+/lib/firmware/libertas/usb8682.bin
/lib/firmware/liquidio
/lib/firmware/matrox
+%dir /lib/firmware/mediatek
+/lib/firmware/mediatek/mt7610e.bin
+/lib/firmware/mediatek/mt7610u.bin
+/lib/firmware/mediatek/mt7615_cr4.bin
+/lib/firmware/mediatek/mt7615_n9.bin
+/lib/firmware/mediatek/mt7615_rom_patch.bin
+/lib/firmware/mediatek/mt7622_n9.bin
+/lib/firmware/mediatek/mt7622_rom_patch.bin
+/lib/firmware/mediatek/mt7622pr2h.bin
+/lib/firmware/mediatek/mt7650e.bin
+/lib/firmware/mediatek/mt7662u.bin
+/lib/firmware/mediatek/mt7662u_rom_patch.bin
+/lib/firmware/mediatek/mt7663_n9_v3.bin
+/lib/firmware/mediatek/mt7663pr2h.bin
+/lib/firmware/mediatek/mt7668pr2h.bin
+/lib/firmware/mediatek/mt8173
+/lib/firmware/mediatek/mt8183
+/lib/firmware/meson
+%dir /lib/firmware/microchip
+/lib/firmware/microchip/mscc_vsc8574_revb_int8051_29e8.bin
+/lib/firmware/microchip/mscc_vsc8584_revb_int8051_fb48.bin
+/lib/firmware/mellanox
/lib/firmware/moxa
-/lib/firmware/mrvl
+%dir /lib/firmware/mrvl
+/lib/firmware/mrvl/pcie8897_uapsta.bin
+/lib/firmware/mrvl/pcie8997_wlan_v4.bin
+/lib/firmware/mrvl/pcieuart8997_combo_v4.bin
+/lib/firmware/mrvl/pcieusb8997_combo_v4.bin
+/lib/firmware/mrvl/sd8688*.bin
+/lib/firmware/mrvl/sd8797_uapsta.bin
+/lib/firmware/mrvl/sd8801_uapsta.bin
+/lib/firmware/mrvl/sd8887_uapsta.bin
+/lib/firmware/mrvl/sd8897_uapsta.bin
+/lib/firmware/mrvl/sdsd8977_combo_v2.bin
+/lib/firmware/mrvl/sdsd8997_combo_v4.bin
+/lib/firmware/mrvl/usb8766_uapsta.bin
+/lib/firmware/mrvl/usb8797_uapsta.bin
+/lib/firmware/mrvl/usb8801_uapsta.bin
+/lib/firmware/mrvl/usb8897_uapsta.bin
+/lib/firmware/mrvl/usbusb8997_combo_v4.bin
/lib/firmware/mt7601u.bin
/lib/firmware/mt7650.bin
+/lib/firmware/mt7662*.bin
/lib/firmware/mts_*.fw
/lib/firmware/mwl8k
/lib/firmware/mwlwifi
/lib/firmware/myri10ge_*.dat
/lib/firmware/myricom
+/lib/firmware/netronome
/lib/firmware/nvidia
/lib/firmware/ositech
/lib/firmware/qat_895xcc.bin
/lib/firmware/qat_c3xxx_mmp.bin
/lib/firmware/qat_c62x.bin
/lib/firmware/qat_c62x_mmp.bin
+# link to qat_895xcc_mmp.bin
/lib/firmware/qat_mmp.bin
/lib/firmware/qca
+/lib/firmware/qcom
%dir /lib/firmware/qed
+/lib/firmware/qed/qed_init_values-8.10.9.0.bin
+/lib/firmware/qed/qed_init_values-8.14.6.0.bin
+/lib/firmware/qed/qed_init_values-8.18.9.0.bin
+/lib/firmware/qed/qed_init_values-8.20.0.0.bin
+/lib/firmware/qed/qed_init_values-8.30.12.0.bin
+/lib/firmware/qed/qed_init_values-8.33.12.0.bin
+/lib/firmware/qed/qed_init_values-8.37.7.0.bin
+/lib/firmware/qed/qed_init_values-8.40.33.0.bin
+/lib/firmware/qed/qed_init_values_zipped-8.10.10.0.bin
/lib/firmware/qed/qed_init_values_zipped-8.10.5.0.bin
+/lib/firmware/qed/qed_init_values_zipped-8.15.3.0.bin
+/lib/firmware/qed/qed_init_values_zipped-8.20.0.0.bin
+/lib/firmware/qed/qed_init_values_zipped-8.33.1.0.bin
+/lib/firmware/qed/qed_init_values_zipped-8.33.11.0.bin
+/lib/firmware/qed/qed_init_values_zipped-8.37.2.0.bin
+/lib/firmware/qed/qed_init_values_zipped-8.37.7.0.bin
/lib/firmware/qed/qed_init_values_zipped-8.4.2.0.bin
/lib/firmware/qed/qed_init_values_zipped-8.7.3.0.bin
+/lib/firmware/qed/qed_init_values_zipped-8.42.2.0.bin
/lib/firmware/qlogic
/lib/firmware/r128
/lib/firmware/r8a779x_usb3_v1.dlmem
/lib/firmware/r8a779x_usb3_v2.dlmem
/lib/firmware/r8a779x_usb3_v3.dlmem
/lib/firmware/radeon
+%dir /lib/firmware/rockchip
+/lib/firmware/rockchip/dptx.bin
/lib/firmware/rp2.fw
+/lib/firmware/rsi
/lib/firmware/rsi_91x.fw
/lib/firmware/rt2860.bin
/lib/firmware/rt2870.bin
+# link to rt2870.bin
/lib/firmware/rt3070.bin
/lib/firmware/rt3071.bin
+# link to rt2860.bin
/lib/firmware/rt3090.bin
/lib/firmware/rt3290.bin
/lib/firmware/RTL8192E
/lib/firmware/rtl_bt
/lib/firmware/rtl_nic
/lib/firmware/rtlwifi
+%dir /lib/firmware/rtw88
+/lib/firmware/rtw88/rtw8723d_fw.bin
+/lib/firmware/rtw88/rtw8822b_fw.bin
+/lib/firmware/rtw88/rtw8822c_fw.bin
+/lib/firmware/rtw88/rtw8822c_wow_fw.bin
+# links to go7007/s2250*
/lib/firmware/s2250*.fw
/lib/firmware/s5p-mfc.fw
/lib/firmware/s5p-mfc-v6.fw
/lib/firmware/v4l-cx*.fw
/lib/firmware/vicam
/lib/firmware/vntwusb.fw
+/lib/firmware/vpu_d.bin
+/lib/firmware/vpu_p.bin
/lib/firmware/vxge
/lib/firmware/whiteheat*.fw
+/lib/firmware/wil6210.brd
+/lib/firmware/wil6210.fw
/lib/firmware/wsm_22.bin
/lib/firmware/yam
+
+%files -n iwl100-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-100-5.ucode
+
+%files -n iwl105-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-105-*.ucode
+
+%files -n iwl135-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-135-*.ucode
+
+%files -n iwl1000-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-1000-*.ucode
+
+%files -n iwl2000-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-2000-*.ucode
+
+%files -n iwl2030-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-2030-*.ucode
+
+%files -n iwl3160-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-3160-*.ucode
+/lib/firmware/iwlwifi-3168-*.ucode
+
+%files -n iwl3945-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-3945-*.ucode
+
+%files -n iwl4965-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-4965-*.ucode
+
+%files -n iwl5000-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-5000-*.ucode
+
+%files -n iwl5150-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-5150-*.ucode
+
+%files -n iwl6000-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-6000-*.ucode
+
+%files -n iwl6000g2a-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-6000g2a-*.ucode
+
+%files -n iwl6000g2b-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-6000g2b-*.ucode
+
+%files -n iwl6050-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-6050-*.ucode
+
+%files -n iwl7260-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-7260-*.ucode
+/lib/firmware/iwlwifi-7265-*.ucode
+/lib/firmware/iwlwifi-7265D-*.ucode
+/lib/firmware/iwlwifi-8000C-*.ucode
+/lib/firmware/iwlwifi-8265-*.ucode
+/lib/firmware/iwlwifi-9000-pu-b0-jf-b0-*.ucode
+/lib/firmware/iwlwifi-9260-th-b0-jf-b0-*.ucode
+/lib/firmware/iwlwifi-Qu-*-b0-48.ucode
+/lib/firmware/iwlwifi-QuZ-a0-*-b0-48.ucode
+/lib/firmware/iwlwifi-cc-a0-*.ucode
+
+%files -n libertas-sd8686-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.Marvell
+%dir /lib/firmware/libertas
+/lib/firmware/libertas/sd8686_v9*.bin
+
+%files -n libertas-sd8787-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.Marvell
+%dir /lib/firmware/mrvl
+/lib/firmware/mrvl/sd8787_uapsta.bin
+
+%files -n libertas-usb8388-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.Marvell
+%dir /lib/firmware/libertas
+/lib/firmware/libertas/usb8388_v9.bin
+
+%files -n libertas-usb8388-olpc-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.Marvell
+%dir /lib/firmware/libertas
+/lib/firmware/libertas/usb8388_olpc.bin