projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "[3.0] Add Privilege doxygen tags" into tizen
[platform/core/uifw/dali-core.git]
/
packaging
/
dali.spec
diff --git
a/packaging/dali.spec
b/packaging/dali.spec
index
aca82f6
..
72d6453
100644
(file)
--- a/
packaging/dali.spec
+++ b/
packaging/dali.spec
@@
-1,6
+1,6
@@
Name: dali
Summary: The OpenGLES Canvas Core Library
Name: dali
Summary: The OpenGLES Canvas Core Library
-Version: 1.1.
32
+Version: 1.1.
45
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-2-Clause and MIT
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-2-Clause and MIT
@@
-12,6
+12,11
@@
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig
BuildRequires: gawk
BuildRequires: pkgconfig
BuildRequires: gawk
+%if "%{tizen_version_major}" == "3"
+BuildRequires: pkgconfig(libtzplatform-config)
+%endif
+
+
%description
The OpenGLES Canvas Core Library provides a 3D scene graph
%description
The OpenGLES Canvas Core Library provides a 3D scene graph
@@
-43,8
+48,17
@@
Integration development package for the OpenGLES Canvas - headers for integratin
##############################
%prep
%setup -q
##############################
%prep
%setup -q
+
+#Use TZ_PATH when tizen version is 3.x
+
+%if "%{tizen_version_major}" == "2"
%define dali_data_rw_dir /opt/usr/share/dali/
%define dali_data_ro_dir /usr/share/dali/
%define dali_data_rw_dir /opt/usr/share/dali/
%define dali_data_ro_dir /usr/share/dali/
+%else
+%define dali_data_rw_dir %TZ_SYS_SHARE/dali/
+%define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
+%endif
+
%define dev_include_path %{_includedir}
##############################
%define dev_include_path %{_includedir}
##############################
@@
-59,6
+73,11
@@
LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -lgcc_s -lg
CXXFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
%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
libtoolize --force
cd %{_builddir}/%{name}-%{version}/build/tizen
autoreconf --install
@@
-88,9
+107,13
@@
LDFLAGS="${LDFLAGS:-%optflags}" ; export LDFLAGS;
--sharedstatedir=%{_sharedstatedir} \
--mandir=%{_mandir} \
--enable-gles=%{target_gles_version} \
--sharedstatedir=%{_sharedstatedir} \
--mandir=%{_mandir} \
--enable-gles=%{target_gles_version} \
+%if 0%{?enable_debug}
+ --enable-debug \
+%endif
--infodir=%{_infodir}
--infodir=%{_infodir}
-make %{?jobs:-j%jobs}
+#make %{?jobs:-j%jobs}
+make
##############################
# Installation
##############################
# Installation