# For Example
%if %{RELEASE} == "True"
%define build_mode release
+%define log_level INFO
%else
%define build_mode debug
%endif
%ifarch aarch64
%define TARGET_ARCH "arm64"
%endif
+%ifarch riscv64
+%define TARGET_ARCH "riscv64"
+%endif
%ifarch x86_64
%define TARGET_ARCH "x86_64"
%endif
%{!?BLE_CUSTOM_ADV: %define BLE_CUSTOM_ADV False}
%{!?BLE_DIVISION: %define BLE_DIVISION VD}
%{!?BLE_TIZEN_30: %define BLE_TIZEN_30 True}
+%{!?DISABLE_BLE_SERVER: %define DISABLE_BLE_SERVER 0}
%{!?MULTIPLE_OWNER: %define MULTIPLE_OWNER 0}
BuildRequires: expat-devel
BuildRequires: gettext-tools
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(capi-network-connection)
-BuildRequires: pkgconfig(capi-network-wifi)
BuildRequires: pkgconfig(capi-network-bluetooth) >= 0.1.52
%else
%if 0%{?fedora:1}
BLE_CUSTOM_ADV=%{BLE_CUSTOM_ADV} \
BLE_DIVISION=%{BLE_DIVISION} \
BLE_TIZEN_30=%{BLE_TIZEN_30} \
+ DISABLE_BLE_SERVER=%{DISABLE_BLE_SERVER} \
MULTIPLE_OWNER=%{MULTIPLE_OWNER} \
+ LOG_LEVEL=%{log_level} \
#eol
%install