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

noreply at tizen.org noreply at tizen.org
Wed Aug 24 06:04:05 GMT 2016


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

Justification for this new package:

Submitter: Gihun Chang <gihun.chang at samsung.com>
Comments: Add exclude option and TV debug tag
Git project: tools/ttrace
Tag: submit/tizen/20160824.060303
Commit: 57ce770a65037dda09c38e1a059d54eb879becb0 Add '-e' option to exclude specific tags.

Thank You,
Gihun Chang

[This message was auto-generated]

---

Request: #73744

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


Message:
Submitter: Gihun Chang <gihun.chang at samsung.com>
Comments: Add exclude option and TV debug tag
Git project: tools/ttrace
Tag: submit/tizen/20160824.060303
Commit: 57ce770a65037dda09c38e1a059d54eb879becb0 Add '-e' option to exclude specific tags.

State:   new        2016-08-24T06:03:45 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,92 @@
+Name:		ttrace
+VCS:   tools/ttrace#57ce770a65037dda09c38e1a059d54eb879becb0
+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: pkgconfig(ttrace-extension-static)
+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