]> git.pld-linux.org Git - packages/systemtap.git/blame - systemtap.spec
- added rpm5 bcond
[packages/systemtap.git] / systemtap.spec
CommitLineData
87230ea0 1#
8bec3f09
JB
2# Conditional build:
3%bcond_without doc # documentation build
97c167ee 4%bcond_with publican # publican guides build [as of 3.0 not rebuilt automatically, PDFs are included]
1651fd5a 5%bcond_without crash # crash extension
c15371b4 6%bcond_without dyninst # dyninst support
8bec3f09 7%bcond_without java # Java runtime support
07f4762f
JB
8%bcond_without python2 # Python 2.x runtime support
9%bcond_without python3 # Python 3.x runtime support
cdb3985d 10%bcond_with rpm5 # build with rpm5
7a86387a 11
8ed2489b 12%ifnarch %{ix86} %{x8664} x32 alpha arm ia64 ppc64 s390 s390x
1651fd5a
JB
13%undefine with_crash
14%endif
923afaa0 15%ifnarch %{ix86} %{x8664} x32 ppc ppc64 aarch64
c15371b4
JB
16%undefine with_dyninst
17%endif
aa39e90e 18Summary: Instrumentation System
7ad1ccd0 19Summary(pl.UTF-8): System oprzyrządowania
aa39e90e 20Name: systemtap
a29198fa 21Version: 3.3
cdb3985d 22Release: 6
839ed024 23License: GPL v2+
aa39e90e 24Group: Base
e7f20467 25Source0: http://sourceware.org/systemtap/ftp/releases/%{name}-%{version}.tar.gz
a29198fa 26# Source0-md5: 7f80117649a9eb663781b5372e8a4f96
7a86387a 27Source1: %{name}.tmpfiles
8bec3f09 28Source2: stap-server.tmpfiles
459a2a3b 29Patch0: %{name}-configure.patch
099db71a 30Patch1: %{name}-build.patch
6fbeb569 31Patch2: %{name}-rpm5-support.patch
97c167ee 32Patch3: %{name}-no-werror.patch
1a30c954 33Patch4: format-security.patch
07f4762f 34Patch5: %{name}-dyninst.patch
ff9bc29b 35URL: http://sourceware.org/systemtap/
8bec3f09 36BuildRequires: autoconf >= 2.63
60a0430a 37BuildRequires: automake
099db71a 38BuildRequires: avahi-devel
8bec3f09 39BuildRequires: boost-devel
1651fd5a 40%{?with_crash:BuildRequires: crash-devel}
8bec3f09 41BuildRequires: docbook-dtd412-xml
c15371b4 42%{?with_dyninst:BuildRequires: dyninst-devel >= 8.0}
8bec3f09 43BuildRequires: elfutils-devel >= 0.148
e75a4152
JB
44BuildRequires: gettext-devel >= 0.19.4
45BuildRequires: gettext-tools >= 0.19.4
a29198fa 46BuildRequires: glib2-devel >= 2.0
07f4762f 47BuildRequires: json-c-devel >= 0.12
97c167ee 48%{?with_java:BuildRequires: jdk}
c15371b4
JB
49%if %{with dyninst} || %{with java}
50BuildRequires: libselinux-devel
51%endif
07f4762f 52BuildRequires: libstdc++-devel >= 6:4.5
e7f20467
JB
53BuildRequires: libvirt-devel >= 1.0.2
54BuildRequires: libxml2-devel >= 2.0
aa39e90e 55BuildRequires: mysql-devel
97c167ee 56BuildRequires: ncurses-devel
8bec3f09 57BuildRequires: nss-devel >= 3
7af1a693 58BuildRequires: pkgconfig
07f4762f
JB
59%if %{with python2}
60BuildRequires: python-devel >= 1:2.6
61BuildRequires: python-setuptools
62%endif
63%if %{with python3}
64BuildRequires: python3-devel >= 1:3.2
65BuildRequires: python3-setuptools
66%endif
97c167ee 67BuildRequires: readline-devel
bc044f75 68BuildRequires: rpm-devel
97c167ee 69%{?with_java:BuildRequires: rpm-javaprov}
fa83958d 70BuildRequires: rpm-pythonprov
07f4762f
JB
71BuildRequires: rpmbuild(macros) >= 1.219
72BuildRequires: sqlite3-devel >= 3.7
8bec3f09
JB
73BuildRequires: xmlto
74%if %{with doc}
75BuildRequires: latex2html
76%{?with_publican:BuildRequires: publican}
77BuildRequires: texlive-dvips
78BuildRequires: texlive-fonts-bitstream
79BuildRequires: texlive-fonts-type1-bitstream
099db71a 80BuildRequires: texlive-latex
7af1a693
ER
81BuildRequires: texlive-latex-psnfss
82BuildRequires: texlive-xetex
8bec3f09
JB
83%endif
84# let base mean client+local development package
85Requires: %{name}-client = %{version}-%{release}
86Requires: %{name}-devel = %{version}-%{release}
aa39e90e
AM
87BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
88
89%description
90SystemTap is an instrumentation system for systems running Linux 2.6.
91Developers can write instrumentation to collect data on the operation
8bec3f09
JB
92of the system. The base systemtap package provides the components
93needed to locally develop and execute systemtap script.
aa39e90e 94
3bf8b266
JR
95%description -l pl.UTF-8
96SystemTap to system oprzyrządowania dla systemów opartych na Linuksie
972.6. Programiści mogą pisać narzędzia do zbierania danych dotyczących
8bec3f09
JB
98operacji w systemie. Główny pakiet dostarcza komponenty niezbędne do
99lokalnego tworzenia i wykonywania skryptów systemtap.
099db71a
AM
100
101%package runtime
102Summary: Programmable system-wide instrumentation system - runtime
8bec3f09
JB
103Summary(pl.UTF-8): Programowalny systemowy system oprzyrządowania - środowisko uruchomieniowe
104Group: Applications/System
07f4762f 105Requires: json-c >= 0.12
099db71a
AM
106
107%description runtime
108SystemTap runtime contains the components needed to execute a
109systemtap script that was already compiled into a module using a local
110or remote systemtap-devel installation.
111
8bec3f09
JB
112%description runtime -l pl.UTF-8
113Środowisko uruchomieniowe SystemTap zawiera komponenty niezbędne do
114uruchomienia skryptu systemtap, który został już wkompilowany do
115modułu przy użyciu lokalnej lub zdalnej instalacji systemtap-devel.
116
117%package runtime-java
118Summary: SystemTap Java runtime support
119Summary(pl.UTF-8): Obsługa Javy dla środowiska uruchomieniowego SystemTap
120Group: Libraries
121Requires: %{name}-runtime = %{version}-%{release}
8bec3f09
JB
122Requires: byteman > 2.0
123
124%description runtime-java
125This package includes support files needed to run systemtap scripts
126that probe Java processes running on the OpenJDK 1.6 and OpenJDK 1.7
127runtimes using Byteman.
128
129%description runtime-java -l pl.UTF-8
130Ten pakiet zawiera pliki niezbędne do uruchamiania skryptów systemtap
07f4762f
JB
131sondujących procesy Javy działające w środowiskach OpenJDK 1.6 i
132OpenJDK 1.7 przy użyciu Bytemana.
133
134%package runtime-python2
135Summary: SystemTap Python 2 Runtime Support
136Summary(pl.UTF-8): Obsługa Pythona 2 dla środowiska uruchomieniowego SystemTap
137Group: Development/Tools
138Requires: %{name}-runtime = %{version}-%{release}
139Requires: python-modules >= 1:2.6
140
141%description runtime-python2
142This package includes support files needed to run systemtap scripts
143that probe Python 2 processes.
144
145%description runtime-python2 -l pl.UTF-8
146Ten pakiet zawiera pliki niezbędne do uruchamiania skryptów systemtap
147sondujących procesy Pythona 2.
148
149%package runtime-python3
150Summary: SystemTap Python 3 Runtime Support
151Summary(pl.UTF-8): Obsługa Pythona 3 dla środowiska uruchomieniowego SystemTap
152Group: Development/Tools
153Requires: %{name}-runtime = %{version}-%{release}
154Requires: python3-modules >= 1:3.2
155
156%description runtime-python3
157This package includes support files needed to run systemtap scripts
158that probe Python 3 processes.
159
160%description runtime-python3 -l pl.UTF-8
161Ten pakiet zawiera pliki niezbędne do uruchamiania skryptów systemtap
162sondujących procesy Pythona 3.
8bec3f09 163
099db71a
AM
164%package client
165Summary: Programmable system-wide instrumentation system - client
8bec3f09
JB
166Summary(pl.UTF-8): Programowalny systemowy system oprzyrządowania - klient
167Group: Applications/System
168Requires: %{name}-runtime = %{version}-%{release}
099db71a
AM
169Requires: coreutils
170Requires: grep
e7f20467 171Requires: libvirt >= 1.0.2
099db71a
AM
172Requires: openssh-clients
173Requires: sed
099db71a
AM
174Requires: unzip
175Requires: zip
176
177%description client
8bec3f09
JB
178This package provides the components needed to develop systemtap
179scripts and compile them using a local systemtap-devel or a remote
180systemtap-server installation, then run them using a local or remote
181systemtap-runtime. It includes script samples and documentation, and a
182copy of the tapset library for reference.
099db71a 183
8bec3f09
JB
184%description client -l pl.UTF-8
185Ten pakiet dostarcza komponenty niezbędne do tworzenia skryptów
186systemtap i kompilowania ich przy użyciu lokalnej instalacji
187systemtap-devel lub zdalnej instalacji systemtap-server, a następnie
188uruchamiania ich przy użyciu lokalnej lub zdalnej instalacji
189systemtap-runtime. Zawiera przykłady skryptów oraz dokumentację, a
190także kopię biblioteki tapset.
191
192%package devel
193Summary: Programmable system-wide instrumentation system - development headers, tools
194Summary(pl.UTF-8): Programowalny systemowy system oprzyrządowania - pliki nagłówkowe, narzędzia
195Group: Development/Tools
196Requires: %{name}-client = %{version}-%{release}
197Requires: gcc
198Requires: kernel-module-build
199Requires: make
200
201%description devel
202This package provides the components needed to compile a systemtap
203script from source form into executable (.ko) forms. It may be
204installed on a self-contained developer workstation (along with the
205systemtap-client and systemtap-runtime packages), or on a dedicated
206remote server (alongside the systemtap-server package). It includes a
207copy of the standard tapset library and the runtime library C files.
208
209%description devel -l pl.UTF-8
210Ten pakiet dostarcza komponenty niezbędne do kompilowania skryptów
211systemtap z postaci źródłowej do wykonywalnej (.ko). Może być
212zainstalowany na samodzielnej stacji roboczej programisty (wraz z
213pakietami systemtap-client i systemtap-runtime) lub dedykowanym
214zdalnym serwerze (wraz z pakietem systemtap-server). Zawiera kopię
215standardowej biblioteki tapset oraz pliki biblioteki uruchomieniowej
216C.
099db71a
AM
217
218%package initscript
8bec3f09
JB
219Summary: SystemTap Initscripts
220Summary(pl.UTF-8): Skrypty startowe SystemTap
099db71a 221Group: Base
8bec3f09
JB
222Requires(post,preun): /sbin/chkconfig
223Requires: %{name} = %{version}-%{release}
224Requires: rc-scripts
099db71a
AM
225
226%description initscript
8bec3f09 227SysVinit scripts to launch selected systemtap scripts at system
099db71a
AM
228startup.
229
8bec3f09
JB
230%description initscript -l pl.UTF-8
231Skrypty SysVinit do uruchamiania wybranych skryptów systemtap w
232trakcie startu systemu.
233
234%package server
235Summary: Instrumentation System Server
236Summary(pl.UTF-8): Serwer systemu oprzyrządowania
237Group: Applications/System
238Requires(post,preun): /sbin/chkconfig
239Requires: %{name}-devel = %{version}-%{release}
240Requires: /bin/mktemp
241Requires: unzip
242Requires: zip
243
244%description server
245This is the remote script compilation server component of systemtap.
246It announces itself to nearby clients with avahi (if available), and
247compiles systemtap scripts to kernel objects on their demand.
248
249%description server -l pl.UTF-8
250Ten pakiet zawiera komponent serwera do zdalnej kompilacji skryptów
251systemtap. Rozgłasza się pobliskim klientom przy użyciu avahi (jeśli
252jest dostępny) i na żądanie kompiluje skrypty systemtap do obiektów
253jądra.
254
099db71a
AM
255%package sdt-devel
256Summary: Static probe support tools
8bec3f09
JB
257Summary(pl.UTF-8): Narzędzia do obsługi sond statycznych
258License: GPL v2+ and Public Domain
099db71a 259Group: Development/Libraries
099db71a
AM
260
261%description sdt-devel
262This package includes the <sys/sdt.h> header file used for static
263instrumentation compiled into userspace programs and libraries, along
264with the optional dtrace-compatibility preprocessor to process related
265.d files into tracing-macro-laden .h headers.
266
8bec3f09
JB
267%description sdt-devel -l pl.UTF-8
268Ten pakiet zawiera plik nagłówkowy <sys/sdt.h> służący do
269wkompilowywania statycznego oprzyrządowania do programów i bibliotek
270przestrzeni użytkownika, wraz z opcjonalnym preprocesorem zgodności z
271dtrace, który przetwarza pliki .d na pliki nagłówkowe .h z makrami
272śledzącymi.
273
a575733c
JB
274%package doc
275Summary: SystemTap guides and tutorials
276Summary(pl.UTF-8): Przewodniki i dokumentacja wprowadzająca do SystemTap
277Group: Documentation
278
279%description doc
280SystemTap guides and tutorials.
281
282%description doc -l pl.UTF-8
283Przewodniki i dokumentacja wprowadzająca do SystemTap.
284
aa39e90e 285%prep
459a2a3b 286%setup -q
287%patch0 -p1
099db71a 288%patch1 -p1
cdb3985d 289%{?with_rpm5:%patch2 -p1}
97c167ee 290%patch3 -p1
1a30c954 291%patch4 -p1
07f4762f 292%patch5 -p1
3d0924cd 293
fe297aaf
JR
294%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
295 testsuite/systemtap.examples/general/pyexample.py
296
297find testsuite/systemtap.examples/ -name '*.stp' -print0 | xargs -0 \
298 %{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+stap(\s|$),#!%{_bindir}/stap\1,'
299
aa39e90e 300%build
e7f20467 301%{__gettextize}
459a2a3b 302%{__aclocal}
303%{__autoconf}
304%{__autoheader}
305%{__automake}
306%configure \
099db71a 307 --disable-silent-rules \
1651fd5a 308 %{?with_crash:--enable-crash} \
8bec3f09 309 --enable-docs%{!?with_doc:=no} \
099db71a 310 --enable-pie \
8bec3f09 311 --enable-server \
099db71a 312 --enable-sqlite \
c15371b4 313 --with-dyninst%{!?with_dyninst:=no} \
8bec3f09 314 --with-java=%{?with_java:%{_jvmdir}/java}%{!?with_java:no}
aa39e90e
AM
315%{__make}
316
317%install
318rm -rf $RPM_BUILD_ROOT
8bec3f09
JB
319install -d $RPM_BUILD_ROOT{/var/{cache,run}/%{name},%{systemdtmpfilesdir},%{systemdunitdir}} \
320 $RPM_BUILD_ROOT{%{_sysconfdir}/stap-server/conf.d,/etc/{sysconfig,logrotate.d,rc.d/init.d}} \
bc044f75 321 $RPM_BUILD_ROOT/var/log/stap-server
aa39e90e 322
43d6c0ff 323%{__make} install \
aa39e90e
AM
324 DESTDIR=$RPM_BUILD_ROOT
325
8bec3f09
JB
326cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/systemtap.conf
327cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/stap-server.conf
328
329# not installed by make
7a86387a 330install -p stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
aa39e90e 331
7a86387a
ER
332install -p initscript/systemtap $RPM_BUILD_ROOT/etc/rc.d/init.d
333cp -p initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
bc044f75 334
7a86387a
ER
335install -p initscript/stap-server $RPM_BUILD_ROOT/etc/rc.d/init.d
336cp -p initscript/config.stap-server $RPM_BUILD_ROOT/etc/sysconfig/stap-server
337cp -p initscript/logrotate.stap-server $RPM_BUILD_ROOT/etc/logrotate.d/stap-server
338cp -p stap-server.service $RPM_BUILD_ROOT%{systemdunitdir}
8bec3f09
JB
339
340install -d $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/{conf.d,script.d}
341install -d $RPM_BUILD_ROOT/var/lib/stap-server/.systemtap
342install -d $RPM_BUILD_ROOT/var/log/stap-server
343
344%{__mv} $RPM_BUILD_ROOT%{_docdir}/systemtap docs-installed
bc044f75 345
07f4762f
JB
346%if %{with python2}
347%py_postclean
348%endif
349
099db71a
AM
350%find_lang %{name}
351
a3bbe4b0 352%clean
353rm -rf $RPM_BUILD_ROOT
354
aa39e90e
AM
355%files
356%defattr(644,root,root,755)
8bec3f09
JB
357
358%files runtime -f %{name}.lang
359%defattr(644,root,root,755)
360%doc AUTHORS NEWS README*
839ed024 361%attr(755,root,root) %{_bindir}/stap-merge
362%attr(755,root,root) %{_bindir}/stap-report
3d0924cd 363%attr(755,root,root) %{_bindir}/stapbpf
c15371b4 364%{?with_dyninst:%attr(755,root,root) %{_bindir}/stapdyn}
839f235b 365%attr(755,root,root) %{_bindir}/stapsh
8bec3f09
JB
366# XXX: %attr(4754,root,stapusr) staprun ?
367%attr(755,root,root) %{_bindir}/staprun
8ed2489b 368%dir %{_libexecdir}/%{name}
15d50650
JR
369%attr(755,root,root) %{_libexecdir}/%{name}/stap-authorize-cert
370%attr(755,root,root) %{_libexecdir}/%{name}/stapio
8ed2489b 371%if %{with crash}
a29198fa 372%if "%{_libdir}" != "%{_libexecdir}"
8ed2489b 373%dir %{_libdir}/%{name}
a29198fa 374%endif
8ed2489b
JR
375%attr(755,root,root) %{_libdir}/%{name}/staplog.so
376%endif
839f235b 377%{_mandir}/man1/stap-merge.1*
311fc893 378%{_mandir}/man1/stap-report.1*
e75a4152 379%{_mandir}/man1/stapref.1*
8bec3f09
JB
380%{_mandir}/man3/stapex.3stap*
381%{_mandir}/man3/stapfuncs.3stap*
382%{_mandir}/man3/stapprobes.3stap*
383%{_mandir}/man3/stapvars.3stap*
52ae841a
JB
384%if %{with doc}
385%{_mandir}/man3/function::*.3stap*
e75a4152 386%{_mandir}/man3/macro::*.3stap*
52ae841a
JB
387%{_mandir}/man3/probe::*.3stap*
388%{_mandir}/man3/tapset::*.3stap*
389%endif
8bec3f09 390%{_mandir}/man7/error::*.7stap*
bc044f75 391%{_mandir}/man7/stappaths.7*
8bec3f09 392%{_mandir}/man7/warning::debuginfo.7stap*
eae4d4c2 393%{_mandir}/man7/warning::symbols.7stap*
3d0924cd 394%{_mandir}/man8/stapbpf.8*
311fc893 395%{?with_dyninst:%{_mandir}/man8/stapdyn.8*}
839f235b 396%{_mandir}/man8/staprun.8*
311fc893 397%{_mandir}/man8/stapsh.8*
e7f20467 398%{_mandir}/man8/systemtap.8*
97c167ee
JB
399%lang(cs) %{_mandir}/cs/man1/stap-merge.1*
400%lang(cs) %{_mandir}/cs/man1/stap-report.1*
401%lang(cs) %{_mandir}/cs/man1/stapref.1*
402%lang(cs) %{_mandir}/cs/man3/stapex.3stap*
403%lang(cs) %{_mandir}/cs/man3/stapfuncs.3stap*
404%lang(cs) %{_mandir}/cs/man3/stapprobes.3stap*
405%lang(cs) %{_mandir}/cs/man3/stapvars.3stap*
406%lang(cs) %{_mandir}/cs/man7/error::*.7stap*
407%lang(cs) %{_mandir}/cs/man7/stappaths.7*
408%lang(cs) %{_mandir}/cs/man7/warning::debuginfo.7stap*
409%lang(cs) %{_mandir}/cs/man7/warning::symbols.7stap*
410%lang(cs) %{_mandir}/cs/man8/stapsh.8*
411%lang(cs) %{_mandir}/cs/man8/systemtap.8*
099db71a 412
8bec3f09
JB
413%if %{with java}
414%files runtime-java
415%defattr(644,root,root,755)
15d50650
JR
416%attr(755,root,root) %{_libexecdir}/%{name}/stapbm
417%attr(755,root,root) %{_libexecdir}/%{name}/libHelperSDT_*.so
418%{_libexecdir}/%{name}/HelperSDT.jar
8bec3f09
JB
419%endif
420
07f4762f
JB
421%if %{with python2}
422%files runtime-python2
423%defattr(644,root,root,755)
424%dir %{py_sitedir}/HelperSDT
425%attr(755,root,root) %{py_sitedir}/HelperSDT/_HelperSDT.so
426%{py_sitedir}/HelperSDT/*.py[co]
427%{py_sitedir}/HelperSDT-0.1.0-py*.egg-info
428%endif
429
430%if %{with python3}
431%files runtime-python3
432%defattr(644,root,root,755)
433%dir %{py3_sitedir}/HelperSDT
434%attr(755,root,root) %{py3_sitedir}/HelperSDT/_HelperSDT.cpython-*.so
435%{py3_sitedir}/HelperSDT/*.py
436%{py3_sitedir}/HelperSDT/__pycache__
437%{py3_sitedir}/HelperSDT-0.1.0-py*.egg-info
438%endif
439
8bec3f09
JB
440%files client
441%defattr(644,root,root,755)
8bec3f09
JB
442%attr(755,root,root) %{_bindir}/stap
443%attr(755,root,root) %{_bindir}/stap-prep
3d813eaf 444%attr(755,root,root) %{_bindir}/stapvirt
8bec3f09 445%dir %{_datadir}/%{name}
07f4762f 446%{_datadir}/%{name}/examples
8bec3f09
JB
447%{_datadir}/%{name}/tapset
448%{_mandir}/man1/stap.1*
449%{_mandir}/man1/stap-prep.1*
3d813eaf 450%{_mandir}/man1/stapvirt.1*
97c167ee
JB
451%lang(cs) %{_mandir}/cs/man1/stap.1*
452%lang(cs) %{_mandir}/cs/man1/stap-prep.1*
453%lang(cs) %{_mandir}/cs/man1/stapvirt.1*
8bec3f09
JB
454
455%files devel
456%defattr(644,root,root,755)
457%{_datadir}/%{name}/runtime
07f4762f 458%if %{with python2} || %{with python3}
a29198fa
JB
459%dir %{_libexecdir}/%{name}
460%dir %{_libexecdir}/%{name}/python
07f4762f
JB
461%attr(755,root,root) %{_libexecdir}/systemtap/python/stap-resolve-module-function.py
462%endif
8bec3f09
JB
463
464%files initscript
465%defattr(644,root,root,755)
8bec3f09
JB
466%attr(754,root,root) /etc/rc.d/init.d/systemtap
467%dir %{_sysconfdir}/systemtap
468%dir %{_sysconfdir}/systemtap/conf.d
469%dir %{_sysconfdir}/systemtap/script.d
470%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemtap/config
471%{systemdtmpfilesdir}/systemtap.conf
472%dir /var/cache/%{name}
473%dir /var/run/%{name}
474
475%files server
476%defattr(644,root,root,755)
477%attr(755,root,root) %{_bindir}/stap-server
15d50650
JR
478%attr(755,root,root) %{_libexecdir}/%{name}/stap-env
479%attr(755,root,root) %{_libexecdir}/%{name}/stap-gen-cert
480%attr(755,root,root) %{_libexecdir}/%{name}/stap-serverd
481%attr(755,root,root) %{_libexecdir}/%{name}/stap-sign-module
482%attr(755,root,root) %{_libexecdir}/%{name}/stap-start-server
483%attr(755,root,root) %{_libexecdir}/%{name}/stap-stop-server
8bec3f09
JB
484%dir %{_sysconfdir}/stap-server
485%dir %{_sysconfdir}/stap-server/conf.d
486%attr(754,root,root) /etc/rc.d/init.d/stap-server
487%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/stap-server
488%config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/stap-server
489%{systemdunitdir}/stap-server.service
490%{systemdtmpfilesdir}/stap-server.conf
491# TODO: create user/group
492#%attr(750,stap-server,stap-server) %dir /var/lib/stap-server
493#%attr(700,stap-server,stap-server) %dir /var/lib/stap-server/.systemtap
494#%attr(755,stap-server,stap-server) %dir /var/log/stap-server
495#%attr(755,stap-server,stap-server) %dir /var/run/stap-server
496%{_mandir}/man8/stap-server.8*
97c167ee 497%lang(cs) %{_mandir}/cs/man8/stap-server.8*
8bec3f09
JB
498
499%files sdt-devel
099db71a
AM
500%defattr(644,root,root,755)
501%attr(755,root,root) %{_bindir}/dtrace
502%{_includedir}/sys/sdt.h
503%{_includedir}/sys/sdt-config.h
504%{_mandir}/man1/dtrace.1*
97c167ee 505%lang(cs) %{_mandir}/cs/man1/dtrace.1*
a575733c 506
97c167ee 507%if %{with doc}
a575733c
JB
508%files doc
509%defattr(644,root,root,755)
97c167ee 510%doc doc/{langref,tutorial}.pdf doc/beginners/SystemTap_Beginners_Guide.pdf docs-installed/tapsets.pdf
a575733c 511%endif
This page took 0.108673 seconds and 4 git commands to generate.