]> TLD Linux GIT Repositories - packages/linux-firmware.git/blobdiff - linux-firmware.spec
- R: AMD and Intel microcode
[packages/linux-firmware.git] / linux-firmware.spec
index 7e76c471b19f35022c46c4362633d3928c73a444..68d7d5f29b501d75cbd0baeb120a62fe18cd9da7 100644 (file)
@@ -1,7 +1,5 @@
-# TODO
-# - subpackages for various firmwares?
-%define                rel     1
-%define                ver     20180402
+%define                rel     2
+%define                ver     20190514
 Summary:       Firmware files used by the Linux kernel
 Summary(pl.UTF-8):     Pliki firmware'u używane przez jądro Linuksa
 Name:          linux-firmware
@@ -9,10 +7,11 @@ Version:      %{ver}
 Release:       %{rel}
 License:       GPL+ and GPL v2+ and MIT and Redistributable, no modification permitted
 Group:         Base/Kernel
-Source0:       https://src.fedoraproject.org/repo/pkgs/linux-firmware/%{name}-%{version}.tar.xz/sha512/e550f357009694a5af96b3e4a14a6b7a0793e6fe5605c35a4d02e803e36dd18208492c786bfd9f15d87d5a19d5f3c25a5827764f0afe32ec828ef2d57712b0b1/linux-firmware-%{version}.tar.xz
-# Source0-md5: cb2470f73d57f343c1c65577534eda70
+Source0:       https://src.fedoraproject.org/repo/pkgs/linux-firmware/%{name}-%{version}.tar.xz/sha512/6de58e28892b06d88a74750957596eb17227a684a9603ff29a01f3c5712f40a79128aec3a94dfb71d0cfabd918a9add4216d4f8e9ef91c5c40859fb160422685/linux-firmware-%{version}.tar.xz
+# Source0-md5: cb27c6f0348b45794ca1af7309d8632c
 URL:           https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
-Obsoletes:     microcode-data-amd
+Requires:      microcode-data-amd
+Requires:      microcode-data-intel
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,60 +24,76 @@ Ten pakiet zawiera pliki firmware'u wymagane do działania niektórych
 urządzeń.
 
 %package -n amd-gpu-firmware
-Summary:       Firmware for the AMD/ATI graphics chips
+Summary:       Firmware for AMD/ATI graphics chips
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
 %description -n amd-gpu-firmware
-Firmware for the AMD/ATI graphics chips
+Firmware for AMD/ATI graphics chips
+
+%package -n atheros-firmware
+Summary:       Firmware for Atheros wireless and Bluetooth cards
+License:       Redistributable, no modification permitted
+Group:         Base/Kernel
+
+%description -n atheros-firmware
+Firmware for Atheros wireless and Bluetooth cards
 
 %package -n bnx2-firmware
-Summary:       Firmware for the Broadcom NetXtremeII
+Summary:       Firmware for Broadcom NetXtremeII
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
 %description -n bnx2-firmware
-Firmware for the Broadcom NetXtremeII
+Firmware for Broadcom NetXtremeII
 
 %package -n bnx2x-firmware
-Summary:       Firmware for the Broadcom NetXtreme II 10Gb
+Summary:       Firmware for Broadcom NetXtreme II 10Gb
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
 %description -n bnx2x-firmware
-Firmware for the Broadcom NetXtreme II 10Gb
+Firmware for Broadcom NetXtreme II 10Gb
 
 %package -n brcm-firmware
-Summary:       Firmware for the Broadcom 802.11 wireless cards
+Summary:       Firmware for Broadcom 802.11 wireless cards
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
 %description -n brcm-firmware
-Firmware for the Broadcom 802.11 wireless cards
+Firmware for Broadcom 802.11 wireless cards
 
 %package -n cavium-firmware
-Summary:       Firmware for the Cavium crypto and Ethernet adapters
+Summary:       Firmware for Cavium crypto and Ethernet adapters
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
 %description -n cavium-firmware
-Firmware for the Cavium crypto and Ethernet adapters
+Firmware for Cavium crypto and Ethernet adapters
+
+%package -n chelsio-firmware
+Summary:       Firmware for Chelsio T3/T4/T5/T6
+License:       Redistributable, no modification permitted
+Group:         Base/Kernel
+
+%description -n chelsio-firmware
+Firmware for Chelsio T3/T4/T5/T6
 
 %package -n intel-sound-firmware
