X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fdali-toolkit.spec;h=9bcd7e1eca90488d215f6b0ba2223fcf22f2c60c;hb=678abc1612bf792741f9018c0cb5210738b61113;hp=18086e8961ad6f08d71575b1f9f0a2563980d173;hpb=dafffe033a478e9fc3d5387177aa1ac49ab3f90a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/packaging/dali-toolkit.spec b/packaging/dali-toolkit.spec index 18086e8..9bcd7e1 100644 --- a/packaging/dali-toolkit.spec +++ b/packaging/dali-toolkit.spec @@ -1,9 +1,9 @@ Name: dali-toolkit Summary: The OpenGLES Canvas Core Library Toolkit -Version: 1.0.6 +Version: 1.0.52 Release: 1 Group: System/Libraries -License: Apache-2.0 +License: Apache-2.0, BSD-2.0, MIT URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-toolkit.git;a=summary Source0: %{name}-%{version}.tar.gz @@ -13,10 +13,25 @@ Requires: dali # Do NOT put an adaptor here - it is an application choice which adaptor to use BuildRequires: pkgconfig BuildRequires: pkgconfig(dlog) -BuildRequires: boost-devel BuildRequires: pkgconfig(dali) BuildRequires: pkgconfig(dali-core) -BuildRequires: fribidi-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 @@ -29,7 +44,6 @@ user interface functionality. Summary: Application development package for the OpenGLES Canvas toolkit Group: Development/Building Requires: %{name} = %{version}-%{release} -Requires: boost-devel %description devel Application development package for the OpenGLES Canvas toolkit - headers and package config @@ -52,20 +66,14 @@ Application development package for the OpenGLES Canvas toolkit - headers and pa %build PREFIX="/usr" CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections " -LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections " - -%if 0%{?sec_build_binary_debug_enable} -export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE" -export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE" -export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE" -%endif +LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions " libtoolize --force 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} make %{?jobs:-j%jobs} ##############################