]> git.pld-linux.org Git - packages/systemtap.git/blame - systemtap.spec
- partial 1.8 update
[packages/systemtap.git] / systemtap.spec
CommitLineData
87230ea0 1#
2# TODO: - enable server
3# - BRs
4# - more configure options
5#
099db71a 6%bcond_with doc
aa39e90e 7Summary: Instrumentation System
7ad1ccd0 8Summary(pl.UTF-8): System oprzyrządowania
aa39e90e 9Name: systemtap
099db71a
AM
10Version: 1.8
11Release: 0.1
839ed024 12License: GPL v2+
aa39e90e 13Group: Base
43d6c0ff 14Source0: http://sources.redhat.com/systemtap/ftp/releases/%{name}-%{version}.tar.gz
099db71a 15# Source0-md5: 5b7ab0ae0efc520f0b19f9dbf11977c9
459a2a3b 16Patch0: %{name}-configure.patch
099db71a 17Patch1: %{name}-build.patch
ff9bc29b 18URL: http://sourceware.org/systemtap/
60a0430a
JB
19BuildRequires: autoconf
20BuildRequires: automake
099db71a
AM
21BuildRequires: xmlto
22BuildRequires: avahi-devel
aa39e90e
AM
23BuildRequires: elfutils-devel
24BuildRequires: glib2-devel
25BuildRequires: mysql-devel
099db71a
AM
26BuildRequires: nss-devel
27BuildRequires: sqlite3-devel
28BuildRequires: texlive-latex
aa39e90e
AM
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32SystemTap is an instrumentation system for systems running Linux 2.6.
33Developers can write instrumentation to collect data on the operation
34of the system.
35
3bf8b266
JR
36%description -l pl.UTF-8
37SystemTap to system oprzyrządowania dla systemów opartych na Linuksie
382.6. Programiści mogą pisać narzędzia do zbierania danych dotyczących
ff9bc29b
JB
39operacji w systemie.
40
099db71a
AM
41%package server
42Summary: Instrumentation System Server
43License: GPL v2+
44Group: Applications/System
45URL: http://sourceware.org/systemtap/
46Requires: /bin/mktemp
47Requires: systemtap-devel = %{version}-%{release}
48Requires: unzip
49Requires: zip
50Requires(post): /sbin/chkconfig
51Requires(preun): /sbin/chkconfig
52
53%description server
54This is the remote script compilation server component of systemtap.
55It announces itself to nearby clients with avahi (if available), and
56compiles systemtap scripts to kernel objects on their demand.
57
58
59%package devel
60Summary: Programmable system-wide instrumentation system - development headers, tools
61License: GPL v2+
62Group: Development/Libraries
63URL: http://sourceware.org/systemtap/
64Requires: gcc
65Requires: linux-libc-headers
66Requires: make
67
68%description devel
69This package contains the components needed to compile a systemtap
70script from source form into executable (.ko) forms. It may be
71installed on a self-contained developer workstation (along with the
72systemtap-client and systemtap-runtime packages), or on a dedicated
73remote server (alongside the systemtap-server package). It includes a
74copy of the standard tapset library and the runtime library C files.
75
76%package runtime
77Summary: Programmable system-wide instrumentation system - runtime
78License: GPL v2+
79Group: Base
80URL: http://sourceware.org/systemtap/
81
82%description runtime
83SystemTap runtime contains the components needed to execute a
84systemtap script that was already compiled into a module using a local
85or remote systemtap-devel installation.
86
87%package client
88Summary: Programmable system-wide instrumentation system - client
89License: GPL v2+
90Group: Base
91URL: http://sourceware.org/systemtap/
92Requires: coreutils
93Requires: grep
94Requires: openssh-clients
95Requires: sed
96Requires: systemtap-runtime = %{version}-%{release}
97Requires: unzip
98Requires: zip
99
100%description client
101This package contains/requires the components needed to develop
102systemtap scripts, and compile them using a local systemtap-devel or a
103remote systemtap-server installation, then run them using a local or
104remote systemtap-runtime. It includes script samples and
105documentation, and a copy of the tapset library for reference.
106
107
108%package initscript
109Summary: Systemtap Initscripts
110License: GPL v2+
111Group: Base
112URL: http://sourceware.org/systemtap/
113Requires: systemtap = %{version}-%{release}
114Requires(post): /sbin/chkconfig
115Requires(preun): /sbin/chkconfig
116Requires(preun): rc-scripts
117Requires(postun): rc-scripts
118
119%description initscript
120Sysvinit scripts to launch selected systemtap scripts at system
121startup.
122
123%package sdt-devel
124Summary: Static probe support tools
125License: GPLv2+ and Public Domain
126Group: Development/Libraries
127URL: http://sourceware.org/systemtap/
128
129%description sdt-devel
130This package includes the <sys/sdt.h> header file used for static
131instrumentation compiled into userspace programs and libraries, along
132with the optional dtrace-compatibility preprocessor to process related
133.d files into tracing-macro-laden .h headers.
134
aa39e90e 135%prep
459a2a3b 136%setup -q
137%patch0 -p1
099db71a 138%patch1 -p1
26f73914 139
aa39e90e 140%build
459a2a3b 141%{__aclocal}
142%{__autoconf}
143%{__autoheader}
144%{__automake}
145%configure \
099db71a
AM
146 --disable-silent-rules \
147 --enable-pie \
148 --enable-sqlite \
149 --%{?with_doc:en}%{!?with_doc:dis}able-docs \
150 --enable-server
aa39e90e
AM
151%{__make}
152
153%install
154rm -rf $RPM_BUILD_ROOT
aa39e90e 155
43d6c0ff 156%{__make} install \
aa39e90e
AM
157 DESTDIR=$RPM_BUILD_ROOT
158
43d6c0ff 159install -d $RPM_BUILD_ROOT/var/cache/%{name}
aa39e90e 160
099db71a
AM
161%find_lang %{name}
162
a3bbe4b0 163%clean
164rm -rf $RPM_BUILD_ROOT
165
aa39e90e
AM
166%files
167%defattr(644,root,root,755)
839ed024 168%doc AUTHORS HACKING NEWS README*
43d6c0ff 169%doc %{_docdir}
46b51978 170%attr(755,root,root) %{_bindir}/stap
839ed024 171%attr(755,root,root) %{_bindir}/stap-merge
172%attr(755,root,root) %{_bindir}/stap-report
173%attr(755,root,root) %{_bindir}/stapgraph
46b51978 174%attr(755,root,root) %{_bindir}/staprun
43d6c0ff 175%{_datadir}/%{name}
176%{_libexecdir}/%{name}
177%dir /var/cache/%{name}
099db71a
AM
178#%{_mandir}/man1/*.1*
179#%{_mandir}/man3/*.3*
180#%{_mandir}/man7/*.7*
181#%{_mandir}/man8/*.8*
182
183%files sdt-devel -f %{name}.lang
184%defattr(644,root,root,755)
185%attr(755,root,root) %{_bindir}/dtrace
186%{_includedir}/sys/sdt.h
187%{_includedir}/sys/sdt-config.h
188%{_mandir}/man1/dtrace.1*
This page took 0.063188 seconds and 4 git commands to generate.