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