[Tizen-submit] 63108: New package Tizen:IVI:Panda/ttrace

noreply at tizen.org noreply at tizen.org
Tue May 10 11:16:53 GMT 2016


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

Justification for this new package:

Submitter: Eunji, Lee <eunjieji.lee at samsung.com>
Comments: Change buf size for getgrnam_r to 1024 and add protection codes for changes
Git project: tools/ttrace
Tag: submit/tizen/20160510.111553
Commit: 80c3e381d0426061593066be200a3c0d747c1065 Merge branch 'master' into tizen

Thank You,
Eunji, Lee

[This message was auto-generated]

---

Request: #63108

  submit:       Tizen:IVI:Panda:build/ttrace at 21(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: Eunji, Lee <eunjieji.lee at samsung.com>
Comments: Change buf size for getgrnam_r to 1024 and add protection codes for changes
Git project: tools/ttrace
Tag: submit/tizen/20160510.111553
Commit: 80c3e381d0426061593066be200a3c0d747c1065 Merge branch 'master' into tizen

State:   new        2016-05-10T11:16:32 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:atrace-bootup.sh
  _service:gbs:exec-ttrace-marker
  _service:gbs:ttrace-1.0.0.tar.gz
  _service:gbs:ttrace-marker.service
  _service:gbs:ttrace.spec

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

++++++ new spec file:
--- _service:gbs:ttrace.spec
+++ _service:gbs:ttrace.spec
@@ -0,0 +1,95 @@
+Name:		ttrace
+VCS:   tools/ttrace#80c3e381d0426061593066be200a3c0d747c1065
+Summary:    T-trace for tizen
+Version:	1.0.0
+Release:    1
+Group:      System/Libraries
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+SOURCE102:	packaging/ttrace-marker.service
+SOURCE103:	packaging/atrace-bootup.sh
+
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(libsmack)
+BuildRequires: cmake
+
+%define keepstatic 1
+
+%define TTRACE_PROFILE none
+%if "%{?tizen_profile_name}" == "mobile"
+%define TTRACE_PROFILE mobile
+%else
+%if "%{?tizen_profile_name}" == "tv"
+%define TTRACE_PROFILE tv
+%else
+%if "%{?tizen_profile_name}" == "wearable"
+%define TTRACE_PROFILE wearable
+%endif
+%endif
+%endif
+
+%define TTRACE_TIZEN_VERSION_MAJOR 2
+%if "%{?tizen_version_major}" == "3"
+%define TTRACE_TIZEN_VERSION_MAJOR 3
+%endif
+
+%description
+T-trace library
+
+%package devel
+Summary:    T-trace for tizen
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+T-trace library devel
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="$CFLAGS -g -Wall -std=gnu99"
+export CXXFLAGS="$CXXFLAGS -std=c++0x -fPIE -pie"
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \
+      -DTTRACE_PROFILE=%{TTRACE_PROFILE} -DTTRACE_TIZEN_VERSION_MAJOR=%{TTRACE_TIZEN_VERSION_MAJOR}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+install -d %{buildroot}%{_unitdir}/ttrace-marker.service.wants
+install -m0644 %{SOURCE102} %{buildroot}%{_unitdir}
+mkdir -p %{buildroot}%{_bindir}
+cp %{SOURCE103} %{buildroot}%{_bindir}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+%install_service sys-kernel-debug.mount.wants ttrace-marker.service
+

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


More information about the Tizen-submit mailing list