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 27 performance or application problems relating to block layer io. 28 29 30 Authors: 31 -------- 32 Jens Axboe <axboe@kernel.dk> 33 34 %prep 35 %setup -q 36 37 %build 38 make CFLAGS="$RPM_OPT_FLAGS" all docs 39 40 %install 41 rm -rf $RPM_BUILD_ROOT 42 make dest=$RPM_BUILD_ROOT prefix=$RPM_BUILD_ROOT/%{_prefix} install 43 44 %clean 45 rm -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