X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fdali-adaptor.spec;h=6e6a8c53bc2ec72e74f8b6e02c1e30c8cdb4b057;hb=538fbe785ba43fff2e7fa5f43de794ab78aef4c5;hp=49fb574e29098f034178bb0144c2bb6579b4b376;hpb=0f1c43f2401f83a2372da6f19363c5d002811eae;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index 49fb574..6e6a8c5 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -17,7 +17,7 @@ Name: dali2-adaptor Summary: The DALi Tizen Adaptor -Version: 2.0.37 +Version: 2.0.53 Release: 1 Group: System/Libraries License: Apache-2.0 and BSD-3-Clause and MIT @@ -238,14 +238,7 @@ Requires: %{name} = %{version}-%{release} %description dali2-feedback-plugin Feedback plugin to play haptic and audio feedback for Dali -############################## -# Preparation -############################## -%prep -%setup -q - #Use TZ_PATH when tizen version is 3.x or greater - %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/ %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/ %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/ @@ -257,6 +250,13 @@ Feedback plugin to play haptic and audio feedback for Dali %define dali_plugin_sound_files /plugins/sounds/ ############################## +# Preparation +############################## +%prep +%setup -q + + +############################## # Build ############################## %build @@ -290,6 +290,10 @@ cmake_flags+=" -DCMAKE_BUILD_TYPE=Debug" cmake_flags+=" -DENABLE_TRACE=ON" %endif +%if 0%{?enable_logging} +cmake_flags+=" -DENABLE_NETWORK_LOGGING=ON" +%endif + libtoolize --force cd %{_builddir}/%{name}-%{version}/build/tizen @@ -317,7 +321,7 @@ cmake_flags+=" -DCOMPONENT_APPLICATION_SUPPORT=YES" # if mobile || "undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" -mkdir mobile +mkdir -p mobile pushd mobile cmake -DENABLE_PROFILE=MOBILE $cmake_flags .. @@ -333,7 +337,7 @@ popd # if tv ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" -mkdir tv +mkdir -p tv pushd tv cmake -DENABLE_PROFILE=TV $cmake_flags .. @@ -349,7 +353,7 @@ popd # if wearable || "undefined" %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" -mkdir wearable +mkdir -p wearable pushd wearable cmake -DENABLE_PROFILE=WEARABLE $cmake_flags .. @@ -365,7 +369,7 @@ popd # if ivi ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" -mkdir ivi +mkdir -p ivi pushd ivi cmake -DENABLE_PROFILE=IVI $cmake_flags .. @@ -382,7 +386,7 @@ popd # if common ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" -mkdir common +mkdir -p common pushd common cmake -DENABLE_PROFILE=COMMON $cmake_flags ..