]>
Commit | Line | Data |
---|---|---|
235c4e55 AM |
1 | Summary: utilities for block layer IO tracing |
2 | Name: blktrace | |
3 | Version: 1.0.0 | |
4 | Release: 1 | |
5 | License: GPL v2+ | |
6 | Group: Applications/System | |
7 | Source0: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: e58f359f6c27efe7043be19abb8b95ba | |
9 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
10 | ||
11 | %description | |
12 | blktrace is a block layer IO tracing mechanism which provides detailed | |
13 | information about request queue operations up to user space. There are | |
14 | three major components that are provided: | |
15 | ||
16 | blktrace: A utility which transfers event traces from the kernel into | |
17 | either long-term on-disk storage, or provides direct formatted output | |
18 | (via blkparse). | |
19 | ||
20 | blkparse: A utility which formats events stored in files, or when run | |
21 | in live mode directly outputs data collected by blktrace. | |
22 | ||
23 | %prep | |
24 | %setup -q -n %{name} | |
25 | ||
26 | %build | |
27 | %{__make} \ | |
28 | CC="%{__cc}" \ | |
29 | CFLAGS="%{rpmcflags}" \ | |
30 | LDFLAGS="%{rpmldflags}" | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %{makeinstall} | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc README | |
43 | %attr(755,root,root) %{_bindir}/* | |
44 | %{_mandir}/man?/* |