2 # TODO: - enable server
4 # - more configure options
7 Summary: Instrumentation System
8 Summary(pl.UTF-8): System oprzyrządowania
14 Source0: http://sources.redhat.com/systemtap/ftp/releases/%{name}-%{version}.tar.gz
15 # Source0-md5: 5b7ab0ae0efc520f0b19f9dbf11977c9
16 Patch0: %{name}-configure.patch
17 Patch1: %{name}-build.patch
18 Patch2: %{name}-rpm5-support.patch
19 URL: http://sourceware.org/systemtap/
20 BuildRequires: autoconf
21 BuildRequires: automake
23 BuildRequires: avahi-devel
24 BuildRequires: elfutils-devel
25 BuildRequires: glib2-devel
26 BuildRequires: mysql-devel
27 BuildRequires: nss-devel
28 BuildRequires: sqlite3-devel
29 BuildRequires: texlive-latex
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 SystemTap is an instrumentation system for systems running Linux 2.6.
34 Developers can write instrumentation to collect data on the operation
37 %description -l pl.UTF-8
38 SystemTap to system oprzyrządowania dla systemów opartych na Linuksie
39 2.6. Programiści mogą pisać narzędzia do zbierania danych dotyczących
43 Summary: Instrumentation System Server
45 Group: Applications/System
46 URL: http://sourceware.org/systemtap/
48 Requires: systemtap-devel = %{version}-%{release}
51 Requires(post): /sbin/chkconfig
52 Requires(preun): /sbin/chkconfig
55 This is the remote script compilation server component of systemtap.
56 It announces itself to nearby clients with avahi (if available), and
57 compiles systemtap scripts to kernel objects on their demand.
61 Summary: Programmable system-wide instrumentation system - development headers, tools
63 Group: Development/Libraries
64 URL: http://sourceware.org/systemtap/
66 Requires: linux-libc-headers
70 This package contains the components needed to compile a systemtap
71 script from source form into executable (.ko) forms. It may be
72 installed on a self-contained developer workstation (along with the
73 systemtap-client and systemtap-runtime packages), or on a dedicated
74 remote server (alongside the systemtap-server package). It includes a
75 copy of the standard tapset library and the runtime library C files.
78 Summary: Programmable system-wide instrumentation system - runtime
81 URL: http://sourceware.org/systemtap/
84 SystemTap runtime contains the components needed to execute a
85 systemtap script that was already compiled into a module using a local
86 or remote systemtap-devel installation.
89 Summary: Programmable system-wide instrumentation system - client
92 URL: http://sourceware.org/systemtap/
95 Requires: openssh-clients
97 Requires: systemtap-runtime = %{version}-%{release}
102 This package contains/requires the components needed to develop
103 systemtap scripts, and compile them using a local systemtap-devel or a
104 remote systemtap-server installation, then run them using a local or
105 remote systemtap-runtime. It includes script samples and
106 documentation, and a copy of the tapset library for reference.
110 Summary: Systemtap Initscripts
113 URL: http://sourceware.org/systemtap/
114 Requires: systemtap = %{version}-%{release}
115 Requires(post): /sbin/chkconfig
116 Requires(preun): /sbin/chkconfig
117 Requires(preun): rc-scripts
118 Requires(postun): rc-scripts
120 %description initscript
121 Sysvinit scripts to launch selected systemtap scripts at system
125 Summary: Static probe support tools
126 License: GPLv2+ and Public Domain
127 Group: Development/Libraries
128 URL: http://sourceware.org/systemtap/
130 %description sdt-devel
131 This package includes the <sys/sdt.h> header file used for static
132 instrumentation compiled into userspace programs and libraries, along
133 with the optional dtrace-compatibility preprocessor to process related
134 .d files into tracing-macro-laden .h headers.
148 --disable-silent-rules \
151 --%{?with_doc:en}%{!?with_doc:dis}able-docs \
156 rm -rf $RPM_BUILD_ROOT
159 DESTDIR=$RPM_BUILD_ROOT
161 install -d $RPM_BUILD_ROOT/var/cache/%{name}
166 rm -rf $RPM_BUILD_ROOT
169 %defattr(644,root,root,755)
170 %doc AUTHORS HACKING NEWS README*
172 %attr(755,root,root) %{_bindir}/stap
173 %attr(755,root,root) %{_bindir}/stap-merge
174 %attr(755,root,root) %{_bindir}/stap-report
175 %attr(755,root,root) %{_bindir}/stapgraph
176 %attr(755,root,root) %{_bindir}/staprun
178 %{_libexecdir}/%{name}
179 %dir /var/cache/%{name}
180 #%{_mandir}/man1/*.1*
181 #%{_mandir}/man3/*.3*
182 #%{_mandir}/man7/*.7*
183 #%{_mandir}/man8/*.8*
185 %files sdt-devel -f %{name}.lang
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_bindir}/dtrace
188 %{_includedir}/sys/sdt.h
189 %{_includedir}/sys/sdt-config.h
190 %{_mandir}/man1/dtrace.1*