BuildRequires: pkgconfig(pkgmgr-info)
BuildRequires: pkgconfig(ttrace)
BuildRequires: cmake
+BuildRequires: pkgconfig(capi-system-info)
%description
SLP common application basic
%description template
Application basics template
-%if "%{?profile}" == "wearable"
-%define appfw_feature_background_management 1
-%else
-%if "%{?profile}" == "mobile"
-%define appfw_feature_background_management 1
-%else
-%if "%{?profile}" == "tv"
-%define appfw_feature_background_management 0
-%endif
-%endif
-%endif
-
%prep
%setup -q
cp %{SOURCE1001} .
%if %{with x}
_WITH_X11=ON
%endif
-%if 0%{?appfw_feature_background_management}
-_APPFW_FEATURE_BACKGROUND_MANAGEMENT=ON
-%endif
%cmake . \
-D_WITH_WAYLAND:BOOL=${_WITH_WAYLAND} \
-D_WITH_X11:BOOL=${_WITH_X11} \
- -D_APPFW_FEATURE_BACKGROUND_MANAGEMENT:BOOL=${_APPFW_FEATURE_BACKGROUND_MANAGEMENT} \
-DENABLE_GTK=OFF
make %{?_smp_mflags}