fbc37f4
%{!?with_sqlite: %global with_sqlite 1}
53f00b1
%{!?with_docs: %global with_docs 0}
53f00b1
%ifarch ppc %{sparc} %{arm}# crash is not available
53f00b1
%{!?with_crash: %global with_crash 0}
53f00b1
%else
a811d54
%{!?with_crash: %global with_crash 1}
53f00b1
%endif
fbc37f4
%{!?with_rpm: %global with_rpm 1}
fbc37f4
%{!?with_bundled_elfutils: %global with_bundled_elfutils 0}
fbc37f4
%{!?elfutils_version: %global elfutils_version 0.127}
fbc37f4
%{!?pie_supported: %global pie_supported 1}
fbc37f4
%{!?with_grapher: %global with_grapher 1}
fbc37f4
%{!?with_boost: %global with_boost 0}
53f00b1
%{!?with_publican: %global with_publican 0}
fbc37f4
%{!?publican_brand: %global publican_brand fedora}
0fc2adf
17e3a21
Name: systemtap
345da77
Version: 1.5
997a62b
Release: 3%{?dist}
bd5a7bb
# for version, see also configure.ac
17e3a21
Summary: Instrumentation System
17e3a21
Group: Development/System
0fc2adf
License: GPLv2+
17e3a21
URL: http://sourceware.org/systemtap/
4854246
Source: ftp://sourceware.org/pub/%{name}/releases/%{name}-%{version}.tar.gz
17e3a21
345da77
Obsoletes: systemtap-client < 1.5
345da77
1c28fdd
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17e3a21
17e3a21
Requires: kernel >= 2.6.9-11
345da77
BuildRequires: gettext
9a28b9d
%if %{with_sqlite}
fe18a23
BuildRequires: sqlite-devel
0fc2adf
%endif
fbc37f4
# Needed for libstd++ < 4.0, without <tr1/memory>
fbc37f4
%if %{with_boost}
fbc37f4
BuildRequires: boost-devel
fbc37f4
%endif
9a28b9d
%if %{with_crash}
4d4e1ff
BuildRequires: crash-devel zlib-devel
4854246
%endif
bb598bf
%if %{with_rpm}
bb598bf
BuildRequires: rpm-devel glibc-headers
bb598bf
%endif
cfae4d4
# Alternate kernel packages kernel-PAE-devel et al have a virtual
cfae4d4
# provide for kernel-devel, so this requirement does the right thing.
cfae4d4
Requires: kernel-devel
a4c5040
Requires: gcc make
13eb83c
# Suggest: kernel-debuginfo
f89d042
Requires: systemtap-runtime = %{version}-%{release}
345da77
BuildRequires: nss-devel avahi-devel pkgconfig
345da77
345da77
# Additional requires for things spawned by stap
345da77
Requires: coreutils grep sed unzip zip
345da77
Requires: openssh-clients
17e3a21
9a28b9d
%if %{with_bundled_elfutils}
17e3a21
Source1: elfutils-%{elfutils_version}.tar.gz
17e3a21
Patch1: elfutils-portability.patch
bb598bf
BuildRequires: m4
fbc37f4
%global setup_elfutils -a1
17e3a21
%else
17e3a21
BuildRequires: elfutils-devel >= %{elfutils_version}
17e3a21
%endif
9a28b9d
997a62b
Patch2: rhbz711427.patch
997a62b
9a28b9d
%if %{with_docs}
9a28b9d
BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html
cfae4d4
# On F10, xmlto's pdf support was broken off into a sub-package,
cfae4d4
# called 'xmlto-tex'.  To avoid a specific F10 BuildReq, we'll do a
cfae4d4
# file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
cfae4d4
BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
fbc37f4
%if %{with_publican}
345da77
BuildRequires: publican
a811d54
BuildRequires: /usr/share/publican/Common_Content/%{publican_brand}/defaults.cfg
fbc37f4
%endif
9a28b9d
%endif
17e3a21
8ba65ec
%if %{with_grapher}
8ba65ec
BuildRequires: gtkmm24-devel >= 2.8
fbc37f4
BuildRequires: libglademm24-devel >= 2.6.7
fbc37f4
# If 'with_boost' isn't set, the boost-devel build requirement hasn't
fbc37f4
# been specified yet.
fbc37f4
%if ! %{with_boost}
fbc37f4
BuildRequires: boost-devel
fbc37f4
%endif
8ba65ec
%endif
345da77
BuildRequires: gettext-devel
2396d5c
17e3a21
%description
17e3a21
SystemTap is an instrumentation system for systems running Linux 2.6.
17e3a21
Developers can write instrumentation to collect data on the operation
17e3a21
of the system.
17e3a21
f89d042
%package runtime
f89d042
Summary: Instrumentation System Runtime
f89d042
Group: Development/System
0fc2adf
License: GPLv2+
f89d042
URL: http://sourceware.org/systemtap/
f89d042
Requires: kernel >= 2.6.9-11
9a28b9d
Requires(pre): shadow-utils
f89d042
f89d042
%description runtime
f89d042
SystemTap runtime is the runtime component of an instrumentation
f89d042
system for systems running Linux 2.6.  Developers can write
f89d042
instrumentation to collect data on the operation of the system.
f89d042
0fc2adf
%package testsuite
0fc2adf
Summary: Instrumentation System Testsuite
0fc2adf
Group: Development/System
0fc2adf
License: GPLv2+
0fc2adf
URL: http://sourceware.org/systemtap/
a811d54
Requires: systemtap systemtap-sdt-devel dejagnu which prelink
0fc2adf
0fc2adf
%description testsuite
0fc2adf
The testsuite allows testing of the entire SystemTap toolchain
0fc2adf
without having to rebuild from sources.
0fc2adf
bd5a7bb
%package server
bd5a7bb
Summary: Instrumentation System Server
bd5a7bb
Group: Development/System
bd5a7bb
License: GPLv2+
bd5a7bb
URL: http://sourceware.org/systemtap/
bd5a7bb
Requires: systemtap
345da77
Requires: avahi avahi-tools nss mktemp
3b30fa9
Requires: zip unzip
fbc37f4
Requires(post): chkconfig
fbc37f4
Requires(preun): chkconfig
fbc37f4
Requires(preun): initscripts
fbc37f4
Requires(postun): initscripts
bd5a7bb
bd5a7bb
%description server
3b30fa9
This is the remote script compilation server component of systemtap.
3b30fa9
It announces itself to local clients with avahi, and compiles systemtap
3b30fa9
scripts to kernel objects on their demand.
bd5a7bb
cfae4d4
%package sdt-devel
cfae4d4
Summary: Static probe support tools
cfae4d4
Group: Development/System
345da77
License: GPLv2+ and Public Domain
cfae4d4
URL: http://sourceware.org/systemtap/
c9b58a0
Requires: /usr/bin/python
cfae4d4
cfae4d4
%description sdt-devel
cfae4d4
Support tools to allow applications to use static probes.
cfae4d4
cfae4d4
%package initscript
fbc37f4
Summary: Systemtap Initscripts
cfae4d4
Group: Development/System
cfae4d4
License: GPLv2+
cfae4d4
URL: http://sourceware.org/systemtap/
fbc37f4
Requires: systemtap-runtime
fbc37f4
Requires(post): chkconfig
fbc37f4
Requires(preun): chkconfig
fbc37f4
Requires(preun): initscripts
fbc37f4
Requires(postun): initscripts
cfae4d4
cfae4d4
%description initscript
fbc37f4
Initscript for Systemtap scripts
cfae4d4
8ba65ec
%if %{with_grapher}
8ba65ec
%package grapher
8ba65ec
Summary: Instrumentation System Grapher
8ba65ec
Group: Development/System
8ba65ec
License: GPLv2+
8ba65ec
URL: http://sourceware.org/systemtap/
8ba65ec
Requires: systemtap-runtime
8ba65ec
8ba65ec
%description grapher
8ba65ec
SystemTap grapher is a utility for real-time visualization of
8ba65ec
data from SystemTap instrumentation scripts.
8ba65ec
%endif
8ba65ec
17e3a21
%prep
17e3a21
%setup -q %{?setup_elfutils}
17e3a21
9a28b9d
%if %{with_bundled_elfutils}
17e3a21
cd elfutils-%{elfutils_version}
17e3a21
%patch1 -p1
17e3a21
sleep 1
17e3a21
find . \( -name Makefile.in -o -name aclocal.m4 \) -print | xargs touch
17e3a21
sleep 1
17e3a21
find . \( -name configure -o -name config.h.in \) -print | xargs touch
17e3a21
cd ..
17e3a21
%endif
17e3a21
997a62b
%patch2 -p1
997a62b
17e3a21
%build
17e3a21
9a28b9d
%if %{with_bundled_elfutils}
17e3a21
# Build our own copy of elfutils.
fbc37f4
%global elfutils_config --with-elfutils=elfutils-%{elfutils_version}
17e3a21
17e3a21
# We have to prevent the standard dependency generation from identifying
17e3a21
# our private elfutils libraries in our provides and requires.
fbc37f4
%global _use_internal_dependency_generator	0
fbc37f4
%global filter_eulibs() /bin/sh -c "%{1} | sed '/libelf/d;/libdw/d;/libebl/d'"
fbc37f4
%global __find_provides %{filter_eulibs /usr/lib/rpm/find-provides}
fbc37f4
%global __find_requires %{filter_eulibs /usr/lib/rpm/find-requires}
b04ba44
b04ba44
# This will be needed for running stap when not installed, for the test suite.
fbc37f4
%global elfutils_mflags LD_LIBRARY_PATH=`pwd`/lib-elfutils
17e3a21
%endif
17e3a21
9a28b9d
# Enable/disable the sqlite coverage testing support
9a28b9d
%if %{with_sqlite}
fbc37f4
%global sqlite_config --enable-sqlite
9a28b9d
%else
fbc37f4
%global sqlite_config --disable-sqlite
9a28b9d
%endif
9a28b9d
9a28b9d
# Enable/disable the crash extension
9a28b9d
%if %{with_crash}
fbc37f4
%global crash_config --enable-crash
9a28b9d
%else
fbc37f4
%global crash_config --disable-crash
9a28b9d
%endif
9a28b9d
bb598bf
# Enable/disable the code to find and suggest needed rpms
bb598bf
%if %{with_rpm}
fbc37f4
%global rpm_config --with-rpm
bb598bf
%else
fbc37f4
%global rpm_config --without-rpm
bb598bf
%endif
bb598bf
9a28b9d
%if %{with_docs}
fbc37f4
%global docs_config --enable-docs
9a28b9d
%else
fbc37f4
%global docs_config --disable-docs
0fc2adf
%endif
0fc2adf
da32dac
# Enable pie as configure defaults to disabling it
da32dac
%if %{pie_supported}
fbc37f4
%global pie_config --enable-pie
da32dac
%else
fbc37f4
%global pie_config --disable-pie
da32dac
%endif
9a28b9d
bb598bf
%if %{with_grapher}
fbc37f4
%global grapher_config --enable-grapher
fbc37f4
%else
fbc37f4
%global grapher_config --disable-grapher
fbc37f4
%endif
fbc37f4
fbc37f4
%if %{with_publican}
fbc37f4
%global publican_config --enable-publican --with-publican-brand=%{publican_brand}
bb598bf
%else
fbc37f4
%global publican_config --disable-publican
bb598bf
%endif
bb598bf
9a28b9d
fbc37f4
%configure %{?elfutils_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} %{grapher_config} %{publican_config} %{rpm_config} --disable-silent-rules
fe18a23
make %{?_smp_mflags}
17e3a21
8d6b47e
%install
8d6b47e
rm -rf ${RPM_BUILD_ROOT}
8d6b47e
make DESTDIR=$RPM_BUILD_ROOT install
345da77
%find_lang %{name}
8d6b47e
bd5a7bb
# We want the examples in the special doc dir, not the build install dir.
bd5a7bb
# We build it in place and then move it away so it doesn't get installed
bd5a7bb
# twice. rpm can specify itself where the (versioned) docs go with the
bd5a7bb
# %doc directive.
8d6b47e
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/examples examples
8d6b47e
4d4e1ff
# Fix paths in the example & testsuite scripts
4d4e1ff
find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
b04ba44
345da77
# To make rpmlint happy, remove any .gitignore files in the testsuite.
345da77
find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
345da77
f55661b
# Because "make install" may install staprun with whatever mode, the
0fc2adf
# post-processing programs rpmbuild runs won't be able to read it.
0fc2adf
# So, we change permissions so that they can read it.  We'll set the
f55661b
# permissions back to 04110 in the %files section below.
0fc2adf
chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
0fc2adf
58e9517
#install the useful stap-prep script
58e9517
install -c -m 755 stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
58e9517
0fc2adf
# Copy over the testsuite
0fc2adf
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
8d6b47e
bd5a7bb
%if %{with_docs}
8d6b47e
# We want the manuals in the special doc dir, not the generic doc install dir.
bd5a7bb
# We build it in place and then move it away so it doesn't get installed
bd5a7bb
# twice. rpm can specify itself where the (versioned) docs go with the
bd5a7bb
# %doc directive.
8d6b47e
mkdir docs.installed
8d6b47e
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
eb90f4f
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/tapsets docs.installed/
fbc37f4
%if %{with_publican}
fbc37f4
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installed/
fbc37f4
%endif
bd5a7bb
%endif
17e3a21
fbc37f4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
fbc37f4
install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
cfae4d4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
cfae4d4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
cfae4d4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
fbc37f4
install -m 644 initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
cfae4d4
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/systemtap
cfae4d4
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/systemtap
cfae4d4
fbc37f4
install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
fbc37f4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server
fbc37f4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server/conf.d
fbc37f4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
fbc37f4
install -m 644 initscript/config.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/stap-server
58e9517
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server
58e9517
touch $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server/log
58e9517
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
58e9517
install -m 644 initscript/logrotate.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/stap-server
fbc37f4
17e3a21
%clean
17e3a21
rm -rf ${RPM_BUILD_ROOT}
17e3a21
58e9517
%pre
58e9517
getent group stap-server >/dev/null || groupadd -g 155 -r stap-server || groupadd -r stap-server
58e9517
9a28b9d
%pre runtime
0fc2adf
getent group stapdev >/dev/null || groupadd -r stapdev
0fc2adf
getent group stapusr >/dev/null || groupadd -r stapusr
0fc2adf
exit 0
0fc2adf
fbc37f4
%pre server
58e9517
getent passwd stap-server >/dev/null || \
58e9517
  useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -m -r -s /sbin/nologin stap-server || \
