diff options
author | Wootak Jung <wootak.jung@samsung.com> | 2021-06-22 10:10:54 +0900 |
---|---|---|
committer | Wootak Jung <wootak.jung@samsung.com> | 2021-06-22 14:36:38 +0900 |
commit | 781e45b20496df9183358522ccb2f7d2f4fba2ed (patch) | |
tree | 26ddb0f134a9db367199c99f1aca0f48dd872e95 /packaging | |
parent | 150ecb4e67c50dcb87bc8758046fe4f05abf925f (diff) | |
download | bluetooth-vim3-tizen_6.5.tar.gz bluetooth-vim3-tizen_6.5.tar.bz2 bluetooth-vim3-tizen_6.5.zip |
Apply next HAL architecturetizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163201submit/tizen/20210628.015851accepted/tizen/unified/20210628.022625accepted/tizen/8.0/unified/20231005.094514accepted/tizen/7.0/unified/hotfix/20221116.110425accepted/tizen/7.0/unified/20221110.062255accepted/tizen/6.5/unified/20211028.115728tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5accepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unified
Change-Id: I9641c9331f5dd6cd42fcd000385edd86135b5ae4
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/hal-backend-bluetooth-vim3.spec | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/packaging/hal-backend-bluetooth-vim3.spec b/packaging/hal-backend-bluetooth-vim3.spec new file mode 100644 index 0000000..1958122 --- /dev/null +++ b/packaging/hal-backend-bluetooth-vim3.spec @@ -0,0 +1,46 @@ +Name: hal-backend-bluetooth-vim3 +Summary: firmware and tools for bluetooth +Version: 0.1.0 +Release: 1 +Group: TO_BE_FILLED +License: Apache-2.0 +Source0: hal-backend-bluetooth-vim3-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(hal-api-common) +BuildRequires: pkgconfig(hal-api-bluetooth) + +%description +VIM3 firmware and tools for bluetooth + +%prep +%setup -q -n hal-backend-bluetooth-vim3-%{version} + +%build +export CFLAGS+=" -fpie -fvisibility=hidden" +export CXXFLAGS+=" -fpie -fvisibility=hidden" +export LDFLAGS+=" -Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie" + +cmake ./ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DPLUGIN_INSTALL_PREFIX=%{_prefix} \ + -DHAL_LIB_DIR=%{_hal_libdir} \ + -DHAL_LICENSE_DIR=%{_hal_licensedir} \ + -DHAL_SYSCONF_DIR=%{_hal_sysconfdir} +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +%post +ln -s %{_hal_sysconfdir}/bluetooth/BCM4359C0.hcd /usr/etc/bluetooth/BCM4359C0.hcd + +%files +%manifest %{name}.manifest +%{_hal_licensedir}/%{name}/LICENSE.APLv2 +%{_hal_licensedir}/%{name}/LICENSE.Broadcom +%{_hal_sysconfdir}/bluetooth/BCM4359C0.hcd +%{_hal_sysconfdir}/bluetooth/bt-dev-end.sh +%{_hal_sysconfdir}/bluetooth/bt-dev-start.sh +%{_hal_libdir}/*.so* |