[Tizen-submit] 20316: New package Tizen:IVI:Genivi/oprofile

noreply at tizen.org noreply at tizen.org
Fri Jan 31 03:11:46 GMT 2014


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

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.030655
Git project: platform/upstream/oprofile
Tag: submit/tizen_ivi_genivi/20140131.030655
Commit: c17ba13925827d6d098185dc07ed3f06801ea76b resetting manifest requested domain to floor

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #20316

  submit:       Tizen:IVI:Genivi:build/oprofile(cleanup) -> Tizen:IVI:Genivi


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.030655
Git project: platform/upstream/oprofile
Tag: submit/tizen_ivi_genivi/20140131.030655
Commit: c17ba13925827d6d098185dc07ed3f06801ea76b resetting manifest requested domain to floor

State:   new        2014-01-31T03:13:43 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- oprofile.changes
+++ oprofile.changes
@@ -0,0 +1,4 @@
+* Mon Mar 25 2013 Patrick McCarty <patrick.mccarty at linux.intel.com> upstream/0.9.8 at 9e256c2
+- Add packaging
+- Imported Upstream version 0.9.8
+

new:
----
  oprofile-0.9.8.tar.gz
  oprofile.changes
  oprofile.manifest
  oprofile.spec

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

++++++ new spec file:
--- oprofile.spec
+++ oprofile.spec
@@ -0,0 +1,97 @@
+Name:           oprofile
+VCS:            platform/upstream/oprofile#c17ba13925827d6d098185dc07ed3f06801ea76b
+Version:        0.9.8
+Release:        0
+License:        GPL-2.0+ and LGPL-2.1+
+Summary:        System wide profiler
+Url:            http://oprofile.sf.net
+Group:          Base/Tools
+Source:         %{name}-%{version}.tar.gz
+Source1001: 	oprofile.manifest
+BuildRequires:  binutils-devel
+BuildRequires:  pkgconfig(popt)
+Requires:       which
+Requires(pre): pwdutils
+
+%description
+OProfile is a profiling system for systems running Linux. The
+profiling runs transparently during the background, and profile data
+can be collected at any time. OProfile makes use of the hardware performance
+counters provided on Intel P6, and AMD Athlon family processors, and can use
+the RTC for profiling on other x86 processor types.
+
+See the HTML documentation for further details.
+
+%package devel
+Summary:        Header files and libraries for developing apps which will use oprofile
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+
+%description devel
+Header files and libraries for developing apps which will use oprofile.
+
+%package jit
+Summary:        Libraries required for profiling Java and other JITed code
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+
+%description jit
+This package includes a base JIT support library, as well as a Java
+agent library.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%configure --enable-gui=no
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
+echo "%{_libdir}/oprofile" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/oprofile-%{_arch}.conf
+
+rm -rf %{buildroot}%{_datadir}/doc
+
+%pre
+getent group oprofile >/dev/null || groupadd -r -g 16 oprofile
+getent passwd oprofile >/dev/null || \

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


More information about the Tizen-submit mailing list