[Tizen-submit] 5669: Changes to Tizen/oprofile

noreply at tizen.org noreply at tizen.org
Mon May 20 11:22:19 GMT 2013


Hi,
Prajwal Mohan have made the following changes to oprofile in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5669

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


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

State:   accepted   2013-05-16T20:41:04 pkarurmo
Comment: Ok

History: new        2013-05-16T19:36:48 tizenrobot
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/20130517.023551-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 \

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


More information about the Tizen-submit mailing list