1 %define debug_package %{nil}
6 Summary: Print kernel messages from a Linux virtual machine
8 Group: Development/Libraries
10 URL: http://people.redhat.com/~rjones/virt-dmesg/
11 Source0: http://people.redhat.com/~rjones/virt-dmesg/files/%{name}-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14 BuildRequires: ocaml >= 3.10.2
15 BuildRequires: ocaml-ocamldoc
16 BuildRequires: ocaml-findlib-devel
17 BuildRequires: ocaml-libvirt-devel
18 BuildRequires: zlib-devel
21 BuildRequires: libvirt-devel
23 # Force libvirt that contains several fixes for virDomainMemoryPeek.
24 Requires: libvirt >= 0.9.1-3
28 virt-dmesg prints the kernel messages from a running Linux virtual
29 machine. It is like dmesg(1) except that it works on virtual machines
45 rm -rf $RPM_BUILD_ROOT
47 make DESTDIR=$RPM_BUILD_ROOT install
51 rm -rf $RPM_BUILD_ROOT
55 %defattr(-,root,root,-)
59 %{_mandir}/man1/virt-dmesg.1*
60 %{_mandir}/man1/virt-uname.1*
64 * Wed May 25 2011 Richard W.M. Jones <rjones@redhat.com> - @VERSION@-1
65 - Initial RPM release.