projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused CMakeLists.txt file
[platform/core/uifw/dali-toolkit.git]
/
packaging
/
dali-toolkit.spec
diff --git
a/packaging/dali-toolkit.spec
b/packaging/dali-toolkit.spec
index
ea37b74
..
4796ce5
100644
(file)
--- a/
packaging/dali-toolkit.spec
+++ b/
packaging/dali-toolkit.spec
@@
-1,6
+1,6
@@
-Name: dali-toolkit
+Name: dali
2
-toolkit
Summary: Dali 3D engine Toolkit
Summary: Dali 3D engine Toolkit
-Version: 1.
4
.21
+Version: 1.
9
.21
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
@@
-9,11
+9,11
@@
Source0: %{name}-%{version}.tar.gz
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
-
+BuildRequires: cmake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig
BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(dali-core)
-BuildRequires: pkgconfig(dali-adaptor)
+BuildRequires: pkgconfig(dali
2
-core)
+BuildRequires: pkgconfig(dali
2
-adaptor)
BuildRequires: gettext
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: gettext
BuildRequires: pkgconfig(libtzplatform-config)
@@
-95,7
+95,7
@@
Application development package for Dali 3D engine toolkit - headers and package
# PO
{
# PO
{
-cd %{_builddir}/dali-toolkit-%{version}/dali-toolkit/po
+cd %{_builddir}/dali
2
-toolkit-%{version}/dali-toolkit/po
for language in *.po
do
language=${language%.po}
for language in *.po
do
language=${language%.po}
@@
-117,46
+117,38
@@
LDFLAGS+=" --coverage "
%endif
libtoolize --force
%endif
libtoolize --force
-cd %{_builddir}/dali-toolkit-%{version}/build/tizen
-autoreconf --install
+cd %{_builddir}/dali
2
-toolkit-%{version}/build/tizen
+
DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
-
%configure --enable-profile=TIZEN
\
+
cmake
\
%if 0%{?enable_debug}
%if 0%{?enable_debug}
-
--enable-d
ebug \
+
-DCMAKE_BUILD_TYPE=D
ebug \
%endif
%if 0%{?enable_trace}
%endif
%if 0%{?enable_trace}
- -
-enable-trace
\
+ -
DENABLE_TRACE=ON
\
%endif
%endif
- --enable-i18n=yes \
- --enable-rename-so=no
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
+ -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
+ -DENABLE_I18N=ON
make %{?jobs:-j%jobs}
make %{?jobs:-j%jobs}
-pushd %{_builddir}/%{name}-%{version}/build/tizen
-%make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
-popd
-
-pushd %{buildroot}%{_libdir}
-for FILE in libdali-toolkit-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
-mv pkgconfig/dali-toolkit.pc %{_builddir}/%{name}-%{version}/build/tizen/dali-toolkit.pc
-popd
-
##############################
# Installation
##############################
%install
rm -rf %{buildroot}
##############################
# Installation
##############################
%install
rm -rf %{buildroot}
-pushd %{_builddir}/%{name}-%{version}/build/tizen
-%make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
+cd build/tizen
-for FILE in libdali-toolkit-cxx11.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
-mv dali-toolkit.pc %{buildroot}%{_libdir}/pkgconfig/dali-toolkit.pc
+pushd %{_builddir}/%{name}-%{version}/build/tizen
+%make_install
# PO
{
# PO
{
-cd %{_builddir}/dali-toolkit-%{version}/dali-toolkit/po
+cd %{_builddir}/dali
2
-toolkit-%{version}/dali-toolkit/po
for language in *.mo
do
language=${language%.mo}
for language in *.mo
do
language=${language%.mo}
@@
-166,20
+158,12
@@
done
} &> /dev/null
popd
} &> /dev/null
popd
-#############################
-#rename
-#############################
-pushd %{buildroot}%{_libdir}
-rm -rf libdali-toolkit.so
-rm -rf libdali-toolkit-cxx11.so
-ln -s libdali-toolkit-cxx11.so.0.0.* libdali-toolkit.so
-popd
-
# Remove default style and style images which are for Linux build
rm -rf %{buildroot}%{dali_toolkit_style_files}/*
# Make folder to contain style and style images
# After making folder, copy local style and style images to new folder
# Remove default style and style images which are for Linux build
rm -rf %{buildroot}%{dali_toolkit_style_files}/*
# Make folder to contain style and style images
# After making folder, copy local style and style images to new folder
+pushd %{_builddir}/%{name}-%{version}
mkdir -p %{buildroot}%{dali_toolkit_style_files}/360x360
cp -r dali-toolkit/styles/360x360/* %{buildroot}%{dali_toolkit_style_files}/360x360
mkdir -p %{buildroot}%{dali_toolkit_style_files}/480x800
mkdir -p %{buildroot}%{dali_toolkit_style_files}/360x360
cp -r dali-toolkit/styles/360x360/* %{buildroot}%{dali_toolkit_style_files}/360x360
mkdir -p %{buildroot}%{dali_toolkit_style_files}/480x800
@@
-191,6
+175,7
@@
cp -r dali-toolkit/styles/1920x1080/* %{buildroot}%{dali_toolkit_style_files}/19
# Copy default feedback theme
cp dali-toolkit/styles/default-feedback-theme.json %{buildroot}%{dali_toolkit_style_files}
# Copy default feedback theme
cp dali-toolkit/styles/default-feedback-theme.json %{buildroot}%{dali_toolkit_style_files}
+popd
##############################
# Pre Install
##############################
# Pre Install
@@
-360,14
+345,13
@@
esac
%manifest dali-toolkit.manifest
%endif
%defattr(-,root,root,-)
%manifest dali-toolkit.manifest
%endif
%defattr(-,root,root,-)
-%{_libdir}/libdali-toolkit-cxx11.so.*
-%{_libdir}/libdali-toolkit.so
+%{_libdir}/libdali2-toolkit.so*
%license LICENSE
%files devel
%defattr(-,root,root,-)
%{dev_include_path}/dali-toolkit/*
%license LICENSE
%files devel
%defattr(-,root,root,-)
%{dev_include_path}/dali-toolkit/*
-%{_libdir}/pkgconfig/dali-toolkit.pc
+%{_libdir}/pkgconfig/dali
2
-toolkit.pc
%files resources_360x360
%manifest dali-toolkit-resources.manifest
%files resources_360x360
%manifest dali-toolkit-resources.manifest