-%if "%{profile}" == "mobile"
-%define WITH_CBHM TRUE
-%else
-%define WITH_CBHM FALSE
-%endif
-
Name: ise-default
Summary: Tizen keyboard
Version: 1.3.10
BuildRequires: pkgconfig(stt)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-media-audio-io)
+BuildRequires: pkgconfig(cbhm)
Requires: %{name}-compat = %{version}-%{release}
# This is for old profile-based OBS project optimizations.
# In 4.0 unified build env, this if statement is always true.
cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DTARGET=mobile \
-DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
- -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
+ -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \
+ -Dwith_cbhm=TRUE
make %{?jobs:-j%jobs}
popd
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DTARGET=common \
-DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
- -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \
- -Dwith_cbhm=%{WITH_CBHM}
+ -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
make %{?jobs:-j%jobs}
%endif