Name: dali
Summary: The OpenGLES Canvas Core Library
-Version: 1.2.23
+Version: 1.2.35
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-2-Clause and MIT
BuildRequires: pkgconfig
BuildRequires: gawk
-%if "%{tizen_version_major}" == "3"
+%if 0%{?tizen_version_major} >= 3
BuildRequires: pkgconfig(libtzplatform-config)
%endif
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}
##############################
%defattr(-,root,root,-)
%{_libdir}/lib%{name}-core.so*
%defattr(-,app,app,-)
-%{_datadir}/license/%{name}
+%license LICENSE
%files devel
%defattr(-,root,root,-)