From 7967e388c074867bc602ca4ff64d75bd4367195e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:51:39 +0100 Subject: [PATCH] update to 1.2.20210423git add Rpi bluetooth firmware files from RPi-distro repository [release 1.2.20210423git-1mamba;Fri Apr 23 2021] --- bluez-firmware.spec | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/bluez-firmware.spec b/bluez-firmware.spec index c1dfa19..23fe820 100644 --- a/bluez-firmware.spec +++ b/bluez-firmware.spec @@ -1,21 +1,22 @@ Name: bluez-firmware -Version: 1.2 -Release: 2mamba +Version: 1.2.20210423git +Release: 1mamba Summary: Firmware for the Bluetooth wireless library for Linux Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.bluez.org -Source: http://bluez.sourceforge.net/download/bluez-firmware-%{version}.tar.gz +Source: https://github.com/RPi-Distro/bluez-firmware.git/master/bluez-firmware-%{version}.tar.bz2 +#Source: http://bluez.sourceforge.net/download/bluez-firmware-%{version}.tar.gz License: GPL -BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END %description Firmware for the Bluetooth wireless library for Linux. %prep - %setup -q %build @@ -26,6 +27,12 @@ Firmware for the Bluetooth wireless library for Linux. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall +# Rpi bluetooth firmware(s) +for f in BCM43430A1.hcd BCM43430B0.hcd BCM4345C0.hcd BCM4345C5.hcd; do + install -D -m0644 broadcom/$f %{buildroot}/lib/firmware/brcm/$f +done +install -D -m0644 broadcom/BCM-LEGAL.txt %{buildroot}/lib/firmware/brcm/BCM-LEGAL.txt + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -35,9 +42,18 @@ Firmware for the Bluetooth wireless library for Linux. /lib/firmware/BCM2033-FW.bin /lib/firmware/BCM2033-MD.hex /lib/firmware/STLC2500_R4_* -%doc AUTHORS COPYING ChangeLog README +/lib/firmware/brcm/BCM-LEGAL.txt +/lib/firmware/brcm/BCM43430A1.hcd +/lib/firmware/brcm/BCM43430B0.hcd +/lib/firmware/brcm/BCM4345C0.hcd +/lib/firmware/brcm/BCM4345C5.hcd +%doc AUTHORS COPYING %changelog +* Fri Apr 23 2021 Silvan Calarco 1.2.20210423git-1mamba +- update to 1.2.20210423git +- add Rpi bluetooth firmware files from RPi-distro repository + * Sun Aug 18 2013 Automatic Build System 1.2-2mamba - automatic rebuild by autodist