X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=packaging%2Fdali-toolkit.spec;h=d326e26f206d3c65974d3a1fff0557c727980c8a;hp=6ba1b7f1a3960723f717a2e5eed2c881a3452131;hb=6f9a426988f52d24d2a8794fa41181062ef401f0;hpb=7d345a8c6979dc4c1869b8728a8cbfd73d21f10d diff --git a/packaging/dali-toolkit.spec b/packaging/dali-toolkit.spec index 6ba1b7f..d326e26 100644 --- a/packaging/dali-toolkit.spec +++ b/packaging/dali-toolkit.spec @@ -1,21 +1,41 @@ Name: dali-toolkit Summary: The OpenGLES Canvas Core Library Toolkit -Version: 1.0.45 +Version: 1.1.18 Release: 1 Group: System/Libraries -License: Apache-2.0 +License: Apache-2.0 and BSD-2-Clause and MIT URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-toolkit.git;a=summary Source0: %{name}-%{version}.tar.gz Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig -Requires: dali -# Do NOT put an adaptor here - it is an application choice which adaptor to use + BuildRequires: pkgconfig BuildRequires: pkgconfig(dlog) -BuildRequires: pkgconfig(dali) BuildRequires: pkgconfig(dali-core) +# dali-toolkit only need to know the interfaces(APIs) of dali-adaptor(the devel package). +# It doesn't need to know which adaptor will be used by applications. +# Applications or dali-addon will decide which one they will use. +BuildRequires: dali-adaptor-devel + +############################# +# profile setup +############################# + +%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 + +%if "%{?dali_style}" + %define dali_style_folder %{dali_style} +%endif + +# Further resource locations profiles can be provided here otherwise MOBILE will be used +%if "%{tizen_profile_name}" == "mobile" + %define dali_toolkit_profile MOBILE +%endif + %description The OpenGLES Canvas Core Library Toolkit - a set of controls that provide user interface functionality. @@ -56,7 +76,7 @@ cd %{_builddir}/dali-toolkit-%{version}/build/tizen autoreconf --install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR -%configure +%configure --enable-profile=%{dali_toolkit_profile} --with-style=%{dali_style_folder} --enable-i18n=yes make %{?jobs:-j%jobs} ##############################