blktrace: don't stop tracer if not setup trace successfully
[blktrace.git] / btrace.spec
CommitLineData
f572317d
JA
1#
2# spec file for package btrace (Version 1.0)
3#
4# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
5# This file and all modifications and additions to the pristine
6# package are under the same license as the package itself.
7#
8# Please submit bugfixes or comments via http://www.suse.de/feedback/
9#
10
11# norootforbuild
12# neededforbuild tetex te_latex gcc
13
14Name: btrace
15License: GPL
16Group: foo
17Version: 1.0
18Release: 1
19URL: http://brick.kernel.dk/snaps
20Summary: Block IO tracer
21Source0: %name-%version.tar.bz2
22BuildRoot: %{_tmppath}/%{name}-%{version}-build
23
24%description
25btrace can show detailed info about what is happening on a block
26device io queue. This is valuable for diagnosing and fixing
43a73062 27performance or application problems relating to block layer io.
f572317d
JA
28
29
30Authors:
31--------
46e37c55 32 Jens Axboe <axboe@kernel.dk>
f572317d
JA
33
34%prep
35%setup -q
36
37%build
13d928f0 38make CFLAGS="$RPM_OPT_FLAGS" all docs
f572317d
JA
39
40%install
13d928f0
JA
41rm -rf $RPM_BUILD_ROOT
42make dest=$RPM_BUILD_ROOT prefix=$RPM_BUILD_ROOT/%{_prefix} install
f572317d
JA
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(-,root,root)
49%doc README doc/blktrace.pdf
13d928f0 50/usr/bin/*
4133e838 51/usr/man/*
f572317d
JA
52
53%changelog -n btrace
54* Mon Oct 10 2005 - axboe@suse.de
55- Initial version