From 3503d1c8941f55c645bc4d4bc62be9a216ce165f Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Thu, 2 Dec 2021 22:22:10 +0100 Subject: [PATCH] new --- bcm43456-firmware.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 bcm43456-firmware.spec diff --git a/bcm43456-firmware.spec b/bcm43456-firmware.spec new file mode 100644 index 0000000..d9fef6a --- /dev/null +++ b/bcm43456-firmware.spec @@ -0,0 +1,41 @@ +Summary: Firmware files for Broadcom BCM43456 Wi-Fi/Bluetooth chip +Name: bcm43456-firmware +Version: 7.84.17.1 +Release: 1 +License: Unknown +Group: Base +Source0: https://github.com/RPi-Distro/firmware-nonfree/raw/bullseye/debian/config/brcm80211/brcm/brcmfmac43456-sdio.bin +# NoSource0-md5: 570abf11436bc4f272935d615d91d9af +NoSource: 0 +Source1: https://github.com/RPi-Distro/firmware-nonfree/raw/bullseye/debian/config/brcm80211/brcm/brcmfmac43456-sdio.clm_blob +# NoSource1-md5: 92388bf1a5b7796c25473e8c55827371 +NoSource: 1 +Source2: https://github.com/RPi-Distro/firmware-nonfree/raw/bullseye/debian/config/brcm80211/brcm/brcmfmac43456-sdio.txt +# NoSource2-md5: b2b726be6a54cd6c001767962c1782a0 +NoSource: 2 +Source3: https://github.com/armbian/firmware/raw/master/brcm/BCM4345C5.hcd +# NoSource3-md5: fc394331d03baa5847e2b5de94ffbc9b +NoSource: 3 +URL: https://www.broadcom.com/products/wireless/wireless-lan-bluetooth/bcm43456 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Firmware files for Broadcom BCM43456 Wi-Fi/Bluetooth chip. + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT/lib/firmware/brcm + +cp -p %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT/lib/firmware/brcm + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +/lib/firmware/brcm/BCM4345C5.hcd +/lib/firmware/brcm/brcmfmac43456-sdio.bin +/lib/firmware/brcm/brcmfmac43456-sdio.clm_blob +/lib/firmware/brcm/brcmfmac43456-sdio.txt -- 2.44.0