]> sourceware.org Git - systemtap.git/blame - systemtap.spec
(BZ820457 partial fix) Update systemtap.printf/sharedbuf.exp for ppc64.
[systemtap.git] / systemtap.spec
CommitLineData
11059140
RM
1%{!?with_sqlite: %global with_sqlite 1}
2%{!?with_docs: %global with_docs 1}
38105915 3%{!?with_crash: %global with_crash 1}
11059140
RM
4%{!?with_rpm: %global with_rpm 1}
5%{!?with_bundled_elfutils: %global with_bundled_elfutils 0}
e050d62f 6%{!?elfutils_version: %global elfutils_version 0.142}
11059140 7%{!?pie_supported: %global pie_supported 1}
11059140
RM
8%{!?with_boost: %global with_boost 0}
9%{!?with_publican: %global with_publican 1}
10%{!?publican_brand: %global publican_brand fedora}
1074f79d 11
a2c9eba7 12Name: systemtap
d92a4cfe 13Version: 1.8
27aba29a 14Release: 1%{?dist}
59b30bda 15# for version, see also configure.ac
016a35ea
FCE
16
17
18# Packaging abstract:
19#
20# systemtap empty req:-client req:-devel
21# systemtap-server /usr/bin/stap-server*, req:-devel
22# systemtap-devel /usr/bin/stap, runtime, tapset, req:kernel-devel
23# systemtap-runtime /usr/bin/staprun, /usr/bin/stapsh
24# systemtap-client /usr/bin/stap, samples, docs, tapset(bonus), req:-runtime
25# systemtap-initscript /etc/init.d/systemtap, req:systemtap
26# systemtap-sdt-devel /usr/include/sys/sdt.h /usr/bin/dtrace
27# systemtap-testsuite /usr/share/systemtap/testsuite*, req:systemtap, req:sdt-devel
016a35ea
FCE
28#
29# Typical scenarios:
30#
31# stap-client: systemtap-client
32# stap-server: systemtap-server
33# local user: systemtap
34#
35# Unusual scenarios:
36#
37# intermediary stap-client for --remote: systemtap-client (-runtime unused)
38# intermediary stap-server for --use-server: systemtap-server (-devel unused)
39
40Summary: Programmable system-wide instrumentation system
7d838f63 41Group: Development/System
6a1cd8a7 42License: GPLv2+
a2c9eba7 43URL: http://sourceware.org/systemtap/
47b0655b 44Source: ftp://sourceware.org/pub/%{name}/releases/%{name}-%{version}.tar.gz
a2c9eba7 45
016a35ea 46# Build*
37b99e78 47BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4c895683 48BuildRequires: gcc-c++
9564097a 49BuildRequires: gettext
a87d23e3 50%if %{with_sqlite}
c3a3c0c9 51BuildRequires: sqlite-devel
d8c3d602 52%endif
469c1a1b
FCE
53# Needed for libstd++ < 4.0, without <tr1/memory>
54%if %{with_boost}
55BuildRequires: boost-devel
56%endif
a87d23e3 57%if %{with_crash}
d2995e6f 58BuildRequires: crash-devel zlib-devel
1e0716d3 59%endif
2ed04863
WC
60%if %{with_rpm}
61BuildRequires: rpm-devel glibc-headers
62%endif
ba354d30 63BuildRequires: nss-devel avahi-devel pkgconfig
a87d23e3 64%if %{with_bundled_elfutils}
7d838f63
MH
65Source1: elfutils-%{elfutils_version}.tar.gz
66Patch1: elfutils-portability.patch
d79591b3 67BuildRequires: m4
11059140 68%global setup_elfutils -a1
a2c9eba7
RM
69%else
70BuildRequires: elfutils-devel >= %{elfutils_version}
7d838f63 71%endif
465e8fbf
FCE
72%if %{with_docs}
73BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html
6275c8d7
DS
74# On F10, xmlto's pdf support was broken off into a sub-package,
75# called 'xmlto-tex'. To avoid a specific F10 BuildReq, we'll do a
76# file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
77BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
53ade4da
MW
78%if %{with_publican}
79BuildRequires: publican
59c75f19 80BuildRequires: /usr/share/publican/Common_Content/%{publican_brand}/defaults.cfg
53ade4da 81%endif
465e8fbf 82%endif
f0368912 83BuildRequires: gettext-devel
14df5fde 84
016a35ea
FCE
85# Install requirements
86Requires: systemtap-client = %{version}-%{release}
87Requires: systemtap-devel = %{version}-%{release}
88
7d838f63 89%description
f89ff3e2 90SystemTap is an instrumentation system for systems running Linux.
016a35ea
FCE
91Developers can write instrumentation scripts to collect data on
92the operation of the system. The base systemtap package contains/requires
93the components needed to locally develop and execute systemtap scripts.
94
95# ------------------------------------------------------------------------
96
97%package server
98Summary: Instrumentation System Server
99Group: Development/System
100License: GPLv2+
101URL: http://sourceware.org/systemtap/
102Requires: systemtap-devel = %{version}-%{release}
103# On RHEL[45], /bin/mktemp comes from the 'mktemp' package. On newer
104# distributions, /bin/mktemp comes from the 'coreutils' package. To
105# avoid a specific RHEL[45] Requires, we'll do a file-based require.
106Requires: nss /bin/mktemp
107Requires: zip unzip
108Requires(pre): shadow-utils
109Requires(post): chkconfig
110Requires(preun): chkconfig
111Requires(preun): initscripts
112Requires(postun): initscripts
113BuildRequires: nss-devel avahi-devel
114
115%description server
116This is the remote script compilation server component of systemtap.
117It announces itself to nearby clients with avahi (if available), and
118compiles systemtap scripts to kernel objects on their demand.
119
120
121%package devel
122Summary: Programmable system-wide instrumentation system - development headers, tools
123Group: Development/System
124License: GPLv2+
125URL: http://sourceware.org/systemtap/
126Requires: kernel >= 2.6.9-11
127# Alternate kernel packages kernel-PAE-devel et al. have a virtual
128# provide for kernel-devel, so this requirement does the right thing,
129# at least past RHEL4.
130Requires: kernel-devel
4c895683 131Requires: gcc make
016a35ea
FCE
132# Suggest: kernel-debuginfo
133
134%description devel
135This package contains the components needed to compile a systemtap
136script from source form into executable (.ko) forms. It may be
137installed on a self-contained developer workstation (along with the
138systemtap-client and systemtap-runtime packages), or on a dedicated
139remote server (alongside the systemtap-server package). It includes
140a copy of the standard tapset library and the runtime library C files.
141
7d838f63 142
a63a95dc 143%package runtime
016a35ea 144Summary: Programmable system-wide instrumentation system - runtime
a63a95dc 145Group: Development/System
6a1cd8a7 146License: GPLv2+
a63a95dc
DS
147URL: http://sourceware.org/systemtap/
148Requires: kernel >= 2.6.9-11
378a5245 149Requires(pre): shadow-utils
a63a95dc
DS
150
151%description runtime
016a35ea
FCE
152SystemTap runtime contains the components needed to execute
153a systemtap script that was already compiled into a module
154using a local or remote systemtap-devel installation.
a63a95dc 155
016a35ea
FCE
156
157%package client
158Summary: Programmable system-wide instrumentation system - client
8f3c45cc
FCE
159Group: Development/System
160License: GPLv2+
161URL: http://sourceware.org/systemtap/
016a35ea
FCE
162Requires: zip unzip
163Requires: systemtap-runtime = %{version}-%{release}
164Requires: coreutils grep sed unzip zip
165Requires: openssh-clients
8f3c45cc 166
016a35ea
FCE
167%description client
168This package contains/requires the components needed to develop
169systemtap scripts, and compile them using a local systemtap-devel
170or a remote systemtap-server installation, then run them using a
171local or remote systemtap-runtime. It includes script samples and
172documentation, and a copy of the tapset library for reference.
8f3c45cc 173
016a35ea
FCE
174
175%package initscript
176Summary: Systemtap Initscripts
d9d14e20
DB
177Group: Development/System
178License: GPLv2+
179URL: http://sourceware.org/systemtap/
ad12652e 180Requires: systemtap = %{version}-%{release}
e2a741be
DB
181Requires(post): chkconfig
182Requires(preun): chkconfig
183Requires(preun): initscripts
184Requires(postun): initscripts
d9d14e20 185
016a35ea
FCE
186%description initscript
187Sysvinit scripts to launch selected systemtap scripts at system startup.
188
d9d14e20 189
b899aa79
SC
190%package sdt-devel
191Summary: Static probe support tools
192Group: Development/System
920b103a 193License: GPLv2+ and Public Domain
b899aa79 194URL: http://sourceware.org/systemtap/
b899aa79
SC
195
196%description sdt-devel
016a35ea
FCE
197This package includes the <sys/sdt.h> header file used for static
198instrumentation compiled into userspace programs and libraries, along
199with the optional dtrace-compatibility preprocessor to process related
200.d files into tracing-macro-laden .h headers.
b899aa79 201
016a35ea
FCE
202
203%package testsuite
204Summary: Instrumentation System Testsuite
9a8d8be3
MH
205Group: Development/System
206License: GPLv2+
207URL: http://sourceware.org/systemtap/
016a35ea
FCE
208Requires: systemtap = %{version}-%{release}
209Requires: systemtap-sdt-devel = %{version}-%{release}
df7d2178 210Requires: dejagnu which prelink elfutils grep nc
4c895683
SC
211Requires: gcc gcc-c++ make glibc-devel
212%if %{_arch} == x86_64
213Requires: glibc-devel(%{__isa_name}-32)
214%endif
016a35ea
FCE
215
216%description testsuite
217This package includes the dejagnu-based systemtap stress self-testing
218suite. This may be used by system administrators to thoroughly check
219systemtap on the current system.
9a8d8be3 220
9a8d8be3 221
016a35ea
FCE
222# ------------------------------------------------------------------------
223
7d838f63 224%prep
a2c9eba7
RM
225%setup -q %{?setup_elfutils}
226
a87d23e3 227%if %{with_bundled_elfutils}
7d838f63
MH
228cd elfutils-%{elfutils_version}
229%patch1 -p1
a2c9eba7
RM
230sleep 1
231find . \( -name Makefile.in -o -name aclocal.m4 \) -print | xargs touch
232sleep 1
233find . \( -name configure -o -name config.h.in \) -print | xargs touch
7d838f63
MH
234cd ..
235%endif
236
237%build
a2c9eba7 238
a87d23e3 239%if %{with_bundled_elfutils}
7d838f63 240# Build our own copy of elfutils.
11059140 241%global elfutils_config --with-elfutils=elfutils-%{elfutils_version}
a2c9eba7
RM
242
243# We have to prevent the standard dependency generation from identifying
244# our private elfutils libraries in our provides and requires.
11059140
RM
245%global _use_internal_dependency_generator 0
246%global filter_eulibs() /bin/sh -c "%{1} | sed '/libelf/d;/libdw/d;/libebl/d'"
247%global __find_provides %{filter_eulibs /usr/lib/rpm/find-provides}
248%global __find_requires %{filter_eulibs /usr/lib/rpm/find-requires}
4dbd685d
RM
249
250# This will be needed for running stap when not installed, for the test suite.
11059140 251%global elfutils_mflags LD_LIBRARY_PATH=`pwd`/lib-elfutils
7d838f63
MH
252%endif
253
9921a199 254# Enable/disable the sqlite coverage testing support
a87d23e3 255%if %{with_sqlite}
11059140 256%global sqlite_config --enable-sqlite
9921a199 257%else
11059140 258%global sqlite_config --disable-sqlite
d8c3d602
WC
259%endif
260
a87d23e3
DS
261# Enable/disable the crash extension
262%if %{with_crash}
11059140 263%global crash_config --enable-crash
a87d23e3 264%else
11059140 265%global crash_config --disable-crash
a87d23e3
DS
266%endif
267
2ed04863
WC
268# Enable/disable the code to find and suggest needed rpms
269%if %{with_rpm}
11059140 270%global rpm_config --with-rpm
2ed04863 271%else
11059140 272%global rpm_config --without-rpm
2ed04863
WC
273%endif
274
465e8fbf 275%if %{with_docs}
11059140 276%global docs_config --enable-docs
465e8fbf 277%else
11059140 278%global docs_config --disable-docs
465e8fbf
FCE
279%endif
280
e1e3ba36
RA
281# Enable pie as configure defaults to disabling it
282%if %{pie_supported}
11059140 283%global pie_config --enable-pie
e1e3ba36 284%else
11059140 285%global pie_config --disable-pie
e1e3ba36 286%endif
465e8fbf 287
53ade4da 288%if %{with_publican}
11059140 289%global publican_config --enable-publican --with-publican-brand=%{publican_brand}
53ade4da 290%else
11059140 291%global publican_config --disable-publican
53ade4da
MW
292%endif
293
465e8fbf 294
62cb4be9 295%configure %{?elfutils_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} %{publican_config} %{rpm_config} --disable-silent-rules
a2c9eba7 296make %{?_smp_mflags}
2a4b42eb 297
ec4d1558
MW
298%install
299rm -rf ${RPM_BUILD_ROOT}
300make DESTDIR=$RPM_BUILD_ROOT install
9564097a 301%find_lang %{name}
ec4d1558 302
c256c4a6
MW
303# We want the examples in the special doc dir, not the build install dir.
304# We build it in place and then move it away so it doesn't get installed
305# twice. rpm can specify itself where the (versioned) docs go with the
306# %doc directive.
ec4d1558
MW
307mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/examples examples
308
d2995e6f
FCE
309# Fix paths in the example & testsuite scripts
310find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
7d838f63 311
414e04de
DS
312# To make rpmlint happy, remove any .gitignore files in the testsuite.
313find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
314
b7565b41 315# Because "make install" may install staprun with whatever mode, the
98aab489
DS
316# post-processing programs rpmbuild runs won't be able to read it.
317# So, we change permissions so that they can read it. We'll set the
b7565b41 318# permissions back to 04110 in the %files section below.
98aab489
DS
319chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
320
cd4d1d39
WC
321#install the useful stap-prep script
322install -c -m 755 stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
323
8f3c45cc
FCE
324# Copy over the testsuite
325cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
326
4040e9ea 327%if %{with_docs}
7fe437e6 328# We want the manuals in the special doc dir, not the generic doc install dir.
c256c4a6
MW
329# We build it in place and then move it away so it doesn't get installed
330# twice. rpm can specify itself where the (versioned) docs go with the
331# %doc directive.
7fe437e6
MW
332mkdir docs.installed
333mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
5bfd7a37 334mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/tapsets docs.installed/
53ade4da
MW
335%if %{with_publican}
336mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installed/
337%endif
4040e9ea 338%endif
7fe437e6 339
e2a741be
DB
340mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
341install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
9a8d8be3
MH
342mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
343mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
344mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
e2a741be 345install -m 644 initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
9a8d8be3
MH
346mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/systemtap
347mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/systemtap
09070e8a 348
e2a741be 349install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
2f78bee0
DB
350mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server
351mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server/conf.d
c982e923 352mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
e2a741be 353install -m 644 initscript/config.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/stap-server
2648a9b4
DB
354mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server
355touch $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server/log
962906a7
DS
356mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
357install -m 644 initscript/logrotate.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/stap-server
9a8d8be3 358
7d838f63
MH
359%clean
360rm -rf ${RPM_BUILD_ROOT}
361
378a5245 362%pre runtime
826d96f8
DB
363getent group stapusr >/dev/null || groupadd -g 156 -r stapusr || groupadd -r stapusr
364getent group stapsys >/dev/null || groupadd -g 157 -r stapsys || groupadd -r stapsys
365getent group stapdev >/dev/null || groupadd -g 158 -r stapdev || groupadd -r stapdev
efc4bf9a 366exit 0
98aab489 367
7433d0cf 368%pre server
016a35ea 369getent group stap-server >/dev/null || groupadd -g 155 -r stap-server || groupadd -r stap-server
2648a9b4
DB
370getent passwd stap-server >/dev/null || \
371 useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -m -r -s /sbin/nologin stap-server || \
372 useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -m -r -s /sbin/nologin stap-server
c33bb0d6 373test -e ~stap-server && chmod 755 ~stap-server
878b2f3f
CM
374
375if [ ! -f ~stap-server/.systemtap/rc ]; then
376 mkdir -p ~stap-server/.systemtap
377 chown stap-server:stap-server ~stap-server/.systemtap
378 echo "--rlimit-as=614400000 --rlimit-cpu=60 --rlimit-nproc=20 --rlimit-stack=1024000 --rlimit-fsize=51200000" > ~stap-server/.systemtap/rc
379 chown stap-server:stap-server ~stap-server/.systemtap/rc
380fi
7433d0cf
DB
381exit 0
382
09070e8a 383%post server
962906a7
DS
384test -e %{_localstatedir}/log/stap-server/log || {
385 touch %{_localstatedir}/log/stap-server/log
386 chmod 664 %{_localstatedir}/log/stap-server/log
387 chown stap-server:stap-server %{_localstatedir}/log/stap-server/log
388}
878b2f3f 389
994e8c2c 390# If it does not already exist, as stap-server, generate the certificate
2648a9b4
DB
391# used for signing and for ssl.
392if test ! -e ~stap-server/.systemtap/ssl/server/stap.cert; then
393 runuser -s /bin/sh - stap-server -c %{_libexecdir}/%{name}/stap-gen-cert >/dev/null
394 # Authorize the certificate as a trusted ssl peer and as a trusted signer
395 # on the local host.
f0d23fa8
DB
396 %{_libexecdir}/%{name}/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/ssl/client >/dev/null
397 %{_libexecdir}/%{name}/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/staprun >/dev/null
2648a9b4 398fi
829fc0c4 399
03301bc3 400# Activate the service
e2a741be 401/sbin/chkconfig --add stap-server
09070e8a
DB
402exit 0
403
404%preun server
d210cb1c
DB
405# Check that this is the actual deinstallation of the package, as opposed to
406# just removing the old package on upgrade.
e2a741be
DB
407if [ $1 = 0 ] ; then
408 /sbin/service stap-server stop >/dev/null 2>&1
409 /sbin/chkconfig --del stap-server
410fi
411exit 0
412
413%postun server
d210cb1c
DB
414# Check whether this is an upgrade of the package.
415# If so, restart the service if it's running
e2a741be
DB
416if [ "$1" -ge "1" ] ; then
417 /sbin/service stap-server condrestart >/dev/null 2>&1 || :
418fi
09070e8a
DB
419exit 0
420
9a8d8be3 421%post initscript
e2a741be 422/sbin/chkconfig --add systemtap
9a8d8be3
MH
423exit 0
424
425%preun initscript
d210cb1c
DB
426# Check that this is the actual deinstallation of the package, as opposed to
427# just removing the old package on upgrade.
e2a741be
DB
428if [ $1 = 0 ] ; then
429 /sbin/service systemtap stop >/dev/null 2>&1
430 /sbin/chkconfig --del systemtap
431fi
432exit 0
433
434%postun initscript
d210cb1c
DB
435# Check whether this is an upgrade of the package.
436# If so, restart the service if it's running
e2a741be
DB
437if [ "$1" -ge "1" ] ; then
438 /sbin/service systemtap condrestart >/dev/null 2>&1 || :
439fi
9a8d8be3
MH
440exit 0
441
1208cc21
FCE
442%post
443# Remove any previously-built uprobes.ko materials
2648a9b4 444(make -C %{_datadir}/%{name}/runtime/uprobes clean) >/dev/null 2>&1 || true
70f2bd1f 445(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
1208cc21
FCE
446
447%preun
448# Ditto
2648a9b4 449(make -C %{_datadir}/%{name}/runtime/uprobes clean) >/dev/null 2>&1 || true
70f2bd1f 450(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
9a8d8be3 451
016a35ea
FCE
452# ------------------------------------------------------------------------
453
9564097a 454%files -f %{name}.lang
016a35ea
FCE
455# The master "systemtap" rpm doesn't include any files.
456
457%files server -f %{name}.lang
7d838f63 458%defattr(-,root,root)
016a35ea
FCE
459%{_bindir}/stap-server
460%dir %{_libexecdir}/%{name}
461%{_libexecdir}/%{name}/stap-serverd
462%{_libexecdir}/%{name}/stap-start-server
463%{_libexecdir}/%{name}/stap-stop-server
464%{_libexecdir}/%{name}/stap-gen-cert
465%{_libexecdir}/%{name}/stap-sign-module
466%{_mandir}/man7/stappaths.7*
467%{_mandir}/man8/stap-server.8*
468%{_sysconfdir}/rc.d/init.d/stap-server
469%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
470%dir %{_sysconfdir}/stap-server
471%dir %{_sysconfdir}/stap-server/conf.d
472%config(noreplace) %{_sysconfdir}/sysconfig/stap-server
473%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
474%ghost %config(noreplace) %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
475%ghost %attr(0755,stap-server,stap-server) %{_localstatedir}/run/stap-server
476%doc initscript/README.stap-server
477%doc README README.unprivileged AUTHORS NEWS COPYING
a2c9eba7 478
a2c9eba7 479
016a35ea 480%files devel -f %{name}.lang
a2c9eba7 481%{_bindir}/stap
cd4d1d39 482%{_bindir}/stap-prep
b0ff684d 483%{_bindir}/stap-report
016a35ea 484%dir %{_datadir}/%{name}/runtime
bcdfb17d 485%{_datadir}/%{name}/runtime
016a35ea 486%dir %{_datadir}/%{name}/tapset
bcdfb17d 487%{_datadir}/%{name}/tapset
016a35ea
FCE
488%{_mandir}/man1/stap.1*
489%{_mandir}/man7/stappaths.7*
490%doc README README.unprivileged AUTHORS NEWS COPYING
a87d23e3 491%if %{with_bundled_elfutils}
75ab1a70 492%dir %{_libdir}/%{name}
8f3c45cc 493%{_libdir}/%{name}/lib*.so*
7d838f63 494%endif
a2c9eba7 495
9564097a 496%files runtime -f %{name}.lang
a63a95dc 497%defattr(-,root,root)
b7565b41 498%attr(4110,root,stapusr) %{_bindir}/staprun
e96f2257 499%{_bindir}/stapsh
6c2c4d8e 500%{_bindir}/stap-merge
b0ff684d 501%{_bindir}/stap-report
75ab1a70 502%dir %{_libexecdir}/%{name}
43a03765 503%{_libexecdir}/%{name}/stapio
961588fd 504%{_libexecdir}/%{name}/stap-env
edecda6c 505%{_libexecdir}/%{name}/stap-authorize-cert
38105915 506%if %{with_crash}
75ab1a70 507%dir %{_libdir}/%{name}
38105915
WC
508%{_libdir}/%{name}/staplog.so*
509%endif
4e47b3c4 510%{_mandir}/man7/stappaths.7*
0bda9740 511%{_mandir}/man8/staprun.8*
b569591a 512%doc README README.security AUTHORS NEWS COPYING
7d838f63 513
8f3c45cc 514
016a35ea 515%files client -f %{name}.lang
d9d14e20 516%defattr(-,root,root)
016a35ea
FCE
517%doc README README.unprivileged AUTHORS NEWS COPYING examples
518%if %{with_docs}
519%doc docs.installed/*.pdf
520%doc docs.installed/tapsets/*.html
521%if %{with_publican}
522%doc docs.installed/SystemTap_Beginners_Guide
523%endif
524%endif
525%{_bindir}/stap
526%{_bindir}/stap-prep
527%{_bindir}/stap-report
528%{_mandir}/man1/stap.1*
529%{_mandir}/man1/stap-merge.1*
530%{_mandir}/man3/*
4e47b3c4 531%{_mandir}/man7/stappaths.7*
016a35ea
FCE
532%dir %{_datadir}/%{name}
533%{_datadir}/%{name}/tapset
534
8f3c45cc 535
b899aa79 536
9a8d8be3
MH
537%files initscript
538%defattr(-,root,root)
e2a741be 539%{_sysconfdir}/rc.d/init.d/systemtap
9a8d8be3
MH
540%dir %{_sysconfdir}/systemtap
541%dir %{_sysconfdir}/systemtap/conf.d
542%dir %{_sysconfdir}/systemtap/script.d
543%config(noreplace) %{_sysconfdir}/systemtap/config
544%dir %{_localstatedir}/cache/systemtap
d1bf48fa 545%ghost %{_localstatedir}/run/systemtap
e2a741be 546%doc initscript/README.systemtap
9a8d8be3 547
016a35ea
FCE
548
549%files sdt-devel -f %{name}.lang
550%defattr(-,root,root)
551%{_bindir}/dtrace
552%{_includedir}/sys/sdt.h
553%{_includedir}/sys/sdt-config.h
554%{_mandir}/man1/dtrace.1*
555%doc README AUTHORS NEWS COPYING
556
557
558%files testsuite
559%defattr(-,root,root)
560%dir %{_datadir}/%{name}
561%{_datadir}/%{name}/testsuite
562
563
016a35ea 564# ------------------------------------------------------------------------
9a8d8be3 565
7d838f63 566%changelog
83bd2699
FCE
567* Wed Feb 01 2012 Frank Ch. Eigler <fche@redhat.com> - 1.7-1
568- Upstream release.
569
87600139
DS
570* Fri Jan 13 2012 David Smith <dsmith@redhat.com> - 1.6-2
571- Fixed /bin/mktemp require.
572
aff1eaa0
FCE
573* Mon Jul 25 2011 Stan Cox <scox@redhat.com> - 1.6-1
574- Upstream release.
575
576* Tue May 23 2011 Stan Cox <scox@redhat.com> - 1.5-1
577- Upstream release.
578
6e0c15da
FCE
579* Mon Jan 17 2011 Frank Ch. Eigler <fche@redhat.com> - 1.4-1
580- Upstream release.
581
e12e958f
JS
582* Wed Jul 21 2010 Josh Stone <jistone@redhat.com> - 1.3-1
583- Upstream release.
584
e36ba31a
FCE
585* Mon Mar 22 2010 Frank Ch. Eigler <fche@redhat.com> - 1.2-1
586- Upstream release.
587
0710d850
DS
588* Mon Dec 21 2009 David Smith <dsmith@redhat.com> - 1.1-1
589- Upstream release.
590
6a7aa1a1
JS
591* Tue Sep 22 2009 Josh Stone <jistone@redhat.com> - 1.0-1
592- Upstream release.
593
1e9b189f
JS
594* Tue Aug 4 2009 Josh Stone <jistone@redhat.com> - 0.9.9-1
595- Upstream release.
596
e1774a7f
JS
597* Thu Jun 11 2009 Josh Stone <jistone@redhat.com> - 0.9.8-1
598- Upstream release.
599
9b055ab2 600* Thu Apr 23 2009 Josh Stone <jistone@redhat.com> - 0.9.7-1
225d8d4b
JS
601- Upstream release.
602
27aba29a
JS
603* Fri Mar 27 2009 Josh Stone <jistone@redhat.com> - 0.9.5-1
604- Upstream release.
605
fab6ce30
WC
606* Wed Mar 18 2009 Will Cohen <wcohen@redhat.com> - 0.9-2
607- Add location of man pages.
608
c8bf931d
FCE
609* Tue Feb 17 2009 Frank Ch. Eigler <fche@redhat.com> - 0.9-1
610- Upstream release.
611
70f5a7b3
FCE
612* Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
613- Upstream release.
614
cfaa068c
FCE
615* Tue Jul 15 2008 Frank Ch. Eigler <fche@redhat.com> - 0.7-1
616- Upstream release.
617
d2995e6f
FCE
618* Fri Feb 1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
619- Add zlib-devel to buildreq; missing from crash-devel
620- Process testsuite .stp files for #!stap->#!/usr/bin/stap
621
bfe2b4ab 622* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
1e0716d3
FCE
623- Add crash-devel buildreq to build staplog.so crash(8) module.
624- Many robustness & functionality improvements:
625
47b0655b
WC
626* Wed Dec 5 2007 Will Cohen <wcohen@redhat.com> - 0.6-2
627- Correct Source to point to location contain code.
628
98aab489
DS
629* Thu Aug 9 2007 David Smith <dsmith@redhat.com> - 0.6-1
630- Bumped version, added libcap-devel BuildRequires.
631
d8c3d602
WC
632* Wed Jul 11 2007 Will Cohen <wcohen@redhat.com> - 0.5.14-2
633- Fix Requires and BuildRequires for sqlite.
634
c1edaa30
FCE
635* Tue Jul 2 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.14-1
636- Many robustness improvements: 1117, 1134, 1305, 1307, 1570, 1806,
637 2033, 2116, 2224, 2339, 2341, 2406, 2426, 2438, 2583, 3037,
638 3261, 3282, 3331, 3428 3519, 3545, 3625, 3648, 3880, 3888, 3911,
639 3952, 3965, 4066, 4071, 4075, 4078, 4081, 4096, 4119, 4122, 4127,
640 4146, 4171, 4179, 4183, 4221, 4224, 4254, 4281, 4319, 4323, 4326,
641 4329, 4332, 4337, 4415, 4432, 4444, 4445, 4458, 4467, 4470, 4471,
642 4518, 4567, 4570, 4579, 4589, 4609, 4664
643
aa384dcd
FCE
644* Mon Mar 26 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.13-1
645- An emergency / preliminary refresh, mainly for compatibility
646 with 2.6.21-pre kernels.
2a4b42eb 647
31982bd2
FCE
648* Mon Jan 1 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.12-1
649- Many changes, see NEWS file.
650
a63a95dc
DS
651* Tue Sep 26 2006 David Smith <dsmith@redhat.com> - 0.5.10-1
652- Added 'systemtap-runtime' subpackage.
653
d65d6b27
RM
654* Wed Jul 19 2006 Roland McGrath <roland@redhat.com> - 0.5.9-1
655- PRs 2669, 2913
656
c1d6a343
RM
657* Fri Jun 16 2006 Roland McGrath <roland@redhat.com> - 0.5.8-1
658- PRs 2627, 2520, 2228, 2645
659
f6291560 660* Fri May 5 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.7-1
6f231a27
FCE
661- PRs 2511 2453 2307 1813 1944 2497 2538 2476 2568 1341 2058 2220 2437
662 1326 2014 2599 2427 2438 2465 1930 2149 2610 2293 2634 2506 2433
663
611010bf
RM
664* Tue Apr 4 2006 Roland McGrath <roland@redhat.com> - 0.5.5-1
665- Many changes, affected PRs include: 2068, 2293, 1989, 2334,
666 1304, 2390, 2425, 953.
667
be9923ac
FCE
668* Wed Feb 1 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.4-1
669- PRs 1916, 2205, 2142, 2060, 1379
670
db6a8a10
RM
671* Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 0.5.3-1
672- Many changes, affected PRs include: 2056, 1144, 1379, 2057,
673 2060, 1972, 2140, 2148
674
dcf0c541
RM
675* Mon Dec 19 2005 Roland McGrath <roland@redhat.com> - 0.5.2-1
676- Fixed build with gcc 4.1, various tapset changes.
677
4d9087fc
RM
678* Wed Dec 7 2005 Roland McGrath <roland@redhat.com> - 0.5.1-1
679- elfutils update, build changes
680
e94c050c 681* Fri Dec 02 2005 Frank Ch. Eigler <fche@redhat.com> - 0.5-1
7d9e8974
FCE
682- Many fixes and improvements: 1425, 1536, 1505, 1380, 1329, 1828, 1271,
683 1339, 1340, 1345, 1837, 1917, 1903, 1336, 1868, 1594, 1564, 1276, 1295
684
ae65ed5c
RM
685* Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.4.2-1
686- Many fixes and improvements: PRs 1344, 1260, 1330, 1295, 1311, 1368,
687 1182, 1131, 1332, 1366, 1456, 1271, 1338, 1482, 1477, 1194.
688
66bb48fd
RM
689* Wed Sep 14 2005 Roland McGrath <roland@redhat.com> - 0.4.1-1
690- Many fixes and improvements since 0.2.2; relevant PRs include:
691 1122, 1134, 1155, 1172, 1174, 1175, 1180, 1186, 1187, 1191, 1193, 1195,
692 1197, 1205, 1206, 1209, 1213, 1244, 1257, 1258, 1260, 1265, 1268, 1270,
693 1289, 1292, 1306, 1335, 1257
694
323904e0
FCE
695* Wed Sep 7 2005 Frank Ch. Eigler <fche@redhat.com>
696- Bump version.
697
03f23d0f 698* Wed Aug 16 2005 Frank Ch. Eigler <fche@redhat.com>
83ff1cf9
FCE
699- Bump version.
700
2205d115
MH
701* Wed Aug 3 2005 Martin Hunt <hunt@redhat.com> - 0.2.2-1
702- Add directory /var/cache/systemtap
703- Add stp_check to /usr/libexec/systemtap
704
351e76d3
RM
705* Wed Aug 3 2005 Roland McGrath <roland@redhat.com> - 0.2.1-1
706- New version 0.2.1, various fixes.
707
4dbd685d
RM
708* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.2-1
709- New version 0.2, requires elfutils 0.111
710
a2c9eba7
RM
711* Mon Jul 25 2005 Roland McGrath <roland@redhat.com>
712- Clean up spec file, build bundled elfutils.
713
7d838f63
MH
714* Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
715- Set Version to use version from autoconf.
716- Fix up some of the path names.
a2c9eba7
RM
717- Add Requires and BuildRequires.
718
719* Wed Jul 19 2005 Will Cohen <wcohen@redhat.com>
7d838f63 720- Initial creation of RPM.
This page took 0.223259 seconds and 5 git commands to generate.