[PATCH] Add rpm spec file
[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
27performance or application problems relating to blok layer io.
28
29
30Authors:
31--------
32 Jens Axboe <axboe@suse.de>
33
34%prep
35%setup -q
36
37%build
38make all docs
39
40%install
41make DESTDIR=$RPM_BUILD_ROOT install
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(-,root,root)
48%doc README doc/blktrace.pdf
49/usr/local/bin/*
50
51%changelog -n btrace
52* Mon Oct 10 2005 - axboe@suse.de
53- Initial version