[Tizen-submit] 9413: New package Tizen/osp-secure-element

noreply at tizen.org noreply at tizen.org
Fri Aug 30 02:01:24 GMT 2013


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

Justification for this new package:

Submitter: Hyunwoo Kim <hwlove.kim at samsung.com>
Comments: SR
Git project: platform/framework/native/secure-element
Tag: submit/tizen/20130830.020431
Commit: f6075b05b81ff1fc86049d7ab6faaed66fc0538b Merge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/framework/osp/secure-element

Thank You,
Hyunwoo Kim

[This message was auto-generated]

---

Request: #9413

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


Message:
Submitter: Hyunwoo Kim <hwlove.kim at samsung.com>
Comments: SR
Git project: platform/framework/native/secure-element
Tag: submit/tizen/20130830.020431
Commit: f6075b05b81ff1fc86049d7ab6faaed66fc0538b Merge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/framework/osp/secure-element

State:   new        2013-08-29T18:58:08 tizenrobot
Comment: <no comment>
new:
----
  osp-secure-element-1.2.2.0.tar.gz
  secure-element.spec

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

++++++ new spec file:
--- secure-element.spec
+++ secure-element.spec
@@ -0,0 +1,87 @@
+%define debug_package %{nil}
+%define __strip /bin/true
+
+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/20130830.020431-0-gf6075b05b81ff1fc86049d7ab6faaed66fc0538b
+Group:		System/Libraries
+License:	LICENSE.Apache-2.0
+Source0:	%{name}-%{version}.tar.gz
+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
+osp secure element library
+
+%package devel
+Summary:    osp secure element library (Development)
+Group:      TO_BE/FILLED_IN
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+osp secure element library (DEV)
+
+%package internal-devel
+Summary:    osp secure element library (Internal)
+Group:      TO_BE/FILLED_IN
+Requires:   %{name} = %{version}-%{release}
+
+%description internal-devel
+osp secure element library (Internal-DEV)
+
+%package debug
+Summary:    osp secure element library (Development)
+Group:      TO_BE/FILLED_IN
+Requires:   %{name} = %{version}-%{release}
+
+%description debug
+osp secure element library (DEV)
+
+%prep
+%setup -q
+
+%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_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%else
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ " cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%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_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%endif
+
+# 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.Apache-2.0  %{buildroot}/usr/share/license/%{name}
+
+%make_install
+
+%post -p /sbin/ldconfig
+

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


More information about the Tizen-submit mailing list