%global src_repo_tag R0_6_1 %global eclipse_base %{_libdir}/eclipse %global install_loc %{_libdir}/eclipse/dropins/callgraph Name: eclipse-callgraph Version: 0.6.1 Release: %mkrel 1 Summary: C/C++ Call Graph Visualization Tool Group: Development/Other 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 ExcludeArch: ppc64 BuildRequires: eclipse-cdt >= 6.0 BuildRequires: eclipse-gef >= 3.5.2 BuildRequires: eclipse-pde >= 3.5.2 BuildRequires: eclipse-linuxprofilingframework >= 0.5.0 Requires: systemtap >= 1.2 Requires: eclipse-gef >= 3.5.2 Requires: eclipse-cdt >= 6.0 Requires: eclipse-linuxprofilingframework >= 0.5.0 %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.callgraph \ -d "cdt gef linuxprofilingframework" %install #installs to /usr/lib/eclipse/callgraph due to dependency on eclipse- #linuxprofilingframework, which depends on architecture. %{__rm} -rf %{buildroot} install -d -m 755 %{buildroot}%{install_loc} %{__unzip} -q -d %{buildroot}%{install_loc} \ build/rpmBuild/org.eclipse.linuxtools.callgraph.zip %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{install_loc} %doc org.eclipse.linuxtools.callgraph-feature/epl-v10.html %changelog * Thu Mar 17 2011 dmorgan <dmorgan> 0.6.1-1.mga1 + Revision: 73111 - imported package eclipse-callgraph * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Oct 8 2010 Severin Gehwolf <sgehwolf@redhat.com> 0.6.1-1 - Update to upstream 0.6.1 release. - Add reasonable required dependency versions. * Fri Jul 16 2010 Charley Wang <chwang@redhat.com> 0.6.0-2 - Update tag to correct version * Fri Jul 16 2010 Charley Wang <chwang@redhat.com> 0.6.0-1 - Update to version 0.6 of Linux Tools Proect. * Thu Mar 18 2010 Roland Grunberg <rgrunber@redhat.com> 0.5.0-1 - Update to version 0.5 of Linux Tools Project. * Mon Nov 23 2009 Charley Wang <chwang@redhat.com> 0.4.0-1 - Update to version 0.4 of Linux Tools Project and remove tests feature. * Fri Sep 25 2009 Charley Wang <chwang@redhat.com> 0.0.1-3 - Added ExcludeArch for ppc64 because eclipse-cdt is not present. * Thu Sep 24 2009 Roland Grunberg <rgrunber@redhat.com> 0.0.1-2 - Some more changes to spec file. * Thu Sep 24 2009 Charley Wang <chwang@redhat.com> 0.0.1-1 - Make minor changes to spec file. * Thu Sep 24 2009 Charley Wang <chwang@redhat.com> 0.0.1-1 - Initial creation of eclipse-callgraph.