[Tizen-submit] 15286: New package Tizen:IVI:Release/osp-secure-element

noreply at tizen.org noreply at tizen.org
Wed Oct 2 05:54:14 GMT 2013


Hi,
Adding new package osp-secure-element in project Tizen:IVI:Release. Please review and accept ASAP.

Justification for this new package:

Submitter: so.yu <so.yu at samsung.com>
Comments: Fix build error
Git project: platform/framework/native/secure-element
Tag: submit/tizen/20131002.055427
Commit: bedd4a775f75e59aaf09749b71743e3ebcf405aa Fix build error

Thank You,
so.yu

[This message was auto-generated]

---

Request: #15286

  submit:       Tizen:IVI:Release:build/osp-secure-element(cleanup) -> Tizen:IVI:Release


Message:
Submitter: so.yu <so.yu at samsung.com>
Comments: Fix build error
Git project: platform/framework/native/secure-element
Tag: submit/tizen/20131002.055427
Commit: bedd4a775f75e59aaf09749b71743e3ebcf405aa Fix build error

State:   new        2013-10-02T05:52:49 tizenrobot
Comment: <no comment>
new:
----
  osp-secure-element-1.2.2.0.tar.gz
  osp-secure-element.manifest
  osp-secure-element.spec

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

++++++ new spec file:
--- osp-secure-element.spec
+++ osp-secure-element.spec
@@ -0,0 +1,81 @@
+Name:		osp-secure-element
+Summary:	The Secure Element library of OSP
+Version:	1.2.2.0
+Release:	1
+VCS:     platform/framework/native/secure-element#submit/tizen/20131002.055427-0-gbedd4a775f75e59aaf09749b71743e3ebcf405aa
+Group:		System/Libraries
+License:	Apache-2.0
+Source0:	%{name}-%{version}.tar.gz
+Source1001:		osp-secure-element.manifest
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(osp-appfw)
+BuildRequires:  osp-appfw-internal-devel
+BuildRequires:  pkgconfig(smartcard-service)
+BuildRequires:  pkgconfig(smartcard-service-common)
+
+# runtime requires
+Requires: osp-appfw
+
+%description
+The Secure Element library of OSP
+
+%package devel
+Summary:    The Secure Element library of OSP (Development)
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+The Secure Element library of OSP (DEV)
+
+%package internal-devel
+Summary:    The Secure Element library of OSP (Internal)
+Group:      TO_BE/FILLED_IN
+Requires:   %{name} = %{version}-%{release}
+
+%description internal-devel
+The Secure Element library of OSP (Internal-DEV)
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%ifarch %{ix86}
+%if 0%{?simulator}
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_"
+%else
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ "
+%endif
+%else
+CXXFLAGS="-O2 -g -pipe -Wall -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 . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+

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


More information about the Tizen-submit mailing list