]>
Commit | Line | Data |
---|---|---|
aa39e90e AM |
1 | %define snap 20061111 |
2 | Summary: Instrumentation System | |
7ad1ccd0 | 3 | Summary(pl.UTF-8): System oprzyrządowania |
aa39e90e | 4 | Name: systemtap |
5cfdce3e | 5 | Version: 0.5.11 |
aa39e90e AM |
6 | Release: 0.%{snap}.1 |
7 | License: GPL | |
8 | Group: Base | |
aa39e90e AM |
9 | Source0: ftp://sourceware.org/pub/systemtap/snapshots/%{name}-%{snap}.tar.bz2 |
10 | # Source0-md5: fea372489a6db07592846f2be1c386f0 | |
46b51978 | 11 | Patch0: %{name}-as-needed.patch |
ff9bc29b | 12 | URL: http://sourceware.org/systemtap/ |
60a0430a JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
aa39e90e AM |
15 | BuildRequires: elfutils-devel |
16 | BuildRequires: glib2-devel | |
60a0430a | 17 | BuildRequires: libtool |
aa39e90e AM |
18 | BuildRequires: mysql-devel |
19 | Requires: gcc | |
20 | Requires: make | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | SystemTap is an instrumentation system for systems running Linux 2.6. | |
25 | Developers can write instrumentation to collect data on the operation | |
26 | of the system. | |
27 | ||
3bf8b266 JR |
28 | %description -l pl.UTF-8 |
29 | SystemTap to system oprzyrządowania dla systemów opartych na Linuksie | |
30 | 2.6. Programiści mogą pisać narzędzia do zbierania danych dotyczących | |
ff9bc29b JB |
31 | operacji w systemie. |
32 | ||
aa39e90e AM |
33 | %prep |
34 | %setup -q -c | |
46b51978 | 35 | %patch0 -p1 |
aa39e90e AM |
36 | |
37 | %build | |
38 | cd src | |
46b51978 | 39 | %{__libtoolize} |
40 | %{__aclocal} | |
41 | %{__autoconf} | |
42 | %{__automake} | |
aa39e90e AM |
43 | %configure |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
aa39e90e | 48 | |
ff9bc29b | 49 | %{__make} -C src install \ |
aa39e90e AM |
50 | DESTDIR=$RPM_BUILD_ROOT |
51 | ||
52 | install -d $RPM_BUILD_ROOT/var/cache/systemtap | |
53 | ||
54 | %clean | |
55 | rm -rf ${RPM_BUILD_ROOT} | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc src/{README,AUTHORS,NEWS,COPYING} | |
46b51978 | 60 | %attr(755,root,root) %{_bindir}/lket-b2a |
61 | %attr(755,root,root) %{_bindir}/stap | |
62 | %attr(755,root,root) %{_bindir}/staprun | |
aa39e90e AM |
63 | %{_libexecdir}/systemtap |
64 | %{_datadir}/systemtap | |
65 | %dir /var/cache/systemtap | |
66 | %{_mandir}/man*/* |