aboutsummaryrefslogtreecommitdiffstats
path: root/btrace.spec
blob: 90f88d873be309053f330377189e9fcce62cb64b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# spec file for package btrace (Version 1.0)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#

# norootforbuild
# neededforbuild tetex te_latex gcc

Name:         btrace
License:      GPL
Group:        foo
Version:      1.0
Release:      1
URL:          http://brick.kernel.dk/snaps
Summary:      Block IO tracer
Source0:      %name-%version.tar.bz2
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
btrace can show detailed info about what is happening on a block
device io queue. This is valuable for diagnosing and fixing
performance or application problems relating to block layer io.


Authors:
--------
    Jens Axboe <axboe@kernel.dk>

%prep
%setup -q

%build
make CFLAGS="$RPM_OPT_FLAGS" all docs

%install
rm -rf $RPM_BUILD_ROOT
make dest=$RPM_BUILD_ROOT prefix=$RPM_BUILD_ROOT/%{_prefix} install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README doc/blktrace.pdf
/usr/bin/*
/usr/man/*

%changelog -n btrace
* Mon Oct 10 2005 - axboe@suse.de
- Initial version