upstream release
This commit is contained in:
parent
bd5a7bb99b
commit
cfae4d4e5c
@ -1 +1 @@
|
|||||||
systemtap-0.8.tar.gz
|
systemtap-0.9.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
e8806e03090f6bff4501df2e5e239717 systemtap-0.8.tar.gz
|
d4fff2b34d730be78236ebd1758979f6 systemtap-0.9.tar.gz
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
%{!?release: %define release 1}
|
%{!?release: %define release 1}
|
||||||
%{!?with_sqllite: %define with_sqlite 1}
|
%{!?with_sqlite: %define with_sqlite 1}
|
||||||
%{!?with_docs: %define with_docs 1}
|
%{!?with_docs: %define with_docs 1}
|
||||||
%{!?with_crash: %define with_crash 0}
|
%{!?with_crash: %define with_crash 0}
|
||||||
%{!?with_bundled_elfutils: %define with_bundled_elfutils 0}
|
%{!?with_bundled_elfutils: %define with_bundled_elfutils 0}
|
||||||
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: systemtap
|
Name: systemtap
|
||||||
# for version, see also configure.ac
|
# for version, see also configure.ac
|
||||||
Version: 0.8
|
Version: 0.9
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
Summary: Instrumentation System
|
Summary: Instrumentation System
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
@ -20,16 +20,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
Requires: kernel >= 2.6.9-11
|
Requires: kernel >= 2.6.9-11
|
||||||
%if %{with_sqlite}
|
%if %{with_sqlite}
|
||||||
BuildRequires: sqlite-devel
|
BuildRequires: sqlite-devel
|
||||||
Requires: sqlite
|
|
||||||
%endif
|
%endif
|
||||||
%if %{with_crash}
|
%if %{with_crash}
|
||||||
BuildRequires: crash-devel zlib-devel
|
BuildRequires: crash-devel zlib-devel
|
||||||
%endif
|
%endif
|
||||||
# Requires: kernel-devel
|
# Alternate kernel packages kernel-PAE-devel et al have a virtual
|
||||||
# or is that kernel-smp-devel? kernel-hugemem-devel?
|
# provide for kernel-devel, so this requirement does the right thing.
|
||||||
|
Requires: kernel-devel
|
||||||
Requires: gcc make
|
Requires: gcc make
|
||||||
# Suggest: kernel-debuginfo
|
# Suggest: kernel-debuginfo
|
||||||
Requires: systemtap-runtime = %{version}-%{release}
|
Requires: systemtap-runtime = %{version}-%{release}
|
||||||
|
BuildRequires: nss-devel
|
||||||
|
|
||||||
%if %{with_bundled_elfutils}
|
%if %{with_bundled_elfutils}
|
||||||
Source1: elfutils-%{elfutils_version}.tar.gz
|
Source1: elfutils-%{elfutils_version}.tar.gz
|
||||||
@ -44,6 +45,10 @@ Requires: crash
|
|||||||
|
|
||||||
%if %{with_docs}
|
%if %{with_docs}
|
||||||
BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html
|
BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html
|
||||||
|
# On F10, xmlto's pdf support was broken off into a sub-package,
|
||||||
|
# called 'xmlto-tex'. To avoid a specific F10 BuildReq, we'll do a
|
||||||
|
# file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
|
||||||
|
BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -81,7 +86,7 @@ Group: Development/System
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://sourceware.org/systemtap/
|
URL: http://sourceware.org/systemtap/
|
||||||
Requires: systemtap-runtime = %{version}-%{release}
|
Requires: systemtap-runtime = %{version}-%{release}
|
||||||
Requires: avahi avahi-tools nc mktemp
|
Requires: avahi avahi-tools nss nss-tools mktemp
|
||||||
|
|
||||||
%description client
|
%description client
|
||||||
SystemTap client is the client component of an instrumentation
|
SystemTap client is the client component of an instrumentation
|
||||||
@ -94,13 +99,33 @@ Group: Development/System
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://sourceware.org/systemtap/
|
URL: http://sourceware.org/systemtap/
|
||||||
Requires: systemtap
|
Requires: systemtap
|
||||||
Requires: avahi avahi-tools nc net-tools mktemp
|
Requires: avahi avahi-tools nss nss-tools mktemp
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
SystemTap server is the server component of an instrumentation
|
SystemTap server is the server component of an instrumentation
|
||||||
system for systems running Linux 2.6. Developers can write
|
system for systems running Linux 2.6. Developers can write
|
||||||
instrumentation to collect data on the operation of the system.
|
instrumentation to collect data on the operation of the system.
|
||||||
|
|
||||||
|
%package sdt-devel
|
||||||
|
Summary: Static probe support tools
|
||||||
|
Group: Development/System
|
||||||
|
License: GPLv2+
|
||||||
|
URL: http://sourceware.org/systemtap/
|
||||||
|
Requires: systemtap
|
||||||
|
|
||||||
|
%description sdt-devel
|
||||||
|
Support tools to allow applications to use static probes.
|
||||||
|
|
||||||
|
%package initscript
|
||||||
|
Summary: Systemtap Initscript
|
||||||
|
Group: Development/System
|
||||||
|
License: GPLv2+
|
||||||
|
URL: http://sourceware.org/systemtap/
|
||||||
|
Requires: systemtap-runtime, initscripts
|
||||||
|
|
||||||
|
%description initscript
|
||||||
|
Initscript for Systemtap scripts.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q %{?setup_elfutils}
|
%setup -q %{?setup_elfutils}
|
||||||
|
|
||||||
@ -185,8 +210,18 @@ cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
|
|||||||
# %doc directive.
|
# %doc directive.
|
||||||
mkdir docs.installed
|
mkdir docs.installed
|
||||||
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
|
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
|
||||||
|
#mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/tapsets docs.installed/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d/
|
||||||
|
install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{_sysconfdir}/init.d/
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
|
||||||
|
install -m 644 initscript/config $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/systemtap
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/systemtap
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
@ -195,12 +230,22 @@ getent group stapdev >/dev/null || groupadd -r stapdev
|
|||||||
getent group stapusr >/dev/null || groupadd -r stapusr
|
getent group stapusr >/dev/null || groupadd -r stapusr
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
%post initscript
|
||||||
|
chkconfig --add systemtap
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%preun initscript
|
||||||
|
chkconfig --del systemtap
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%doc README AUTHORS NEWS COPYING examples
|
%doc README AUTHORS NEWS COPYING examples
|
||||||
%if %{with_docs}
|
%if %{with_docs}
|
||||||
%doc docs.installed/*.pdf
|
%doc docs.installed/*.pdf
|
||||||
|
#%doc docs.installed/tapsets
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{_bindir}/stap
|
%{_bindir}/stap
|
||||||
@ -240,6 +285,8 @@ exit 0
|
|||||||
%{_bindir}/stap-client
|
%{_bindir}/stap-client
|
||||||
%{_bindir}/stap-find-servers
|
%{_bindir}/stap-find-servers
|
||||||
%{_bindir}/stap-find-or-start-server
|
%{_bindir}/stap-find-or-start-server
|
||||||
|
%{_bindir}/stap-add-server-cert
|
||||||
|
%{_bindir}/stap-client-connect
|
||||||
%{_mandir}/man8/stap-server.8*
|
%{_mandir}/man8/stap-server.8*
|
||||||
|
|
||||||
%files server
|
%files server
|
||||||
@ -248,9 +295,31 @@ exit 0
|
|||||||
%{_bindir}/stap-serverd
|
%{_bindir}/stap-serverd
|
||||||
%{_bindir}/stap-start-server
|
%{_bindir}/stap-start-server
|
||||||
%{_bindir}/stap-stop-server
|
%{_bindir}/stap-stop-server
|
||||||
|
%{_bindir}/stap-gen-server-cert
|
||||||
|
%{_bindir}/stap-server-connect
|
||||||
%{_mandir}/man8/stap-server.8*
|
%{_mandir}/man8/stap-server.8*
|
||||||
|
|
||||||
|
%files sdt-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/dtrace
|
||||||
|
%{_includedir}/sys/sdt.h
|
||||||
|
|
||||||
|
%files initscript
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_sysconfdir}/init.d/systemtap
|
||||||
|
%dir %{_sysconfdir}/systemtap
|
||||||
|
%dir %{_sysconfdir}/systemtap/conf.d
|
||||||
|
%dir %{_sysconfdir}/systemtap/script.d
|
||||||
|
%config(noreplace) %{_sysconfdir}/systemtap/config
|
||||||
|
%dir %{_localstatedir}/cache/systemtap
|
||||||
|
%dir %{_localstatedir}/run/systemtap
|
||||||
|
%doc initscript/README.initscript
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 17 2009 Frank Ch. Eigler <fche@redhat.com> - 0.9-1
|
||||||
|
- Upstream release.
|
||||||
|
|
||||||
* Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
|
* Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
|
||||||
- Upstream release.
|
- Upstream release.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user