-Summary:       Firmware for the Intel sound cards
+Summary:       Firmware for Intel sound cards
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
 %description -n intel-sound-firmware
-Firmware for the Intel sound cards
+Firmware for Intel sound cards
 
 %package -n intel-bluetooth-firmware
-Summary:       Firmware for the Intel Bluetooth adapters
+Summary:       Firmware for Intel Bluetooth adapters
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
 %description -n intel-bluetooth-firmware
-Firmware for the Intel Bluetooth adapters
+Firmware for Intel Bluetooth adapters
 
 %package -n iwl100-firmware
 Summary:       Firmware for Intel(R) Wireless WiFi Link 100 Series Adapters
@@ -146,6 +161,17 @@ 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.
 
+%package -n iwl22260-firmware
+Summary:       Firmware for Intel(R) Centrino Wireless-N 22260 Series Adapters
+License:       Redistributable, no modification permitted
+Group:         Base/Kernel
+
+%description -n iwl22260-firmware
+This package contains the firmware required by the Intel wireless
+drivers for Linux to support the iwl22260 hardware. Usage of the
+firmware is subject to the terms and conditions contained inside the
+provided LICENSE file. Please read it carefully.
+
 %package -n iwl3160-firmware
 Summary:       Firmware for Intel(R) Wireless WiFi Link 3160 Series Adapters
 License:       Redistributable, no modification permitted
@@ -296,57 +322,32 @@ drivers for Linux. Usage of the firmware is subject to the terms and
 conditions contained inside the provided LICENSE file. Please read it
 carefully.
 
-%package -n libertas-usb8388-firmware
-Summary:       Firmware for Marvell Libertas USB 8388 Network Adapter
-License:       Redistributable, no modification permitted
-Group:         Base/Kernel
-
-%description -n libertas-usb8388-firmware
-Firmware for Marvell Libertas USB 8388 Network Adapter
-
-%package -n libertas-usb8388-olpc-firmware
-Summary:       OLPC firmware for Marvell Libertas USB 8388 Network Adapter
-License:       Redistributable, no modification permitted
-Group:         Base/Kernel
-
-%description -n libertas-usb8388-olpc-firmware
-Firmware for Marvell Libertas USB 8388 Network Adapter with OLPC mesh
-network support.
-
-%package -n libertas-sd8686-firmware
-Summary:       Firmware for Marvell Libertas SD 8686 Network Adapter
-License:       Redistributable, no modification permitted
-Group:         Base/Kernel
-
-%description -n libertas-sd8686-firmware
-Firmware for Marvell Libertas SD 8686 Network Adapter
-
-%package -n libertas-sd8787-firmware
-Summary:       Firmware for Marvell Libertas SD 8787 Network Adapter
+%package -n libertas-firmware
+Summary:       Firmware for Marvell wirelsess network cards
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
-%description -n libertas-sd8787-firmware
-Firmware for Marvell Libertas SD 8787 Network Adapter
+%description -n libertas-firmware
+Firmware for Marvell wireless network cards
 
 %package -n netronome-firmware
-Summary:       Firmware for the Netronome Smart NICs
+Summary:       Firmware for Netronome Smart NICs
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
 %description -n netronome-firmware
-Firmware for the Netronome Smart NICs
+Firmware for Netronome Smart NICs
 
 %package -n nvidia-gpu-firmware
-Summary:       Firmware for the NVIDIA graphics chips
+Summary:       Firmware for NVIDIA graphics chips
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
 %description -n nvidia-gpu-firmware
-Firmware for the NVIDIA graphics chips
+Firmware for NVIDIA graphics chips
 
 %package -n qlogic-firmware
-Summary:       Firmware for the QLogic adapters
+Summary:       Firmware for QLogic adapters
 License:       Redistributable, no modification permitted
 Group:         Base/Kernel
 
@@ -354,6 +355,14 @@ Group:             Base/Kernel
 This package contains the binary firmware for QLogic Infiniband,
 SCSI, Fibre Channel/FCoE adapters and Converged Network Adapters
 
+%package -n ti-connectivity-firmware
+Summary:       Firmware for Texas Instruments wireless network chips
+License:       Redistributable, no modification permitted
+Group:         Base/Kernel
+
+%description -n ti-connectivity-firmware
+Firmware for Texas Instruments wireless network chips
+
 %define        no_install_post_strip   1
 
 %prep
