[Tizen-submit] 6114: Changes to Tizen/osp-nfc

noreply at tizen.org noreply at tizen.org
Mon May 20 11:33:48 GMT 2013


Hi,
Prajwal Mohan have made the following changes to osp-nfc in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #6114

  submit:       Tizen:build/osp-nfc(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.045546
Git project: platform/framework/native/nfc
Tag: submit/tizen/20130517.045546
Commit: dc2282a Apply Flora license to NOTICE

State:   accepted   2013-05-16T22:31:09 pkarurmo
Comment: Reviewed Ok

History: new        2013-05-16T21:53:05 tizenrobot
new:
----
  osp-nfc-1.2.1.0.tar.gz
  osp-nfc.spec

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

++++++ new spec file:
--- osp-nfc.spec
+++ osp-nfc.spec
@@ -0,0 +1,93 @@
+%define debug_package %{nil}
+%define __strip /bin/true
+
+Name:		osp-nfc
+Summary:	osp nfc library
+Version:	1.2.1.0
+Release:	2
+VCS:     platform/framework/native/nfc#submit/tizen/20130517.045546-0-gdc2282a
+Group:		System/Libraries
+License:	TO_BE/FILLED_IN
+Source0:	%{name}-%{version}.tar.gz
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(chromium)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(capi-system-info)
+BuildRequires:  pkgconfig(capi-system-device)
+BuildRequires:  pkgconfig(capi-network-nfc)
+BuildRequires:  pkgconfig(osp-appfw)
+BuildRequires:  osp-appfw-internal-devel
+BuildRequires:  pkgconfig(osp-net)
+BuildRequires:  osp-net-internal-devel
+
+# runtime requires
+Requires: osp-appfw 
+Requires: osp-net
+
+%description
+osp nfc library
+
+%package devel
+Summary:    osp nfc library (Development)
+Group:      TO_BE/FILLED_IN
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+osp nfc library (DEV)
+
+%package internal-devel
+Summary:    osp nfc library (Internal)
+Group:      TO_BE/FILLED_IN
+Requires:   %{name} = %{version}-%{release}
+
+%description internal-devel
+osp nfc library (Internal-DEV)
+
+%package debug
+Summary:    osp nfc library (Development)
+Group:      TO_BE/FILLED_IN
+Requires:   %{name} = %{version}-%{release}
+
+%description debug
+osp nfc library (DEV)
+
+%prep
+%setup -q
+
+%build 
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%ifarch %{ix86}
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%else
+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_SECURE_LOG -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.Flora  %{buildroot}/usr/share/license/%{name}
+cat %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 >> %{buildroot}/usr/share/license/%{name}

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


More information about the Tizen-submit mailing list