rpms/gprof2dot/devel gprof2dot.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Toshio くらとみ toshio at fedoraproject.org
Tue Sep 15 03:23:22 UTC 2009


Author: toshio

Update of /cvs/pkgs/rpms/gprof2dot/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15836/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gprof2dot.spec import.log 
Log Message:
Initial import.



--- NEW FILE gprof2dot.spec ---
Name:           gprof2dot
Version:        1.0
Release:        0.2.20090901svn%{?dist}
Summary:        Generate dot graphs from the output of several profilers

Group:          Applications/Multimedia
License:        LGPLv3+
URL:            http://code.google.com/p/jrfonseca/wiki/Gprof2Dot
# The Source0 used in this version of the package can be obtained by:
# svn export -r 276 http://jrfonseca.googlecode.com/svn/trunk/gprof2dot/ gprof2dot-1.0
# tar -cf - gprof2dot-1.0 |xz  -9c --memory=500MiB > gprof2dot-1.0.tar.xz
Source0:        gprof2dot-1.0.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch

BuildRequires:  python
BuildRequires:  graphviz
Requires:       python

%description
This is a Python script to convert the output from prof, gprof, oprofile,
Shark, AQtime, and python profilers into a dot graph.  It has the following
features:

* can correctly parse C++ template function names
* allows to prune nodes and edges below a certain threshold
* uses an heuristic to propagate time inside mutually recursive functions
* uses color efficiently to draw attention to hot-spots

%prep
%setup -q
sed -i '1s@^#!/usr/bin/env python$@#!/usr/bin/python@'  gprof2dot.py
cd tests
sed -i 's/^PYTHON=python2.5$/PYTHON=python/' runtests.sh

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
install -p -m 0755 gprof2dot.py %{buildroot}%{_bindir}/gprof2dot
chmod 0644 hotshotmain.py

%clean
rm -rf %{buildroot}

%check
cd tests
./runtests.sh

%files
%defattr(-,root,root,-)
%doc hotshotmain.py 
%{_bindir}/gprof2dot


%changelog
* Mon Sep 14 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 1.0-0.2.20090901svn
- Use svn export instead of svn checkout to generate the tarball
- Replace use of env with direct call to the python interpreter

* Tue Sep 1 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 1.0-0.1.20090901svn
- Initial Fedora build


--- NEW FILE import.log ---
gprof2dot-1_0-0_2_20090901svn_fc11:HEAD:gprof2dot-1.0-0.2.20090901svn.fc11.src.rpm:1252984716


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gprof2dot/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	15 Sep 2009 01:21:25 -0000	1.1
+++ .cvsignore	15 Sep 2009 03:23:18 -0000	1.2
@@ -0,0 +1 @@
+gprof2dot-1.0.tar.xz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gprof2dot/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	15 Sep 2009 01:21:25 -0000	1.1
+++ sources	15 Sep 2009 03:23:18 -0000	1.2
@@ -0,0 +1 @@
+9ce33729ea4888edbf5a4f9fab868cb2  gprof2dot-1.0.tar.xz




More information about the fedora-extras-commits mailing list