diff options
Diffstat (limited to 'systemtap.spec')
-rw-r--r-- | systemtap.spec | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/systemtap.spec b/systemtap.spec index eae8a2a2..2919ff19 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -5,7 +5,7 @@ %{!?with_bundled_elfutils: %define with_bundled_elfutils 0} %{!?elfutils_version: %define elfutils_version 0.127} %{!?pie_supported: %define pie_supported 1} -%{!?with_grapher: %define with_grapher 0} +%{!?with_grapher: %define with_grapher 1} Name: systemtap Version: 0.9.8 @@ -57,6 +57,10 @@ BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf %endif +%if %{with_grapher} +BuildRequires: gtkmm24-devel >= 2.8 +%endif + %description SystemTap is an instrumentation system for systems running Linux 2.6. Developers can write instrumentation to collect data on the operation @@ -131,6 +135,19 @@ Requires: systemtap-runtime, initscripts %description initscript Initscript for Systemtap scripts. +%if %{with_grapher} +%package grapher +Summary: Instrumentation System Grapher +Group: Development/System +License: GPLv2+ +URL: http://sourceware.org/systemtap/ +Requires: systemtap-runtime + +%description grapher +SystemTap grapher is a utility for real-time visualization of +data from SystemTap instrumentation scripts. +%endif + %prep %setup -q %{?setup_elfutils} @@ -358,6 +375,12 @@ exit 0 %dir %{_localstatedir}/run/systemtap %doc initscript/README.initscript +%if %{with_grapher} +%files grapher +%defattr(-,root,root) +%{_bindir}/stapgraph +%endif + %changelog * Thu Jun 11 2009 Josh Stone <jistone@redhat.com> - 0.9.8-1 |