%define rel 1
-%define ver 20230625
+%define ver 20231211
Summary: Firmware files used by the Linux kernel
Summary(pl.UTF-8): Pliki firmware'u używane przez jądro Linuksa
Name: linux-firmware
#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: ec09bee1929819108c618d0807541c5f
+# Source0-md5: ca7184d96d6e1fb55c0132466963ddba
URL: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
BuildRequires: tar >= 1:1.22
BuildRequires: xz
%prep
%setup -qc
-mv linux-firmware-*/* .
-rmdir linux-firmware-*
+%{__mv} linux-firmware-*/* .
+%{__rm} -r linux-firmware-*
# 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
+%{__rm} -r carl9170fw usbdux contrib
+%{__rm} Makefile configure build_packages.py copy-firmware.sh Dockerfile
%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-2,GPL-3,LICENCE.*,LICENSE.*,README,WHENCE,check_whence.py}
+%{__rm} $RPM_BUILD_ROOT/lib/firmware/{GPL-2,GPL-3,LICENCE.*,LICENSE.*,README.md,WHENCE,check_whence.py}
# Symlink for ice package required by firmware and kernel driver
ln -s $(basename $RPM_BUILD_ROOT/lib/firmware/intel/ice/ddp/ice-*.pkg) $RPM_BUILD_ROOT/lib/firmware/intel/ice/ddp/ice.pkg
%files
%defattr(644,root,root,755)
-%doc WHENCE LICENCE.* LICENSE.* README
+%doc WHENCE LICENCE.* LICENSE.* README.md
/lib/firmware/3com
/lib/firmware/acenic
/lib/firmware/adaptec
/lib/firmware/advansys
+/lib/firmware/airoha
/lib/firmware/agere_*_fw.bin
/lib/firmware/amd
+/lib/firmware/amdtee
+/lib/firmware/amlogic
/lib/firmware/amphion
/lib/firmware/as102_data1_st.hex
/lib/firmware/as102_data2_st.hex
/lib/firmware/intel/irci_irci_ecr-master_20161208_0213_20170112_1500.bin
/lib/firmware/isci
/lib/firmware/isdbt_*.inp
+/lib/firmware/ixp4xx
/lib/firmware/kaweth
/lib/firmware/keyspan
/lib/firmware/keyspan_pda
/lib/firmware/nxp
/lib/firmware/ositech
/lib/firmware/phanfw.bin
+/lib/firmware/powervr
/lib/firmware/qat_4xxx.bin
/lib/firmware/qat_4xxx_mmp.bin
/lib/firmware/qat_895xcc.bin
/lib/firmware/s5p-mfc-v6-v2.fw
/lib/firmware/s5p-mfc-v7.fw
/lib/firmware/s5p-mfc-v8.fw
+/lib/firmware/s5p-mfc-v12.fw
%dir /lib/firmware/sb16
/lib/firmware/sb16/alaw_main.csp
/lib/firmware/sb16/ima_adpcm_capture.csp
/lib/firmware/iwlwifi-Qu-*.ucode
/lib/firmware/iwlwifi-QuZ-*.ucode
/lib/firmware/iwlwifi-cc-*.ucode
+/lib/firmware/iwlwifi-gl-*.pnvm
+/lib/firmware/iwlwifi-gl-*.ucode
+/lib/firmware/iwlwifi-ma-*.pnvm
+/lib/firmware/iwlwifi-ma-*.ucode
/lib/firmware/iwlwifi-so-*.pnvm
/lib/firmware/iwlwifi-so-*.ucode
/lib/firmware/iwlwifi-ty-*.pnvm