[Tizen-submit] 16615: New package Tizen:Mobile/apps.Calculator

noreply at tizen.org noreply at tizen.org
Thu Oct 31 21:18:41 GMT 2013


Hi,
Adding new package apps.Calculator in project Tizen:Mobile. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit to obs
Git project: apps/osp/Calculator
Tag: submit/tizen/20131031.212619
Commit: 5df1469cab9778069aa8603c8b8f5757ed8aefc4 Minor change

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #16615

  submit:       Tizen:Mobile:build/apps.Calculator(cleanup) -> Tizen:Mobile


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit to obs
Git project: apps/osp/Calculator
Tag: submit/tizen/20131031.212619
Commit: 5df1469cab9778069aa8603c8b8f5757ed8aefc4 Minor change

State:   new        2013-10-31T21:18:17 tizenrobot
Comment: <no comment>
new:
----
  apps.Calculator-1.0.0.tar.gz
  apps.Calculator.spec

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

++++++ new spec file:
--- apps.Calculator.spec
+++ apps.Calculator.spec
@@ -0,0 +1,72 @@
+Name:       apps.Calculator
+VCS:        apps/osp/Calculator#5df1469cab9778069aa8603c8b8f5757ed8aefc4
+Summary:    Calculator application
+Version:    1.0.0
+Release:    1
+Group:      TO_BE/FILLED_IN
+License:    TO BE FILLED IN
+Source0:    %{name}-%{version}.tar.gz
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(osp-face)
+BuildRequires:  pkgconfig(osp-appfw)
+BuildRequires:  pkgconfig(osp-uifw)
+BuildRequires:  osp-appfw-internal-devel
+BuildRequires:  osp-uifw-internal-devel
+BuildRequires:  pkgconfig(osp-uifw)
+BuildRequires:  osp-uifw-internal-devel
+BuildRequires:  pkgconfig(osp-media)
+BuildRequires:  osp-media-internal-devel
+BuildRequires:  pkgconfig(osp-image)
+BuildRequires:  osp-image-internal-devel
+BuildRequires:  pkgconfig(osp-image-core)
+BuildRequires:  pkgconfig(osp-net)
+BuildRequires:  osp-net-internal-devel
+BuildRequires:  pkgconfig(osp-speech)
+BuildRequires:  pkgconfig(osp-uix)
+BuildRequires:  hash-signer
+
+%description
+Verification application: Calculator
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%ifarch %{ix86}
+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_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}
+%make_install
+###### for package signing step ######
+PKG_ID=tlp6xwqzos
+%define tizen_sign 1
+%define tizen_sign_base /usr/apps/${PKG_ID}
+%define tizen_sign_level platform
+%define tizen_author_sign 1
+%define tizen_dist_sign 1
+
+
+%post
+/sbin/ldconfig
+PKG_ID=tlp6xwqzos
+echo "/usr/etc/package-manager/backend/tpk -i /usr/apps/"${PKG_ID}
+/usr/etc/package-manager/backend/tpk -i /usr/apps/${PKG_ID}
+cp -f /usr/lib/osp/osp-service-app-loader /usr/apps/${PKG_ID}/bin/Calculator
+
+%postun
+/sbin/ldconfig
+PKG_ID=tlp6xwqzos
+echo "/usr/etc/package-manager/backend/tpk -u "${PKG_ID}
+/usr/etc/package-manager/backend/tpk -u ${PKG_ID}
+
+%files
+%defattr(-,root,root,-)
+/usr/apps/*

other changes:

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


More information about the Tizen-submit mailing list