@@ -371,6 +380,8 @@ 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-2,GPL-3,LICENCE.*,LICENSE.*,README,TDA7706_OM_v*_boot.txt,WHENCE,check_whence.py}
+# For AMD CPU microcode see microcode-data-amd.spec
+%{__rm} -r $RPM_BUILD_ROOT/lib/firmware/amd-ucode
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -385,31 +396,22 @@ rm -rf $RPM_BUILD_ROOT
 /lib/firmware/adaptec
 /lib/firmware/advansys
 /lib/firmware/agere_*_fw.bin
-/lib/firmware/amd-ucode
-/lib/firmware/ar3k
-/lib/firmware/ar5523.bin
-/lib/firmware/ar7010*.fw
-/lib/firmware/ar9170-*.fw
-/lib/firmware/ar9271.fw
+/lib/firmware/amd
 /lib/firmware/as102_data1_st.hex
 /lib/firmware/as102_data2_st.hex
-/lib/firmware/ath10k
-/lib/firmware/ath3k-1.fw
-/lib/firmware/ath6k
-/lib/firmware/ath9k_htc
 /lib/firmware/atmel
 /lib/firmware/atmsar11.fw
 /lib/firmware/atusb
 /lib/firmware/av7110
 /lib/firmware/carl9170-1.fw
+/lib/firmware/cadence
 /lib/firmware/cis
 /lib/firmware/cmmb_*_12mhz.inp
 /lib/firmware/cpia2
 /lib/firmware/ctefx.bin
 /lib/firmware/ctspeq.bin
-/lib/firmware/cxgb3
-/lib/firmware/cxgb4
 /lib/firmware/dabusb
+/lib/firmware/dpaa2
 /lib/firmware/dsp56k
 /lib/firmware/dvb-fe-xc4000-*.fw
 /lib/firmware/dvb-fe-xc5000c-*.fw
@@ -424,8 +426,7 @@ rm -rf $RPM_BUILD_ROOT
 /lib/firmware/emi26
 /lib/firmware/emi62
 /lib/firmware/ene-ub6250
-/lib/firmware/ess/maestro3_assp_kernel.fw
-/lib/firmware/ess/maestro3_assp_minisrc.fw
+/lib/firmware/ess
 /lib/firmware/f2255usb.bin
 /lib/firmware/go7007
 /lib/firmware/hfi1_dc8051.fw
@@ -447,28 +448,21 @@ rm -rf $RPM_BUILD_ROOT
 /lib/firmware/kaweth
 /lib/firmware/keyspan
 /lib/firmware/keyspan_pda
+%dir /lib/firmware/korg
 /lib/firmware/korg/k1212.dsp
-/lib/firmware/lbtf_usb.bin
 /lib/firmware/lgs8g75.fw
-/lib/firmware/libertas
-%exclude /lib/firmware/libertas/usb8388_v9.bin
-%exclude /lib/firmware/libertas/sd8686*
-%exclude /lib/firmware/libertas/usb8388_olpc.bin
 /lib/firmware/matrox
+/lib/firmware/mediatek
 /lib/firmware/mellanox
+/lib/firmware/meson
+/lib/firmware/microchip
 /lib/firmware/moxa
-/lib/firmware/mrvl
-%exclude /lib/firmware/mrvl/sd8787*
-/lib/firmware/mrvl/sd8787*
 /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/nvidia
 /lib/firmware/ositech
 /lib/firmware/phanfw.bin
 /lib/firmware/qat_895xcc.bin
@@ -502,12 +496,14 @@ rm -rf $RPM_BUILD_ROOT
 /lib/firmware/rtl_bt
 /lib/firmware/rtl_nic
 /lib/firmware/rtlwifi
+/lib/firmware/rtw88
 /lib/firmware/s2250*.fw
 /lib/firmware/s5p-mfc.fw
 /lib/firmware/s5p-mfc-v6.fw
 /lib/firmware/s5p-mfc-v6-v2.fw
 /lib/firmware/s5p-mfc-v7.fw
 /lib/firmware/s5p-mfc-v8.fw
+%dir /lib/firmware/sb16
 /lib/firmware/sb16/alaw_main.csp
 /lib/firmware/sb16/ima_adpcm_capture.csp
 /lib/firmware/sb16/ima_adpcm_init.csp
@@ -522,7 +518,6 @@ rm -rf $RPM_BUILD_ROOT
 /lib/firmware/tehuti
 /lib/firmware/ti_3410.fw
 /lib/firmware/ti_5052.fw