58e9517
  useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -m -r -s /sbin/nologin stap-server
58e9517
test -e ~stap-server && chmod 755 ~stap-server
fbc37f4
exit 0
fbc37f4
fbc37f4
%post server
58e9517
test -e %{_localstatedir}/log/stap-server/log || {
58e9517
     touch %{_localstatedir}/log/stap-server/log
58e9517
     chmod 664 %{_localstatedir}/log/stap-server/log
58e9517
     chown stap-server:stap-server %{_localstatedir}/log/stap-server/log
58e9517
}
a811d54
# If it does not already exist, as stap-server, generate the certificate
58e9517
# used for signing and for ssl.
58e9517
if test ! -e ~stap-server/.systemtap/ssl/server/stap.cert; then
58e9517
   runuser -s /bin/sh - stap-server -c %{_libexecdir}/%{name}/stap-gen-cert >/dev/null
58e9517
   # Authorize the certificate as a trusted ssl peer and as a trusted signer
58e9517
   # on the local host.
94f2023
   %{_libexecdir}/%{name}/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/ssl/client >/dev/null
94f2023
   %{_libexecdir}/%{name}/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/staprun >/dev/null
58e9517
fi
fbc37f4
fbc37f4
# Activate the service
fbc37f4
/sbin/chkconfig --add stap-server
fbc37f4
exit 0
fbc37f4
fbc37f4
%preun server
fbc37f4
# Check that this is the actual deinstallation of the package, as opposed to
fbc37f4
# just removing the old package on upgrade.
fbc37f4
if [ $1 = 0 ] ; then
fbc37f4
    /sbin/service stap-server stop >/dev/null 2>&1
