1 Name: hal-backend-bluetooth-vim3
2 Summary: firmware and tools for bluetooth
7 Source0: hal-backend-bluetooth-vim3-%{version}.tar.gz
10 BuildRequires: pkgconfig(dlog)
11 BuildRequires: pkgconfig(hal-api-common)
12 BuildRequires: pkgconfig(hal-api-bluetooth)
15 VIM3 firmware and tools for bluetooth
18 %setup -q -n hal-backend-bluetooth-vim3-%{version}
21 export CFLAGS+=" -fpie -fvisibility=hidden"
22 export CXXFLAGS+=" -fpie -fvisibility=hidden"
23 export LDFLAGS+=" -Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie"
25 cmake ./ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
26 -DPLUGIN_INSTALL_PREFIX=%{_prefix} \
27 -DHAL_LIB_DIR=%{_hal_libdir} \
28 -DHAL_LICENSE_DIR=%{_hal_licensedir} \
29 -DHAL_SYSCONF_DIR=%{_hal_sysconfdir}
37 ln -s %{_hal_sysconfdir}/bluetooth/BCM4359C0.hcd /usr/etc/bluetooth/BCM4359C0.hcd
40 %manifest %{name}.manifest
41 %{_hal_licensedir}/%{name}/LICENSE.APLv2
42 %{_hal_licensedir}/%{name}/LICENSE.Broadcom
43 %{_hal_sysconfdir}/bluetooth/BCM4359C0.hcd
44 %{_hal_sysconfdir}/bluetooth/bt-dev-end.sh
45 %{_hal_sysconfdir}/bluetooth/bt-dev-start.sh