Description: 3D Canvas Toolkit using OpenGLES (with the toolkit)
Version: ${apiversion}
Requires: dali-core-cxx03
-Libs: -L${libdir} -ldali-toolkit
+Libs: -L${libdir} -ldali-toolkit-cxx03
Cflags: -I${includedir}
for FILE in libdali-toolkit_cxx11.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
mv dali-toolkit.pc %{buildroot}%{_libdir}/pkgconfig/dali-toolkit.pc
+
+
# PO
{
cd %{_builddir}/dali-toolkit-%{version}/dali-toolkit/po
} &> /dev/null
popd
+#############################
+#rename
+#############################
+pushd %{buildroot}%{_libdir}
+rm -rf libdali-toolkit.so
+rm -rf libdali-toolkit_cxx11.so
+ln -s libdali-toolkit.so.0.0.* libdali-toolkit-cxx03.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}/*
%manifest dali-toolkit.manifest
%endif
%defattr(-,root,root,-)
-%{_libdir}/libdali-toolkit_cxx11.so*
+%{_libdir}/libdali-toolkit_cxx11.so.*
+%{_libdir}/libdali-toolkit.so
%license LICENSE
%files cxx03
%manifest dali-toolkit.manifest
%endif
%defattr(-,root,root,-)
-%{_libdir}/libdali-toolkit.so*
+%{_libdir}/libdali-toolkit.so.*
+%{_libdir}/libdali-toolkit-cxx03.so
%license LICENSE
%files devel