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

noreply at tizen.org noreply at tizen.org
Fri Sep 11 00:59:03 GMT 2015


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: resolve smack issue on tizen3.0 TV
sync. with the latest ttrace package on tizen2.4
Git project: tools/ttrace
Tag: submit/tizen/20150911.005803
Commit: f661285fe32e89dcd348e50160594b32dfcc697f Merge branches 'master' and 'tizen' into tizen

Thank You,
Eunji, Lee

[This message was auto-generated]

---

Request: #43346

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


Message:
Submitter: Eunji, Lee <eunjieji.lee at samsung.com>
Comments: resolve smack issue on tizen3.0 TV
sync. with the latest ttrace package on tizen2.4
Git project: tools/ttrace
Tag: submit/tizen/20150911.005803
Commit: f661285fe32e89dcd348e50160594b32dfcc697f Merge branches 'master' and 'tizen' into tizen

State:   new        2015-09-11T00:58:34 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
  _service:gbs:ttrace_tag

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

++++++ new spec file:
--- _service:gbs:ttrace.spec
+++ _service:gbs:ttrace.spec
@@ -0,0 +1,91 @@
+Name:		ttrace
+VCS:   tools/ttrace#f661285fe32e89dcd348e50160594b32dfcc697f
+Summary:    T-trace for tizen
+Version:	1.0.0
+Release:    1
+Group:      System/Libraries
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+SOURCE101:	packaging/exec-ttrace-marker
+SOURCE102:	packaging/ttrace-marker.service
+SOURCE103:	packaging/atrace-bootup.sh
+
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(capi-base-common)
+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
+
+%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}
+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 %{SOURCE101} %{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
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig

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


More information about the Tizen-submit mailing list