From 953dfaf1e04274a4aaa151b0f3976cde50585be1 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 16 May 2014 10:42:11 +0100 Subject: [PATCH] Package virt-p2v binary and man page. --- libguestfs.spec | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/libguestfs.spec b/libguestfs.spec index f867e2d..09ea8cc 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -465,6 +465,26 @@ Virt-win-reg lets you look at and modify the Windows Registry of Windows virtual machines. +# The Name and Summary of this package is deliberately obscure to +# discourage end users from installing and running it. Instead they +# need to get the P2V ISO which is a Fedora/RHEL Spin. +%package pvhelper +Summary: pvhelper + +Requires: /usr/bin/xinit +Requires: /usr/bin/ssh +Requires: /usr/bin/qemu-nbd +Requires: /usr/bin/Xorg +Requires: xorg-x11-drv-* +Requires: xorg-x11-fonts-Type1 + + +%description pvhelper +This helper is used when creating a Spin. + +End users *should not* install this package. + + %package bash-completion Summary: Bash tab-completion scripts for %{name} tools BuildArch: noarch @@ -1015,6 +1035,7 @@ mv $RPM_BUILD_ROOT/lib/udev/rules.d/99-guestfs-serial.rules \ %{_mandir}/man1/virt-tar-in.1* %{_bindir}/virt-tar-out %{_mandir}/man1/virt-tar-out.1* +%{_mandir}/man1/virt-p2v.1* %{_bindir}/virt-v2v %{_mandir}/man1/virt-v2v.1* @@ -1031,6 +1052,12 @@ mv $RPM_BUILD_ROOT/lib/udev/rules.d/99-guestfs-serial.rules \ %{_mandir}/man1/virt-win-reg.1* +%files pvhelper +%doc COPYING README +%{_libexecdir}/virt-p2v +# NB: man page does NOT go here. + + %files bash-completion %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/guestfish