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

noreply at tizen.org noreply at tizen.org
Tue Jun 30 08:23:57 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: Sync. with the latest T-trace package of tizen 2.4
Git project: tools/ttrace
Tag: submit/tizen/20150630.082257
Commit: 5dcdc79739d68854646f9876fcabec9090b3dec6 Merge branch 'master', remote-tracking branch 'origin/tizen'

Thank You,
Eunji, Lee

[This message was auto-generated]

---

Request: #38509

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


Message:
Submitter: Eunji, Lee <eunjieji.lee at samsung.com>
Comments: Sync. with the latest T-trace package of tizen 2.4
Git project: tools/ttrace
Tag: submit/tizen/20150630.082257
Commit: 5dcdc79739d68854646f9876fcabec9090b3dec6 Merge branch 'master', remote-tracking branch 'origin/tizen'

State:   new        2015-06-30T08:23:29 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _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,76 @@
+Name:		ttrace
+VCS:   tools/ttrace#5dcdc79739d68854646f9876fcabec9090b3dec6
+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/ttrace_tag
+
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: cmake
+
+%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} -DBUILD_PKGTYPE=rpm -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+install -d %{buildroot}%{_libdir}/systemd/system/ttrace-marker.service.wants
+install -m0644 %{SOURCE102} %{buildroot}%{_libdir}/systemd/system/
+mkdir -p %{buildroot}%{_bindir}
+cp %{SOURCE101} %{buildroot}%{_bindir}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+mkdir -p %{buildroot}/etc/systemd/system/sys-kernel-debug.mount.wants/
+ln -s %{_libdir}/systemd/system/ttrace-marker.service %{buildroot}/etc/systemd/system/sys-kernel-debug.mount.wants/ttrace-marker.service
+mkdir -p %{buildroot}/etc/ttrace
+cp %{SOURCE103} %{buildroot}/etc/ttrace
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest ttrace.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libttrace.so.*
+%{_libdir}/systemd/system/ttrace-marker.service
+%{_libdir}/systemd/system/ttrace-marker.service.wants/
+%attr(755,root,root) %{_bindir}/atrace
+%attr(755,root,root) %{_bindir}/atrace-1.1
+%attr(755,root,root) %{_bindir}/exec-ttrace-marker
+%attr(664,root,root) /etc/ttrace/ttrace_tag
+/etc/systemd/system/sys-kernel-debug.mount.wants/ttrace-marker.service
+/usr/share/license/%{name}
+
+%files devel

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


More information about the Tizen-submit mailing list