[Tizen-submit] 3835: New package devel:upstream/oprofile

noreply at tizen.org noreply at tizen.org
Fri May 3 23:14:55 GMT 2013


Hi,
Adding new package oprofile in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.230802
Git project: platform/upstream/oprofile
Tag: submit/tizen/20130503.230802
Commit: 1067def Add packaging

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3835

  submit:       devel:upstream:build/oprofile(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.230802
Git project: platform/upstream/oprofile
Tag: submit/tizen/20130503.230802
Commit: 1067def Add packaging

State:   new        2013-05-03T15:35:57 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.spec

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

++++++ new spec file:
--- oprofile.spec
+++ oprofile.spec
@@ -0,0 +1,92 @@
+Name:           oprofile
+Version:        0.9.8
+Release:        0
+VCS:        platform/upstream/oprofile#submit/tizen/20130503.230802-0-g1067def
+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
+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
+
+%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 || \
+useradd -g oprofile -d /var/lib/oprofile -M -r -u 16 -s /sbin/nologin \
+    -c "Special user account to be used by OProfile" oprofile
+exit 0

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


More information about the Tizen-submit mailing list