Name: dali
Summary: The OpenGLES Canvas Core Library
-Version: 1.1.43
+Version: 1.2.27
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
CXXFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
%endif
+%if 0%{?enable_coverage}
+CXXFLAGS+=" --coverage "
+LDFLAGS+=" --coverage "
+%endif
+
libtoolize --force
cd %{_builddir}/%{name}-%{version}/build/tizen
autoreconf --install