Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.2.6
+Version: 1.2.37
Release: 1
Group: System/Libraries
-License: Apache-2.0 and BSD-2-Clause and MIT
+License: Apache-2.0 and BSD-3-Clause and MIT
URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-adaptor.git;a=summary
Source0: %{name}-%{version}.tar.gz
#need libtzplatform-config for directory if tizen version is 3.x
-%if "%{tizen_version_major}" >= "3"
+%if 0%{?tizen_version_major} >= 3
%define tizen_platform_config_supported 1
BuildRequires: pkgconfig(libtzplatform-config)
%endif
%define dali_profile TV
%define dali_feedback_plugin 0
%define dali_videoplayer_plugin 1
-%define shaderbincache_flag ENABLE
+%define shaderbincache_flag DISABLE
BuildRequires: pkgconfig(glesv2)
%define gles_requirement_setup 1
%endif
#Use TZ_PATH when tizen version is 3.x or greater
-%if "%{tizen_version_major}" >= "3"
+%if 0%{?tizen_version_major} >= 3
%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/
cd build/tizen
%make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
-# LICENSE
-mkdir -p %{buildroot}/usr/share/license
-cp -af %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{name}
##############################
# Upgrade order:
%defattr(-,app,app,-)
%dir %{user_shader_cache_dir}
%{_bindir}/*
-%{_datadir}/license/%{name}
+%license LICENSE
%files devel
%defattr(-,root,root,-)
%manifest dali-adaptor.manifest
%defattr(-,root,root,-)
%{_libdir}/libdali-video-player-plugin.so*
+%license LICENSE
%endif
%endif