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

noreply at tizen.org noreply at tizen.org
Thu May 26 02:20:38 GMT 2016


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

Justification for this new package:

Submitter: Eunji, Lee <eunjieji.lee at samsung.com>
Comments: modify prototype of ttrace_extension_write()
Git project: tools/ttrace-extension
Tag: submit/tizen/20160526.021920
Commit: f5cbcaf6fea6fef65d9f70a52c379f6c34246728 modify prototype of ttrace_extension_write()

Thank You,
Eunji, Lee

[This message was auto-generated]

---

Request: #64968

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


Message:
Submitter: Eunji, Lee <eunjieji.lee at samsung.com>
Comments: modify prototype of ttrace_extension_write()
Git project: tools/ttrace-extension
Tag: submit/tizen/20160526.021920
Commit: f5cbcaf6fea6fef65d9f70a52c379f6c34246728 modify prototype of ttrace_extension_write()

State:   new        2016-05-26T02:20:07 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:ttrace-extension-1.0.0.tar.gz
  _service:gbs:ttrace-extension.spec

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

++++++ new spec file:
--- _service:gbs:ttrace-extension.spec
+++ _service:gbs:ttrace-extension.spec
@@ -0,0 +1,76 @@
+Name:		ttrace-extension
+VCS:   tools/ttrace-extension#f5cbcaf6fea6fef65d9f70a52c379f6c34246728
+Summary:    T-trace extension package
+Version:	1.0.0
+Release:    1
+Group:      System/Libraries
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(capi-base-common)
+
+%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 extension library
+
+%package devel
+Summary:    T-trace extension for tizen
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+T-trace extension 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
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%manifest ttrace-extension.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libttrace-extension.so.*
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/ttrace-extension.h
+%{_libdir}/libttrace-extension.so

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


More information about the Tizen-submit mailing list