fbc37f4
    /sbin/chkconfig --del stap-server
fbc37f4
fi
fbc37f4
exit 0
fbc37f4
fbc37f4
%postun server
fbc37f4
# Check whether this is an upgrade of the package.
fbc37f4
# If so, restart the service if it's running
fbc37f4
if [ "$1" -ge "1" ] ; then
fbc37f4
    /sbin/service stap-server condrestart >/dev/null 2>&1 || :
fbc37f4
fi
fbc37f4
exit 0
fbc37f4
cfae4d4
%post initscript
fbc37f4
/sbin/chkconfig --add systemtap
cfae4d4
exit 0
cfae4d4
cfae4d4
%preun initscript
fbc37f4
# Check that this is the actual deinstallation of the package, as opposed to
fbc37f4
# just removing the old package on upgrade.
fbc37f4
if [ $1 = 0 ] ; then
fbc37f4
    /sbin/service systemtap stop >/dev/null 2>&1
fbc37f4
    /sbin/chkconfig --del systemtap
fbc37f4
fi
fbc37f4
exit 0
fbc37f4
fbc37f4
%postun initscript
fbc37f4
# Check whether this is an upgrade of the package.
fbc37f4
# If so, restart the service if it's running
fbc37f4
if [ "$1" -ge "1" ] ; then
fbc37f4
    /sbin/service systemtap condrestart >/dev/null 2>&1 || :
