[Tizen-submit] 37981: New package Tizen:IVI:Panda/nfc

noreply at tizen.org noreply at tizen.org
Wed Jun 17 02:26:34 GMT 2015


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

Justification for this new package:

Submitter: DoHyun Pyun <dh79.pyun at samsung.com>
Comments: Apply Tizen 2.4 nfc api
Git project: platform/core/api/nfc
Tag: submit/tizen/20150617.022523
Commit: 2becabf671f41d1fee2cef1192246586a4ecefa6 Apply Tizen 2.4 nfc api

Thank You,
DoHyun Pyun

[This message was auto-generated]

---

Request: #37981

  submit:       Tizen:IVI:Panda:build/capi-network-nfc at 2(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: DoHyun Pyun <dh79.pyun at samsung.com>
Comments: Apply Tizen 2.4 nfc api
Git project: platform/core/api/nfc
Tag: submit/tizen/20150617.022523
Commit: 2becabf671f41d1fee2cef1192246586a4ecefa6 Apply Tizen 2.4 nfc api

State:   new        2015-06-17T02:26:11 tizenrobot
Comment: <no comment>
old:
----
  _aggregate
  capi-network-nfc-0.1.5.tar.gz
  capi-network-nfc.manifest
  capi-network-nfc.spec

new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:capi-network-nfc
  _service:gbs:capi-network-nfc-0.2.0.tar.gz
  _service:gbs:capi-network-nfc.spec

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

++++++ new spec file:
--- _service:gbs:capi-network-nfc.spec
+++ _service:gbs:capi-network-nfc.spec
@@ -0,0 +1,67 @@
+Name:       capi-network-nfc
+VCS:        platform/core/api/nfc#2becabf671f41d1fee2cef1192246586a4ecefa6
+Summary:    A NFC library in Native API
+Version:    0.2.0
+Release:    0
+Group:      Network & Connectivity/NFC
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gobject-2.0)
+BuildRequires:  nfc-client-lib-devel
+BuildRequires:  pkgconfig(capi-base-common)
+BuildRequires:  pkgconfig(vconf)
+BuildRequires:  pkgconfig(capi-system-info)
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+A library for Tizen NFC Native API.
+
+%package devel
+Summary:  A NFC library in Native API (Development)
+Group:    Network & Connectivity/Development
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the development files for %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
+export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
+
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DCMAKE_LIB_DIR=%{_libdir}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp -af %{_builddir}/%{name}-%{version}/packaging/capi-network-nfc %{buildroot}/usr/share/license/
+
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest capi-network-nfc.manifest
+%{_libdir}/libcapi-network-nfc.so*
+/usr/share/license/capi-network-nfc
+
+%files devel

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


More information about the Tizen-submit mailing list