Name: capi-content-media-content
Summary: A Media content library in Tizen Native API
-Version: 0.3.12
+Version: 0.3.31
Release: 0
Group: Multimedia/API
License: Apache-2.0
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(storage)
+BuildRequires: pkgconfig(sqlite3)
%description
A Media content library in Tizen Native API.
%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
-%if 0%{?TIZEN_PRODUCT_TV}
+%if "%{tizen_profile_name}" == "tv"
-DTIZEN_PRODUCT_TV=YES
%else
-DTIZEN_PRODUCT_TV=NO