[Tizen-submit] 32514: New package Tizen:IVI:Panda/com.samsung.dali-demo

noreply at tizen.org noreply at tizen.org
Thu Jan 29 11:28:23 GMT 2015


Hi,
Adding new package com.samsung.dali-demo in project Tizen:IVI:Panda. Please review and accept ASAP.

Justification for this new package:

Submitter: Adeel Kazmi <adeel.kazmi at samsung.com>
Comments: DALi Version 1.0.27
Git project: platform/core/uifw/dali-demo
Tag: submit/tizen/20150129.112343
Commit: 306cdf28d22f8e1fd3b82f876e2d00993d7d0699 DALi Version 1.0.27

Thank You,
Adeel Kazmi

[This message was auto-generated]

---

Request: #32514

  submit:       Tizen:IVI:Panda:build/com.samsung.dali-demo at 4(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: Adeel Kazmi <adeel.kazmi at samsung.com>
Comments: DALi Version 1.0.27
Git project: platform/core/uifw/dali-demo
Tag: submit/tizen/20150129.112343
Commit: 306cdf28d22f8e1fd3b82f876e2d00993d7d0699 DALi Version 1.0.27

State:   new        2015-01-29T11:27:52 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:com.samsung.dali-demo-1.0.27.tar.gz
  _service:gbs:com.samsung.dali-demo.spec

spec files:
-----------

++++++ new spec file:
--- _service:gbs:com.samsung.dali-demo.spec
+++ _service:gbs:com.samsung.dali-demo.spec
@@ -0,0 +1,123 @@
+%bcond_with wayland
+
+Name:       com.samsung.dali-demo
+VCS:        platform/core/uifw/dali-demo#306cdf28d22f8e1fd3b82f876e2d00993d7d0699
+Summary:    The OpenGLES Canvas Core Demo
+Version:    1.0.27
+Release:    1
+Group:      System/Libraries
+License:    Apache-2.0
+URL:        https://review.tizen.org/git/?p=platform/core/uifw/dali-demo.git;a=summary
+Source0:    %{name}-%{version}.tar.gz
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires: dali
+Requires: dali-adaptor
+Requires: dali-toolkit
+BuildRequires:  boost-devel
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(capi-appfw-application)
+BuildRequires:  pkgconfig(capi-media-player)
+BuildRequires:  dali-toolkit-devel
+BuildRequires:  dali-adaptor-devel
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(egl)
+
+%description
+The OpenGLES Canvas Core Demo is a collection of examples and demonstrations
+of the capability of the toolkit.
+
+##############################
+# Preparation
+##############################
+%prep
+%setup -q
+%define dali_app_ro_dir       /usr/apps/com.samsung.dali-demo/
+%define dali_app_exe_dir      %{dali_app_ro_dir}/bin/
+%define dali_xml_file_dir     /usr/share/packages/
+%define dali_icon_dir         /usr/share/icons/
+%define smack_rule_dir        /etc/smack/accesses2.d/
+
+##############################
+# Build
+##############################
+%build
+PREFIX="/usr"
+CXXFLAGS+=" -Wall -g -O2"
+LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -fPIC"
+
+%ifarch %{arm}
+EXTRA_CONFIGURE_OPTIONS=" --host=arm"
+CXXFLAGS+=" -D_ARCH_ARM_"
+%endif
+
+libtoolize --force
+cd %{_builddir}/%{name}-%{version}/build/tizen && autoreconf --install
+cd %{_builddir}/%{name}-%{version}/build/tizen && CXXFLAGS=$CXXFLAGS LDFLAGS=$LDFLAGS DALI_APP_DIR=%{dali_app_ro_dir} ./configure --prefix=$PREFIX $EXTRA_CONFIGURE_OPTIONS
+
+make %{?jobs:-j%jobs}
+
+##############################
+# Installation
+##############################
+%install
+rm -rf %{buildroot}
+cd build/tizen
+%make_install DALI_APP_DIR=%{dali_app_ro_dir}
+
+mkdir -p %{buildroot}/%{dali_app_exe_dir}
+mv %{buildroot}/%{_bindir}/* %{buildroot}/%{dali_app_exe_dir}
+
+mkdir -p %{buildroot}%{dali_xml_file_dir}

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list