[Tizen-submit] 16274: New package Tizen:IVI:Release/osp-nfc

noreply at tizen.org noreply at tizen.org
Tue Oct 22 03:46:36 GMT 2013


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

Justification for this new package:

Submitter: Arron Wang <arron.wang at intel.com>
Comments: Fix CMake script to use pkgconfig
Git project: platform/framework/native/nfc
Tag: submit/tizen/20131022.034736
Commit: 185e695159b72f5ea4a9c8d6a5bd95299b8f213e Fix CMake script to use pkgconfig.

Thank You,
Arron Wang

[This message was auto-generated]

---

Request: #16274

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


Message:
Submitter: Arron Wang <arron.wang at intel.com>
Comments: Fix CMake script to use pkgconfig
Git project: platform/framework/native/nfc
Tag: submit/tizen/20131022.034736
Commit: 185e695159b72f5ea4a9c8d6a5bd95299b8f213e Fix CMake script to use pkgconfig.

State:   new        2013-10-22T03:48:05 tizenrobot
Comment: <no comment>
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,79 @@
+Name:		osp-nfc
+Summary:	osp nfc library
+Version:	1.2.1.0
+Release:	2
+VCS:     platform/framework/native/nfc#submit/tizen/20131022.034736-0-g185e695159b72f5ea4a9c8d6a5bd95299b8f213e
+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)
+
+%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}
+
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest osp-nfc.manifest
+/usr/share/license/%{name}
+%{_libdir}/osp/*.so*
+
+%files devel

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


More information about the Tizen-submit mailing list