X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=packaging%2Fdali-toolkit.spec;h=27457e1a299a089908a7196cbbcdba2c7194d4d7;hp=f7897e2424bd7d1b5c3c4caafa97eb1dc87ac42a;hb=babef00662186629afb90e87a37834ff9b5d997f;hpb=9a0a0915f7139722178f3aa2495d9dfa94044f94 diff --git a/packaging/dali-toolkit.spec b/packaging/dali-toolkit.spec index f7897e2..27457e1 100644 --- a/packaging/dali-toolkit.spec +++ b/packaging/dali-toolkit.spec @@ -1,6 +1,6 @@ Name: dali-toolkit Summary: The OpenGLES Canvas Core Library Toolkit -Version: 1.2.0 +Version: 1.2.12 Release: 1 Group: System/Libraries License: Apache-2.0 and BSD-2-Clause and MIT @@ -30,17 +30,23 @@ BuildRequires: pkgconfig(libtzplatform-config) # profile setup ############################# +%if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1} +%define profile %{tizen_profile_name} +%endif + +%if "%{profile}" == "mobile" %define dali_toolkit_profile MOBILE %define dali_style_folder 720x1280 # dali_style to be provided by build system as with dali_toolkit_profile or by passing --define 'dali_style 470x800' to the rpm build command +%endif -%if "%{?dali_style}" - %define dali_style_folder %{dali_style} +%if "%{profile}" == "tv" +%define dali_toolkit_profile TV +%define dali_style_folder 1920x1080 %endif -# Further resource locations profiles can be provided here otherwise MOBILE will be used -%if "%{tizen_profile_name}" == "mobile" - %define dali_toolkit_profile MOBILE +%if "%{?dali_style}" + %define dali_style_folder %{dali_style} %endif %description