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
27performance or application problems relating to block layer io.
28
29
30Authors:
31--------
32    Jens Axboe <axboe@kernel.dk>
33
34%prep
35%setup -q
36
37%build
38make CFLAGS="$RPM_OPT_FLAGS" all docs
39
40%install
41rm -rf $RPM_BUILD_ROOT
42make dest=$RPM_BUILD_ROOT prefix=$RPM_BUILD_ROOT/%{_prefix} install
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(-,root,root)
49%doc README doc/blktrace.pdf
50/usr/bin/*
51/usr/man/*
52
53%changelog -n btrace
54* Mon Oct 10 2005 - axboe@suse.de
55- Initial version
56