[PATCH] Add rpm spec file
authorJens Axboe <axboe@suse.de>
Mon, 10 Oct 2005 14:52:51 +0000 (16:52 +0200)
committerJens Axboe <axboe@suse.de>
Mon, 10 Oct 2005 14:52:51 +0000 (16:52 +0200)
btrace.spec [new file with mode: 0644]

diff --git a/btrace.spec b/btrace.spec
new file mode 100644 (file)
index 0000000..d90c57b
--- /dev/null
@@ -0,0 +1,53 @@
+#
+# spec file for package btrace (Version 1.0)
+#
+# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Please submit bugfixes or comments via http://www.suse.de/feedback/
+#
+
+# norootforbuild
+# neededforbuild tetex te_latex gcc
+
+Name:         btrace
+License:      GPL
+Group:        foo
+Version:      1.0
+Release:      1
+URL:          http://brick.kernel.dk/snaps
+Summary:      Block IO tracer
+Source0:      %name-%version.tar.bz2
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+
+%description
+btrace can show detailed info about what is happening on a block
+device io queue. This is valuable for diagnosing and fixing
+performance or application problems relating to blok layer io.
+
+
+Authors:
+--------
+    Jens Axboe <axboe@suse.de>
+
+%prep
+%setup -q
+
+%build
+make all docs
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc README doc/blktrace.pdf
+/usr/local/bin/*
+
+%changelog -n btrace
+* Mon Oct 10 2005 - axboe@suse.de
+- Initial version