1 Name: bluetooth-firmware-bcm
2 Summary: firmware and tools for bluetooth
5 Group: Hardware Support/Handset
7 # NOTE: Source name does not match package name. This should be
8 # resolved in the future, by I don't have that power. - Ryan Ware
9 Source0: %{name}-%{version}.tar.gz
10 Source1: bluetooth-hciattach@.service
11 Source2: bluetooth-hci-device.service
12 Provides: bluetooth-scripts
14 BuildRequires: pkgconfig(vconf)
18 firmware and tools for bluetooth
21 Summary: bcm firmware and tools for exynos3250
22 Group: Hardware Support/Handset
23 Provides: bluetooth-scripts
25 %description exynos3250
26 bcm firmware and tools for exynos3250
29 Summary: bcm firmware and tools for artik
30 Group: Hardware Support/Handset
31 Provides: bluetooth-scripts
34 bcm firmware and tools for artik
37 Summary: bcm firmware and tools for exynos7270
38 Group: Hardware Support/Handset
39 Provides: bluetooth-scripts
41 %description exynos7270
42 BT firmware and tools for exynos7270
48 cmake ./ -DCMAKE_INSTALL_PREFIX=%{_prefix} -DPLUGIN_INSTALL_PREFIX=%{_prefix}
56 install -D -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/bluetooth-hciattach@.service
57 install -D -m 0644 %SOURCE2 %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-device.service
60 %manifest %{name}.manifest
61 %license LICENSE.APLv2 LICENSE.Broadcom
62 %defattr(-,root,root,-)
63 #%{_bindir}/bcmtool_4330b1
64 %exclude %{_bindir}/bcmtool_4343w
65 %{_bindir}/bcmtool_4358a1
67 #%{_prefix}/etc/bluetooth/BT_FW_BCM4330B1_002.001.003.0221.0265.hcd
68 %{_prefix}/etc/bluetooth/BT_FW_BCM4358A1_001.002.005.0032.0066.hcd
69 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
70 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start.sh
71 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-set-addr.sh
72 %exclude %{_libdir}/systemd/system/bluetooth-hciattach@.service
73 %exclude %{_libdir}/systemd/system/bluetooth-hci-device.service
74 %manifest %{name}.manifest
77 rm -rf %{_prefix}/etc/bluetooth/bt-dev-start.sh
78 ln -s %{_prefix}/etc/bluetooth/bt-dev-start-exynos3250.sh %{_prefix}/etc/bluetooth/bt-dev-start.sh
81 %manifest %{name}.manifest
82 %license LICENSE.APLv2 LICENSE.Broadcom
83 %defattr(-,root,root,-)
84 %{_bindir}/bcmtool_4343w
86 %{_prefix}/etc/bluetooth/BCM4343A1_001.002.009.0035.0096_ORC_Orbis_WC1-S.hcd
87 %{_prefix}/etc/bluetooth/BCM4343A1_001.002.009.0022.0050_Murata_Type-1FR.hcd
88 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
89 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start-exynos3250.sh
90 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-set-addr.sh
91 %{_libdir}/systemd/system/bluetooth-hciattach@.service
92 %{_libdir}/systemd/system/bluetooth-hci-device.service
93 %manifest %{name}.manifest
96 rm -rf %{_prefix}/etc/bluetooth/bt-dev-start.sh
97 ln -s %{_prefix}/etc/bluetooth/bt-dev-start-artik.sh %{_prefix}/etc/bluetooth/bt-dev-start.sh
100 %manifest %{name}.manifest
101 %license LICENSE.APLv2 LICENSE.Broadcom
102 %defattr(644,root,root,-)
103 %{_bindir}/brcm_patchram_plus
105 %{_prefix}/etc/bluetooth/BCM4354_003.001.012.0353.0745_Samsung_Artik_ORC.hcd
106 %{_prefix}/etc/bluetooth/BCM4345C0_003.001.025.0111.0205.hcd
107 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
108 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start-artik.sh
109 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-set-addr.sh
110 %{_libdir}/systemd/system/bluetooth-hciattach@.service
111 %{_libdir}/systemd/system/bluetooth-hci-device.service
112 %manifest %{name}.manifest
115 rm -rf %{_prefix}/etc/bluetooth/bt-dev-start.sh
116 ln -s %{_prefix}/etc/bluetooth/bt-dev-start-exynos7270.sh %{_prefix}/etc/bluetooth/bt-dev-start.sh
117 rm -rf /lib/firmware/43012B0.hex
118 ln -s /lib/firmware/bcm43012/BCM43012B0_002.001.021.0081.0087.hex /lib/firmware/43012B0.hex
121 %manifest %{name}.manifest
122 %license LICENSE.APLv2 LICENSE.Broadcom
123 %defattr(-,root,root,-)
125 /lib/firmware/bcm43012/BCM43012B0_002.001.021.0081.0087.hex
126 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
127 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start-exynos7270.sh
128 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-set-addr.sh
129 %{_libdir}/systemd/system/bluetooth-hciattach@.service
130 %{_libdir}/systemd/system/bluetooth-hci-device.service
131 %manifest %{name}.manifest