]> git.pld-linux.org Git - packages/systemtap.git/blob - systemtap.spec
- tabs in preamble
[packages/systemtap.git] / systemtap.spec
1 # TODO:
2 # - fix --as-needed build
3 %define snap    20061111
4 Summary:        Instrumentation System
5 Summary(pl.UTF-8):      System oprzyrządowania
6 Name:           systemtap
7 Version:        0.5.11
8 Release:        0.%{snap}.1
9 License:        GPL
10 Group:          Base
11 Source0:        ftp://sourceware.org/pub/systemtap/snapshots/%{name}-%{snap}.tar.bz2
12 # Source0-md5:  fea372489a6db07592846f2be1c386f0
13 URL:            http://sourceware.org/systemtap/
14 BuildRequires:  elfutils-devel
15 BuildRequires:  glib2-devel
16 BuildRequires:  mysql-devel
17 Requires:       gcc
18 Requires:       make
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         filterout_ld    -Wl,--as-needed
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
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
31 operacji w systemie.
32
33 %prep
34 %setup -q -c
35
36 %build
37 cd src
38 %configure
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} -C src install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 install -d $RPM_BUILD_ROOT/var/cache/systemtap
48
49 %clean
50 rm -rf ${RPM_BUILD_ROOT}
51
52 %files
53 %defattr(644,root,root,755)
54 %doc src/{README,AUTHORS,NEWS,COPYING}
55 %attr(755,root,root) %{_bindir}/*
56 %{_libexecdir}/systemtap
57 %{_datadir}/systemtap
58 %dir /var/cache/systemtap
59 %{_mandir}/man*/*
This page took 0.028567 seconds and 3 git commands to generate.