%define src_repo_tag localR0_0_1 %define eclipse_base %{_libdir}/eclipse %define install_loc %{_libdir}/eclipse/dropins/callgraph Name: eclipse-callgraph Version: 0.0.1 Release: 1%{?dist} Summary: C/C++ Call Graph Visualization Tool Group: Development/Tools License: EPL URL: http://eclipse.org/linuxtools # sh %{name}-fetch-src.sh Source0: %{name}-fetched-src-%{src_repo_tag}.tar.bz2 Source1: %{name}-fetch-src.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: eclipse-cdt BuildRequires: eclipse-gef BuildRequires: eclipse-pde BuildRequires: eclipse-linuxprofilingframework Requires: systemtap Requires: eclipse-gef Requires: eclipse-cdt Requires: eclipse-linuxprofilingframework %description Graphically displays the call hierarchy from executing a C/C++ binary, along with various other runtime statistics. %prep %setup -q -n %{name}-fetched-src-%{src_repo_tag} %build %{eclipse_base}/buildscripts/pdebuild -f org.eclipse.linuxtools.systemtap.local \ -d "cdt gef linuxprofilingframework" %install %{__rm} -rf %{buildroot} install -d -m 755 %{buildroot}%{install_loc} %{__unzip} -q -d %{buildroot}%{install_loc} \ build/rpmBuild/org.eclipse.linuxtools.systemtap.local.zip %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{install_loc} %doc org.eclipse.linuxtools.systemtap.local-feature/epl-v10.html %changelog * Wed Sep 23 2009 Roland Grunberg 0.0.1-1 - Initial package