%global commit0 76318437ae2fe1f5da849bf1e3d71609abfdb233 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: broadcom-bt-firmware Version: 12.0.1.1105 Release: 9%{?dist} Summary: Firmware of Broadcom WIDCOMM Bluetooth devices License: Redistributable, no modification permitted URL: https://github.com/winterheart/broadcom-bt-firmware Source0: %{url}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz # For Lenovo W530 BCM, this doesn't work with the included file so overwrite it # with https://forums.linuxmint.com/viewtopic.php?t=291426 # from sudo wget https://s3.amazonaws.com/plugable/bin/fw-0a5c_21e8.hcd -O /lib/firmware/brcm/BCM20702A1-0a5c-21e6.hcd Source1: BCM20702A1-0a5c-21e6.hcd BuildArch: noarch BuildRequires: hardlink Requires: usbutils Requires: bluez %description This package provides the firmware of Broadcom WIDCOMM Bluetooth devices (including BCM20702, BCM20703, BCM43142 chipsets and other) for Linux kernel. %prep %autosetup -n %{name}-%{commit0} -p1 %build # Nothing to build %install mkdir -p %{buildroot}/lib/firmware/brcm/ cp -pr brcm/* %{buildroot}/lib/firmware/brcm/ %{__install} -Dp -m 644 %{SOURCE1} %{buildroot}/lib/firmware/brcm/ hardlink %{buildroot}/lib/firmware/brcm/ touch %{buildroot}/lib/firmware/brcm/BCM.hcd %files %doc DEVICES.md README.md %license LICENSE.broadcom_bcm20702 %dir /lib/firmware/brcm /lib/firmware/brcm/*.hcd %ghost /lib/firmware/brcm/BCM.hcd %changelog * Mon Jun 12 2023 Marie Loise Nolden - 12.0.1.1105-9 - replace BCM20702A1-0a5c-21e6.hcd for Lenovo Thinkpad W530 * Sun May 17 2020 Nicolas Chauvet - 12.0.1.1105-8 - Update to 12.0.1.1105 * Wed Feb 05 2020 RPM Fusion Release Engineering - 12.0.1.1012-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Aug 10 2019 RPM Fusion Release Engineering - 12.0.1.1012-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Mar 05 2019 RPM Fusion Release Engineering - 12.0.1.1012-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Aug 19 2018 RPM Fusion Release Engineering - 12.0.1.1012-4 - Rebuilt for Fedora 29 Mass Rebuild binutils issue * Fri Jul 27 2018 RPM Fusion Release Engineering - 12.0.1.1012-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Mar 19 2018 Nicolas Chauvet - 12.0.1.1012-2 - Owns bcrm - Fix spaces and tabs * Wed Sep 13 2017 Nicolas Chauvet - 12.0.1.1012-1 - Update to 12.0.1.1012 * Wed May 17 2017 Nicolas Chauvet - 12.0.1.1011-1 - Initial spec file