Commit | Line | Data |
---|---|---|
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 | ||
14 | Name: btrace | |
15 | License: GPL | |
16 | Group: foo | |
17 | Version: 1.0 | |
18 | Release: 1 | |
19 | URL: http://brick.kernel.dk/snaps | |
20 | Summary: Block IO tracer | |
21 | Source0: %name-%version.tar.bz2 | |
22 | BuildRoot: %{_tmppath}/%{name}-%{version}-build | |
23 | ||
24 | %description | |
25 | btrace can show detailed info about what is happening on a block | |
26 | device io queue. This is valuable for diagnosing and fixing | |
43a73062 | 27 | performance or application problems relating to block layer io. |
f572317d JA |
28 | |
29 | ||
30 | Authors: | |
31 | -------- | |
46e37c55 | 32 | Jens Axboe <axboe@kernel.dk> |
f572317d JA |
33 | |
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
13d928f0 | 38 | make CFLAGS="$RPM_OPT_FLAGS" all docs |
f572317d JA |
39 | |
40 | %install | |
13d928f0 JA |
41 | rm -rf $RPM_BUILD_ROOT |
42 | make dest=$RPM_BUILD_ROOT prefix=$RPM_BUILD_ROOT/%{_prefix} install | |
f572317d JA |
43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(-,root,root) | |
49 | %doc README doc/blktrace.pdf | |
13d928f0 | 50 | /usr/bin/* |
f572317d JA |
51 | |
52 | %changelog -n btrace | |
53 | * Mon Oct 10 2005 - axboe@suse.de | |
54 | - Initial version |