# For Example
%if %{RELEASE} == "True"
%define build_mode release
+%define log_level INFO
%else
%define build_mode debug
%endif
%{!?RD_MODE: %define RD_MODE CLIENT}
%{!?BLE_CUSTOM_ADV: %define BLE_CUSTOM_ADV False}
%{!?BLE_DIVISION: %define BLE_DIVISION VD}
+%{!?DISABLE_BLE_SERVER: %define DISABLE_BLE_SERVER 0}
+%{!?MULTIPLE_OWNER: %define MULTIPLE_OWNER 1}
%{!?BLE_TIZEN_30: %define BLE_TIZEN_30 True}
-%{!?MULTIPLE_OWNER: %define MULTIPLE_OWNER 0}
BuildRequires: expat-devel
BuildRequires: python, libcurl-devel
BuildRequires: scons
-BuildRequires: openssl-devel
BuildRequires: boost-devel
BuildRequires: boost-thread
BuildRequires: boost-system
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
# Install missed header files
cp service/resource-encapsulation/include/*.h %{buildroot}%{_includedir}/service/resource-encapsulation
-cp service/resource-encapsulation/include/*.h %{buildroot}%{_includedir}/service/resource-encapsulation
cp service/notification/include/*.h %{buildroot}%{_includedir}/service/notification
cp service/notification/cpp-wrapper/common/*.h %{buildroot}%{_includedir}/service/notification
cp service/notification/cpp-wrapper/provider/inc/*.h %{buildroot}%{_includedir}/service/notification