commit 88f52a1791bec5492847e05096118c5c4749a231
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Mar 20 10:52:54 2018 +0100
Initial import
.gitignore | 1 +
broadcom-bt-firmware.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 60 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a36b2d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+broadcom-bt-firmware-*.tar.gz
diff --git a/broadcom-bt-firmware.spec b/broadcom-bt-firmware.spec
new file mode 100644
index 0000000..df02547
--- /dev/null
+++ b/broadcom-bt-firmware.spec
@@ -0,0 +1,58 @@
+%global commit0 c0bd928b8ae5754b6077c99afe6ef5c949a58f32
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+
+Name: broadcom-bt-firmware
+Version: 12.0.1.1012
+Release: 2%{?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
+
+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/
+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 Mar 19 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 12.0.1.1012-2
+- Owns bcrm
+- Fix spaces and tabs
+
+* Wed Sep 13 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 12.0.1.1012-1
+- Update to 12.0.1.1012
+
+* Wed May 17 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 12.0.1.1011-1
+- Initial spec file
diff --git a/sources b/sources
index e69de29..5af4672 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+771c4a2668fe0d0ea94aeb2461dabf1e broadcom-bt-firmware-c0bd928.tar.gz