#debug packages make no sense! %global debug_package %{nil} #no stripping required either %global __os_install_post %{nil} %global snap_date 20201201 %global commit_fw b66ab26cebff689d0d3257f56912b9bb03c20567 %global commit_bt 1e4ee0c05bae10002124b56c0e44bb9ac6581ddc %global commit_short %(c=%{commit_fw}; echo ${c:0:7}) Name: bcm434xx-firmware Version: %{snap_date} Release: 1.%{commit_short}%{?dist} Summary: Binary firmwares for Broadcom BCM434xx modules Group: System Environment/Kernel License: Redistributable, no modification permitted URL: https://github.com/RPi-Distro Source0: %{url}/firmware-nonfree/raw/%{commit_fw}/LICENCE.broadcom_bcm43xx # RPi3B wifi firmware Source1: %{url}/firmware-nonfree/raw/%{commit_fw}/brcm/brcmfmac43430-sdio.bin Source2: %{url}/firmware-nonfree/raw/%{commit_fw}/brcm/brcmfmac43430-sdio.txt # RPi3B bluetooth firmware Source3: %{url}/bluez-firmware/raw/%{commit_bt}/broadcom/BCM43430A1.hcd # RPi3B+ wifi firmware Source4: %{url}/firmware-nonfree/raw/%{commit_fw}/brcm/brcmfmac43455-sdio.bin Source5: %{url}/firmware-nonfree/raw/%{commit_fw}/brcm/brcmfmac43455-sdio.clm_blob Source6: %{url}/firmware-nonfree/raw/%{commit_fw}/brcm/brcmfmac43455-sdio.txt # RPi3B+ bluetooth firmware Source7: %{url}/bluez-firmware/raw/%{commit_bt}/broadcom/BCM4345C0.hcd BuildArch: noarch Conflicts: linux-firmware < 20171215-83.git2451bb22 Conflicts: bcm43438-firmware Obsoletes: bcm43438-firmware <= 20180306-1.927fa8e Provides: bcm43438-firmware %description This package contains binary firmwares for Broadcom BCM434xx wifi/bluetooth modules. Wifi is supported by the brcmfmac driver. The BCM43xx wifi/bluetooth modules are used in the Raspberry Pi 3 Model B (plus). %prep %setup -c -T %{name}-%{commit_short} cp -a %{sources} . %build %install %{__install} -d %{buildroot}%{_prefix}/lib/firmware/brcm/ for i in %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} \ %{SOURCE7}; do %{__install} -p -m0644 $i %{buildroot}%{_prefix}/lib/firmware/brcm/ done %files %license LICENCE.broadcom_bcm43xx %{_prefix}/lib/firmware/brcm/* %changelog * Wed Dec 23 2020 Damian Wrobel - 20201201-1.b66ab26 - Sync firmware-nonfree to commit: 20201201gitb66ab26 - Sync bluez-firmware to commit: 20201126git1e4ee0c * Fri Sep 11 2020 Damian Wrobel - 20200902-2.98e8157 - Fix install dir on aarch64 * Wed Sep 02 2020 Damian Wrobel - 20200902-1.98e8157 - Sync firmware-nonfree to commit: 20200729git98e8157 - Sync bluez-firmware to commit: 20200805gitafe608e * Fri May 29 2020 Damian Wrobel - 20200529-1.616fc2d - Sync firmware-nonfree to commit: 20200417git616fc2d - Sync bluez-firmware to commit: 20200518git98cbd44 * Mon Mar 09 2020 Damian Wrobel - 20200306-1.ce751a8 - Sync firmware-nonfree to commit: 20200306gitce751a8 - Sync bluez-firmware to commit: 20191202gitfff76cb - Fix rpm warning: "It's not recommended to have unversioned Obsoletes" * Tue Oct 01 2019 Damian Wrobel - 20190530-1.130cb86 - Update to the latest available release (fixes lack of wlan on RPi4B) * Sat Apr 20 2019 Vaughan - 20190420-1.b518de4 - Update RPi3B+ bluetooth firmware (BCM4345C0.hcd v003.001.025.0156.0280) * Wed Oct 10 2018 Vaughan - 20181010-1.b518de4 - Refactor sources (all firmware now sourced from https://github.com/RPi-Distro) - Sync firmware-nonfree to commit b518de45ced519e8f7a499f4778100173402ae43 - Sync bluez-firmware to commit ade2bae1aaaebede09abb8fb546f767a0e4c7804 - Add RPi3B+ bluetooth firmware (BCM4345C0.hcd) * Mon Mar 19 2018 Vaughan - 20180319-1.86e88fbf - Rename package (it now contains multiple firmwares) - Add brcmfmac43455 firmware files (for RPi3B+) (v7.45.154) - Sync to commit 86e88fbf0345da49555d0ec34c80b4fbae7d0cd3 (really brcmfmac43430-sdio.bin v7.45.98.38 this time!) * Thu Mar 08 2018 Vaughan - 20180306-1.927fa8e - Re-add wifi firmware brcmfmac43430-sdio.bin - Sync to commit 927fa8ebdf5bcfb90944465b40ec4981e01d6015 (brcmfmac43430-sdio.bin version 7.45.98.38) - Update spec * Sat Oct 01 2016 Vaughan - 20160627-2.a7491de - Drop SOURCE0 (brcmfmac43430-sdio.bin) as its now inlcuded upstream (linux-firmware >= 20160923-68.git42ad5367.fc24) * Mon Jun 27 2016 Vaughan - 20160627-1.a7491de - Sync to commit a7491de4c4b2f1ceb5d0dfa5350b95e5c6fb9bd4 (this updates brcmfmac43430-sdio.bin to version 7.45.41.26) * Fri May 06 2016 Vaughan - 20160506-1.54bab3d - Rename package (whilst the chipset identifies itself as bcm43430 its actually the bcm43438 module that is used in the RPi3.) - Add bluetooth firmware (sourced from openelec repo as RPi foundation don't seem to want to make this easily available anywhere.... why??) - Add Obsoletes / Conflicts: brcm43430-firmware * Thu Mar 10 2016 Vaughan - 20160310-1.54bab3d - Initial package