[virt-dmesg] Added to Fedora.

Richard W.M. Jones rjones at fedoraproject.org
Mon Jun 20 11:54:37 UTC 2011


commit 22efa437864eb1a46cbe2c33b56b738e338bc778
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Jun 20 12:53:14 2011 +0100

    Added to Fedora.

 .gitignore      |    1 +
 sources         |    1 +
 virt-dmesg.spec |   65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..78c84a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/virt-dmesg-0.2.0.tar.gz
diff --git a/sources b/sources
index e69de29..0642003 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e305eafd49d506b151c1265fef2ef06e  virt-dmesg-0.2.0.tar.gz
diff --git a/virt-dmesg.spec b/virt-dmesg.spec
new file mode 100644
index 0000000..763e314
--- /dev/null
+++ b/virt-dmesg.spec
@@ -0,0 +1,65 @@
+%define debug_package %{nil}
+
+Name:           virt-dmesg
+Version:        0.2.0
+Release:        1%{?dist}
+Summary:        Print kernel messages from a Linux virtual machine
+
+Group:          Development/Libraries
+License:        GPLv2+
+URL:            http://people.redhat.com/~rjones/virt-dmesg/
+Source0:        http://people.redhat.com/~rjones/virt-dmesg/files/%{name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  ocaml >= 3.10.2
+BuildRequires:  ocaml-ocamldoc
+BuildRequires:  ocaml-findlib-devel
+BuildRequires:  ocaml-libvirt-devel
+BuildRequires:  zlib-devel
+
+# Non-OCaml BRs.
+BuildRequires:  libvirt-devel
+
+# Force libvirt that contains several fixes for virDomainMemoryPeek.
+Requires: libvirt >= 0.9.1-3
+
+
+%description
+virt-dmesg prints the kernel messages from a running Linux virtual
+machine.  It is like dmesg(1) except that it works on virtual machines
+instead of the host.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make all
+
+strip src/virt-dmesg
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make DESTDIR=$RPM_BUILD_ROOT install
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README
+%{_bindir}/virt-dmesg
+%{_bindir}/virt-uname
+%{_mandir}/man1/virt-dmesg.1*
+%{_mandir}/man1/virt-uname.1*
+
+
+%changelog
+* Mon Jun 20 2011 Richard W.M. Jones <rjones at redhat.com> - 0.2.0-1
+- Added to Fedora.


More information about the scm-commits mailing list