systemtap/systemtap.spec

117 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package systemtap (Version 0.5.8)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: systemtap
BuildRequires: gcc-c++
%define package_version 20070203
%define elfutils_version 0.125
License: GNU General Public License (GPL)
Version: 0.5.8
Release: 28
Summary: Instrumentation System
Group: Development/Tools/Debuggers
URL: http://sourceware.org/systemtap/
# Requires: kernel-source gcc make
# Suggest: kernel-smp-debuginfo
Source: systemtap-%{package_version}.tar.bz2
Source1: elfutils-%{elfutils_version}-no-osl.tar.bz2
Patch: systap-elf-install.patch
Patch1: elfutils-portability.patch
Patch2: elfutils-0.125-build-fix.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
SystemTap is an instrumentation system for systems running Linux 2.6.
Developers can write instrumentation to collect data on the operation
of the system.
Authors:
--------
Frank Ch. Eigler <fche@redhat.com>
Graydon Hoare <graydon@redhat.com>
Martin Hunt <hunt@redhat.com>
Tom Zanussi <zanussi@us.ibm.com>
%prep
# %setup -n %{name}-%{package_version} -q -a1
%setup -n src -q -a1
%patch
autoreconf -fi
cd elfutils-%{elfutils_version}
%patch1 -p1
%patch2
autoreconf -fi
cd ..
%build
%configure --with-elfutils=elfutils-%{elfutils_version}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install install-elfutils
mkdir -p $RPM_BUILD_ROOT/var/cache/systemtap
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
%doc README AUTHORS NEWS COPYING
%{_bindir}/*
%{_mandir}/man?/*
%{_libdir}/systemtap
%{_datadir}/systemtap
%dir %attr(0755,root,root) /var/cache/systemtap
%changelog -n systemtap
* Tue Feb 06 2007 - tiwai@suse.de
- update to snapshot 20070203, bugfixes including:
* add missing sockets tapset support (#239346)
* fix the array membership (#242481)
* Wed Jan 31 2007 - tiwai@suse.de
- turn on Autoprov again to fix broken dependency.
* Tue Jan 30 2007 - tiwai@suse.de
- update to snapshot 20070120 and elfutils-0.125 to fix major
bugs (#238710):
* fixed libdw known bugs in elfutils 0.124
* add the missing support of tapsetr/errno.stp for s390x
* fix conditionals in syscall tapset for s390x
* new macros to safely read/write values from kernel pointers
* fix the non-standard C behavior to handle NULL in an array
* fixed support for benchmarking mode with off-line code
* added support to allow user to use array size declarations
* reduce number of calls to stp_module_relocate within $tvar
functions
* Tue Jan 09 2007 - tiwai@suse.de
- updated to the recent snapshot version (FATE 301670).
* fix cache bugs
* auto-tools fixes
* probe registartion rework
* allow negative numeric literals
* bugfixes/optmizations
- elfutls 1.2.4
removed codes with problematic license in elfutils (#232894)
* Thu Aug 24 2006 - tiwai@suse.de
- update elfutils to 1.2.3, including vmlinux.debuginfo fix.
* Thu Aug 24 2006 - tiwai@suse.de
- fix the auto-lookup of vmlinux debuginfo for SUSE systems
- fix the stp compilation with 2.6.18 kernel
* Wed Aug 09 2006 - tiwai@suse.de
- updated to latest snapshot (version 0.5.8)
with elfutils-1.2.2.
* Tue Apr 18 2006 - mason@suse.de
- Update to latest snapshot
* Sun Apr 09 2006 - mason@suse.de
- created package