[Tizen-submit] 19304: New package Tizen:Generic/osp-loader

noreply at tizen.org noreply at tizen.org
Tue Jan 7 15:42:24 GMT 2014


Hi,
Adding new package osp-loader in project Tizen:Generic. Please review and accept ASAP.

Justification for this new package:

Submitter: SunwookBae <swbae98 at gmail.com>
Comments: Sync with 2.2.1
Git project: platform/framework/native/loader
Tag: submit/tizen/20140107.154327
Commit: b4b5d1c9e664c68d08f685a342be158632160a04 Sync with tizen_2.2

Thank You,
SunwookBae

[This message was auto-generated]

---

Request: #19304

  submit:       Tizen:Generic:build/osp-loader(cleanup) -> Tizen:Generic


Message:
Submitter: SunwookBae <swbae98 at gmail.com>
Comments: Sync with 2.2.1
Git project: platform/framework/native/loader
Tag: submit/tizen/20140107.154327
Commit: b4b5d1c9e664c68d08f685a342be158632160a04 Sync with tizen_2.2

State:   new        2014-01-07T15:39:49 tizenrobot
Comment: <no comment>
new:
----
  osp-loader-1.2.2.1.tar.gz
  osp-loader.manifest
  osp-loader.spec

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

++++++ new spec file:
--- osp-loader.spec
+++ osp-loader.spec
@@ -0,0 +1,62 @@
+Name:		osp-loader
+VCS:   platform/framework/native/loader#b4b5d1c9e664c68d08f685a342be158632160a04
+Summary:	osp application loader
+Version:	1.2.2.1
+Release:	2
+Group:		TO_BE/FILLED_IN
+License:	Apache-2.0
+Source0:	%{name}-%{version}.tar.gz
+Source1001: 	osp-loader.manifest
+BuildRequires:	cmake
+BuildRequires:	pkgconfig(dlog)
+BuildRequires:	pkgconfig(appinfo) >= 0.1.0
+BuildRequires:	pkgconfig(libprivilege-control)
+
+# runtime requires
+Requires:	osp-env-config
+
+%description
+osp application loader
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build 
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+
+%ifarch %{ix86}
+	ARCH=x86
+	CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_"
+	%if 0%{?simulator}
+		CXXFLAGS="$CXXFLAGS -D_OSP_EMUL_"
+	%endif
+%else
+	ARCH=arm
+	CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_OSP_ARMEL_"
+%endif
+
+%if 0%{?tizen_build_binary_release_type_eng}
+	CXXFLAGS="$CXXFLAGS -D_SECURE_LOG"
+%endif
+
+%cmake .
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2  %{buildroot}/usr/share/license/%{name}
+
+%make_install
+
+mkdir -p %{buildroot}/opt/usr/apps
+
+%files
+%manifest %{name}.manifest
+/usr/share/license/%{name}
+%{_libdir}/osp/*
+/opt/usr/apps
+

other changes:
--------------

++++++ osp-loader-1.2.2.1.tar.gz (new)

++++++ osp-loader.manifest (new)
--- osp-loader.manifest
+++ osp-loader.manifest
@@ -0,0 +1,5 @@
+<manifest>

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


More information about the Tizen-submit mailing list