Name: dali-toolkit
Summary: The OpenGLES Canvas Core Library Toolkit
-Version: 1.2.34
+Version: 1.2.35
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-2-Clause and MIT
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if tv ||"undefined"
%if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
-%package extension-tv
+%package profile_tv
Summary: style files for Tizen TV (1920x1080)
Requires: %{name} = %{version}-%{release}
-%description extension-tv
+%description profile_tv
dali-toolkit style files for Tizen TV (1920x1080)
%endif
##############################
%build
PREFIX="/usr"
-CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections "
+CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -D_GLIBCXX_USE_CXX11_ABI=0 "
LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
%if 0%{?enable_coverage}
%{dali_toolkit_image_files}/*
%{dali_toolkit_sound_files}/*
%{dali_toolkit_style_files}/*
-%exclude %{dali_toolkit_style_files}/1920x1080
-# 720x1280/images/*.png files are exactly same with 1920x1080/images/*.png
-%{_datadir}/license/%{name}
+%license LICENSE
%{_datadir}/locale/*/LC_MESSAGES/*
%files devel
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if tv ||"undefined"
%if "%{?profile}" != "wearable" && "%{?profile}" != "mobile" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
-%post extension-tv
+%post profile_tv
pushd %{dali_toolkit_style_files}/1920x1080
for FILE in *.json; do mv 1920x1080/"${FILE}" ../"${FILE}"; done
popd
-%preun extension-tv
+%preun profile_tv
case "$1" in
0)
# This is an un-installation.
:
;;
esac
-%files extension-tv
+%files profile_tv
%{dali_toolkit_style_files}/1920x1080/*
%endif