-/lib/firmware/ti-connectivity
 /lib/firmware/tigon
 /lib/firmware/ti-keystone
 /lib/firmware/tlg2300_firmware.bin
@@ -541,6 +536,7 @@ rm -rf $RPM_BUILD_ROOT
 /lib/firmware/wil6210.fw
 /lib/firmware/wsm_22.bin
 /lib/firmware/yam
+%dir /lib/firmware/yamaha
 /lib/firmware/yamaha/ds1_ctrl.fw
 /lib/firmware/yamaha/ds1_dsp.fw
 /lib/firmware/yamaha/ds1e_ctrl.fw
@@ -553,6 +549,19 @@ rm -rf $RPM_BUILD_ROOT
 /lib/firmware/r128
 /lib/firmware/radeon
 
+%files -n atheros-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.atheros_firmware
+/lib/firmware/ar3k
+/lib/firmware/ar5523.bin
+/lib/firmware/ar7010*.fw
+/lib/firmware/ar9170-*.fw
+/lib/firmware/ar9271.fw
+/lib/firmware/ath10k
+/lib/firmware/ath3k-1.fw
+/lib/firmware/ath6k
+/lib/firmware/ath9k_htc
+
 %files -n bnx2-firmware
 %defattr(644,root,root,755)
 %doc WHENCE
@@ -576,9 +585,16 @@ rm -rf $RPM_BUILD_ROOT
 /lib/firmware/cavium
 /lib/firmware/liquidio
 
+%files -n chelsio-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.chelsio_firmware
+/lib/firmware/cxgb3
+/lib/firmware/cxgb4
+
 %files -n intel-sound-firmware
 %defattr(644,root,root,755)
 %doc WHENCE
+%dir /lib/firmware/intel
 /lib/firmware/intel/IntcSST2.bin
 /lib/firmware/intel/dsp_fw_*
 /lib/firmware/intel/fw_sst_*
@@ -586,6 +602,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -n intel-bluetooth-firmware
 %defattr(644,root,root,755)
 %doc WHENCE LICENCE.ibt_firmware
+%dir /lib/firmware/intel
 /lib/firmware/intel/ibt-*
 
 %files -n iwl100-firmware
@@ -618,6 +635,11 @@ rm -rf $RPM_BUILD_ROOT
 %doc WHENCE LICENCE.iwlwifi_firmware
 /lib/firmware/iwlwifi-2030-*.ucode
 
+%files -n iwl22260-firmware
+%defattr(644,root,root,755)
+%doc WHENCE LICENCE.iwlwifi_firmware
+/lib/firmware/iwlwifi-cc-*.ucode
+
 %files -n iwl3160-firmware
 %defattr(644,root,root,755)
 %doc WHENCE LICENCE.iwlwifi_firmware
@@ -691,29 +713,19 @@ rm -rf $RPM_BUILD_ROOT
 %doc WHENCE LICENCE.iwlwifi_firmware
 /lib/firmware/iwlwifi-9260-*.ucode
 
-%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
+%files -n libertas-firmware
 %defattr(644,root,root,755)
 %doc WHENCE LICENCE.Marvell
-%dir /lib/firmware/libertas
-/lib/firmware/libertas/usb8388_olpc.bin
-
-%files -n libertas-sd8686-firmware
-%defattr(644,root,root,755)
-%doc WHENCE LICENCE.Marvell
-%dir /lib/firmware/libertas
-/lib/firmware/libertas/sd8686*
+/lib/firmware/lbtf_usb.bin
+/lib/firmware/libertas
+/lib/firmware/mrvl
+/lib/firmware/mwl8k
+/lib/firmware/mwlwifi
 
-%files -n libertas-sd8787-firmware
+%files -n netronome-firmware
 %defattr(644,root,root,755)
-%doc WHENCE LICENCE.Marvell
-%dir /lib/firmware/mrvl
-/lib/firmware/mrvl/sd8787*
+%doc WHENCE
+/lib/firmware/netronome
 
 %files -n nvidia-gpu-firmware
 %defattr(644,root,root,755)
@@ -735,7 +747,7 @@ rm -rf $RPM_BUILD_ROOT
 /lib/firmware/ql2400_fw.bin
 /lib/firmware/ql2500_fw.bin
 
-%files -n netronome-firmware
+%files -n ti-connectivity-firmware
 %defattr(644,root,root,755)
 %doc WHENCE
-/lib/firmware/netronome
+/lib/firmware/ti-connectivity