fbc37f4
fi
cfae4d4
exit 0
cfae4d4
bb598bf
%post
bb598bf
# Remove any previously-built uprobes.ko materials
58e9517
(make -C %{_datadir}/%{name}/runtime/uprobes clean) >/dev/null 2>&1 || true
02c9a3a
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
bb598bf
bb598bf
%preun
bb598bf
# Ditto
58e9517
(make -C %{_datadir}/%{name}/runtime/uprobes clean) >/dev/null 2>&1 || true
02c9a3a
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
cfae4d4
345da77
%files -f %{name}.lang
17e3a21
%defattr(-,root,root)
17e3a21
eedf72b
%doc README AUTHORS NEWS COPYING examples
9a28b9d
%if %{with_docs}
8d6b47e
%doc docs.installed/*.pdf
eb90f4f
%doc docs.installed/tapsets
fbc37f4
%if %{with_publican}
fbc37f4
%doc docs.installed/SystemTap_Beginners_Guide
fbc37f4
%endif
9a28b9d
%endif
17e3a21
17e3a21
%{_bindir}/stap
58e9517
%{_bindir}/stap-prep
bd5a7bb
%{_bindir}/stap-report
345da77
%{_mandir}/man1/stap.1*
345da77
%{_mandir}/man1/stapgraph.1*
345da77
%{_mandir}/man1/stap-merge.1*
da32dac
%{_mandir}/man3/*
a811d54
%{_mandir}/man7/stappaths.7*
17e3a21
9a28b9d
%dir %{_datadir}/%{name}
9a28b9d
%{_datadir}/%{name}/runtime
9a28b9d
%{_datadir}/%{name}/tapset
17e3a21
9a28b9d
%if %{with_bundled_elfutils}
0fc2adf
%{_libdir}/%{name}/lib*.so*
17e3a21
%endif
17e3a21
58e9517
# Make sure that the uprobes module can be built by root and by the server
58e9517
%dir %attr(0775,root,stap-server) %{_datadir}/%{name}/runtime/uprobes
58e9517
345da77
%files runtime -f %{name}.lang
f89d042
%defattr(-,root,root)
f55661b
%attr(4110,root,stapusr) %{_bindir}/staprun
345da77
%{_bindir}/stapsh
94f2023
%{_bindir}/stap-merge
bd5a7bb
%{_bindir}/stap-report
fbc37f4
%{_libexecdir}/%{name}/stapio
fbc37f4
%{_libexecdir}/%{name}/stap-env
fbc37f4
%{_libexecdir}/%{name}/stap-authorize-cert
a811d54
%if %{with_crash}
a811d54
%{_libdir}/%{name}/staplog.so*
a811d54
%endif
a811d54
%{_mandir}/man7/stappaths.7*
bd5a7bb
%{_mandir}/man8/staprun.8*
1c28fdd
1c28fdd
%doc README AUTHORS NEWS COPYING
17e3a21
0fc2adf
%files testsuite
0fc2adf
%defattr(-,root,root)
9a28b9d
%{_datadir}/%{name}/testsuite
0fc2adf
345da77
%files server -f %{name}.lang
bd5a7bb
%defattr(-,root,root)
fbc37f4
%{_bindir}/stap-server
fbc37f4
%{_libexecdir}/%{name}/stap-serverd
fbc37f4
%{_libexecdir}/%{name}/stap-start-server
fbc37f4
%{_libexecdir}/%{name}/stap-stop-server
fbc37f4
%{_libexecdir}/%{name}/stap-gen-cert
fbc37f4
%{_libexecdir}/%{name}/stap-sign-module
a811d54
%{_mandir}/man7/stappaths.7*
bd5a7bb
%{_mandir}/man8/stap-server.8*
fbc37f4
%{_sysconfdir}/rc.d/init.d/stap-server
58e9517
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
fbc37f4
%dir %{_sysconfdir}/stap-server
fbc37f4
%dir %{_sysconfdir}/stap-server/conf.d
fbc37f4
%config(noreplace) %{_sysconfdir}/sysconfig/stap-server
58e9517
%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
345da77
%ghost %config(noreplace) %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
94f2023
%ghost %attr(0755,stap-server,stap-server) %{_localstatedir}/run/stap-server
fbc37f4
%doc initscript/README.stap-server
0fc2adf
cfae4d4
%files sdt-devel
cfae4d4
%defattr(-,root,root)
cfae4d4
%{_bindir}/dtrace
cfae4d4
%{_includedir}/sys/sdt.h
94f2023
%{_includedir}/sys/sdt-config.h
345da77
%{_mandir}/man1/dtrace.1*
a811d54
%doc README AUTHORS NEWS COPYING
cfae4d4
cfae4d4
%files initscript
cfae4d4
%defattr(-,root,root)
fbc37f4
%{_sysconfdir}/rc.d/init.d/systemtap
cfae4d4
%dir %{_sysconfdir}/systemtap
cfae4d4
%dir %{_sysconfdir}/systemtap/conf.d
cfae4d4
%dir %{_sysconfdir}/systemtap/script.d
cfae4d4
%config(noreplace) %{_sysconfdir}/systemtap/config
cfae4d4
%dir %{_localstatedir}/cache/systemtap
94f2023
%ghost %{_localstatedir}/run/systemtap
fbc37f4
%doc initscript/README.systemtap
cfae4d4
8ba65ec
%if %{with_grapher}
8ba65ec
%files grapher
8ba65ec
%defattr(-,root,root)
8ba65ec
%{_bindir}/stapgraph
fbc37f4
%{_datadir}/%{name}/*.glade
8ba65ec
%endif
8ba65ec
cfae4d4
17e3a21
%changelog
997a62b
* Fri Jun 10 2011 Stan Cox <scox@redhat.com> - 1.5-3
997a62b
- Don't massage dtrace -o FILENAME arg
997a62b
c9b58a0
* Thu Jun  2 2011 Stan Cox <scox@redhat.com> - 1.5-2
c9b58a0
- Add explicit 'Requires python' dependency
c9b58a0
64a1870
* Mon May 23 2011 Stan Cox <scox@redhat.com> - 1.5-1
64a1870
- Upstream release.
64a1870
2f20829
* Mon Jan 17 2011 Frank Ch. Eigler <fche@redhat.com> - 1.4-1
2f20829
- Upstream release.
2f20829
a811d54
* Wed Jul 21 2010 Josh Stone <jistone@redhat.com> - 1.3-1
a811d54
- Upstream release.
4e9440b
58e9517
* Mon Mar 22 2010 Frank Ch. Eigler <fche@redhat.com> - 1.2-1
58e9517
- Upstream release.
42cafcb
fbc37f4
* Mon Dec 21 2009 David Smith <dsmith@redhat.com> - 1.1-1
fbc37f4
- Upstream release.
2396d5c
3b30fa9
* Tue Sep 22 2009 Josh Stone <jistone@redhat.com> - 1.0-1
3b30fa9
- Upstream release.
3bb0149
8ba65ec
* Tue Aug  4 2009 Josh Stone <jistone@redhat.com> - 0.9.9-1
8ba65ec
- Upstream release.
bddf56c
bb598bf
* Thu Jun 11 2009 Josh Stone <jistone@redhat.com> - 0.9.8-1
bb598bf
- Upstream release.
bb598bf
c9e0110
* Thu Apr 23 2009 Josh Stone <jistone@redhat.com> - 0.9.7-1
c9e0110
- Upstream release.
c9e0110
da32dac
* Fri Mar 27 2009 Josh Stone <jistone@redhat.com> - 0.9.5-1
da32dac
- Upstream release.
da32dac
da32dac
* Wed Mar 18 2009 Will Cohen <wcohen@redhat.com> - 0.9-2
da32dac
- Add location of man pages.
78ad32e
cfae4d4
* Tue Feb 17 2009 Frank Ch. Eigler <fche@redhat.com> - 0.9-1
cfae4d4
- Upstream release.
cfae4d4
bd5a7bb
* Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
bd5a7bb
- Upstream release.
bd5a7bb
8d6b47e
* Tue Jul 15 2008 Frank Ch. Eigler <fche@redhat.com> - 0.7-1
8d6b47e
- Upstream release.
3b7ea67
4d4e1ff
* Fri Feb  1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
8d6b47e
- Add zlib-devel to buildreq; missing from crash-devel
8d6b47e
- Process testsuite .stp files for #!stap->#!/usr/bin/stap
4d4e1ff
4854246
* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
4854246
- Add crash-devel buildreq to build staplog.so crash(8) module.
4854246
- Many robustness & functionality improvements:
4854246
4854246
* Wed Dec  5 2007 Will Cohen <wcohen@redhat.com> - 0.6-2
4854246
- Correct Source to point to location contain code.
4854246
0fc2adf
* Thu Aug  9 2007 David Smith <dsmith@redhat.com> - 0.6-1
0fc2adf
- Bumped version, added libcap-devel BuildRequires.
0fc2adf
0fc2adf
* Wed Jul 11 2007 Will Cohen <wcohen@redhat.com> - 0.5.14-2
0fc2adf
- Fix Requires and BuildRequires for sqlite.
0fc2adf
fe18a23
* Tue Jul  2 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.14-1
fe18a23
- Many robustness improvements: 1117, 1134, 1305, 1307, 1570, 1806,
fe18a23
  2033, 2116, 2224, 2339, 2341, 2406, 2426, 2438, 2583, 3037,
fe18a23
  3261, 3282, 3331, 3428 3519, 3545, 3625, 3648, 3880, 3888, 3911,
fe18a23
  3952, 3965, 4066, 4071, 4075, 4078, 4081, 4096, 4119, 4122, 4127,
fe18a23
  4146, 4171, 4179, 4183, 4221, 4224, 4254, 4281, 4319, 4323, 4326,
fe18a23
  4329, 4332, 4337, 4415, 4432, 4444, 4445, 4458, 4467, 4470, 4471,
fe18a23
  4518, 4567, 4570, 4579, 4589, 4609, 4664
fe18a23
1c28fdd
* Mon Mar 26 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.13-1
1c28fdd
- An emergency / preliminary refresh, mainly for compatibility
1c28fdd
  with 2.6.21-pre kernels.
1c28fdd
eedf72b
* Mon Jan  1 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.12-1
eedf72b
- Many changes, see NEWS file.
eedf72b
f89d042
* Tue Sep 26 2006 David Smith <dsmith@redhat.com> - 0.5.10-1
f89d042
- Added 'systemtap-runtime' subpackage.
f89d042
8b061be
* Wed Jul 19 2006 Roland McGrath <roland@redhat.com> - 0.5.9-1
8b061be
- PRs 2669, 2913
3519dd7
fd6d9a8
* Fri Jun 16 2006 Roland McGrath <roland@redhat.com> - 0.5.8-1
fd6d9a8
- PRs 2627, 2520, 2228, 2645
fd6d9a8
fd6d9a8
* Fri May  5 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.7-1
fd6d9a8
- PRs 2511 2453 2307 1813 1944 2497 2538 2476 2568 1341 2058 2220 2437
fd6d9a8
  1326 2014 2599 2427 2438 2465 1930 2149 2610 2293 2634 2506 2433
fd6d9a8
1e4c911
* Tue Apr  4 2006 Roland McGrath <roland@redhat.com> - 0.5.5-1
1e4c911
- Many changes, affected PRs include: 2068, 2293, 1989, 2334,
1e4c911
  1304, 2390, 2425, 953.
1e4c911
549a2fb
* Wed Feb  1 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.4-1
549a2fb
- PRs 1916, 2205, 2142, 2060, 1379
549a2fb
006402e
* Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 0.5.3-1
006402e
- Many changes, affected PRs include: 2056, 1144, 1379, 2057,
006402e
  2060, 1972, 2140, 2148
006402e
87c34fe
* Mon Dec 19 2005 Roland McGrath <roland@redhat.com> - 0.5.2-1
87c34fe
- Fixed build with gcc 4.1, various tapset changes.
a4c5040
2dc112d
* Wed Dec  7 2005 Roland McGrath <roland@redhat.com> - 0.5.1-1
2dc112d
- elfutils update, build changes
2dc112d
b660568
* Fri Dec 02 2005  Frank Ch. Eigler  <fche@redhat.com> - 0.5-1
b660568
- Many fixes and improvements: 1425, 1536, 1505, 1380, 1329, 1828, 1271,
b660568
  1339, 1340, 1345, 1837, 1917, 1903, 1336, 1868, 1594, 1564, 1276, 1295
b660568
a092a3a
* Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.4.2-1
a092a3a
- Many fixes and improvements: PRs 1344, 1260, 1330, 1295, 1311, 1368,
a092a3a
  1182, 1131, 1332, 1366, 1456, 1271, 1338, 1482, 1477, 1194.
a092a3a
896df58
* Wed Sep 14 2005 Roland McGrath <roland@redhat.com> - 0.4.1-1
896df58
- Many fixes and improvements since 0.2.2; relevant PRs include:
896df58
  1122, 1134, 1155, 1172, 1174, 1175, 1180, 1186, 1187, 1191, 1193, 1195,
896df58
  1197, 1205, 1206, 1209, 1213, 1244, 1257, 1258, 1260, 1265, 1268, 1270,
896df58
  1289, 1292, 1306, 1335, 1257
896df58
13eb83c
* Wed Sep  7 2005 Frank Ch. Eigler <fche@redhat.com>
13eb83c
- Bump version.
13eb83c
a4c5040
* Wed Aug 16 2005 Frank Ch. Eigler <fche@redhat.com>
a4c5040
- Bump version.
316d91e
8aa81e8
* Wed Aug  3 2005 Martin Hunt <hunt@redhat.com> - 0.2.2-1
8aa81e8
- Add directory /var/cache/systemtap
8aa81e8
- Add stp_check to /usr/libexec/systemtap
8aa81e8
316d91e
* Wed Aug  3 2005 Roland McGrath <roland@redhat.com> - 0.2.1-1
316d91e
- New version 0.2.1, various fixes.
316d91e
b04ba44
* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.2-1
b04ba44
- New version 0.2, requires elfutils 0.111
2c8d5cd
b04ba44
* Mon Jul 25 2005 Roland McGrath <roland@redhat.com>
17e3a21
- Clean up spec file, build bundled elfutils.
17e3a21
17e3a21
* Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
17e3a21
- Set Version to use version from autoconf.
17e3a21
- Fix up some of the path names.
17e3a21
- Add Requires and BuildRequires.
17e3a21
17e3a21
* Wed Jul 19 2005 Will Cohen <wcohen@redhat.com>
17e3a21
- Initial creation of RPM.