Package virt-v2v: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | # NOTE check viosock support in qemu and remove patch if it works # The source directory. %global source_directory 1.43-development Name: virt-v2v Version: 1.43.4 Release: alt1 Summary: Convert a virtual machine to run on KVM Group: Development/Other License: GPLv2+ Url: https://github.com/libguestfs/virt-v2v Source0: http://download.libguestfs.org/virt-v2v/%source_directory/%name-%version.tar.gz Patch1: 0001-fix-fatal-error-pcreh-No-such-file-or-directory.patch Patch3: set-lang-in-parse_ova.patch Patch4: fix-new-qemu-options.patch Patch5: remove-viosock-support.patch BuildRequires(pre): rpm-build-ocaml BuildRequires: /usr/bin/pod2man BuildRequires: gcc BuildRequires: ocaml >= 4.01 ocaml-findlib ocaml-ocamlbuild BuildRequires: ocaml-libguestfs-devel BuildRequires: ocaml-gettext-devel BuildRequires: ocaml-fileutils-devel BuildRequires: ocaml-ounit-devel BuildRequires: libguestfs-devel BuildRequires: libaugeas-devel BuildRequires: bash-completion BuildRequires: gettext-tools BuildRequires: libjansson-devel BuildRequires: libosinfo-devel BuildRequires: libvirt-devel BuildRequires: libvirt-kvm BuildRequires: libxml2-devel BuildRequires: libpcre-devel BuildRequires: perl-Sys-Guestfs BuildRequires: /usr/bin/virsh BuildRequires: genisoimage zip unzip db4-utils #BuildRequires: nbdkit-python-plugin Requires: guestfs-tools Requires: gawk Requires: gzip Requires: unzip Requires: curl Requires: /usr/bin/virsh Requires: qemu-kvm-core >= 5.2.0 %description Virt-v2v converts a single guest from a foreign hypervisor to run on KVM. It can read Linux and Windows guests running on VMware, Xen, Hyper-V and some other hypervisors, and convert them to KVM managed by libvirt, OpenStack, oVirt, Red Hat Virtualisation (RHV) or several other targets. It can modify the guest to make it bootable on KVM and install virtio drivers so it will run quickly. %prep %setup %patch3 -p1 %patch4 -p1 %patch5 -p1 pushd common %patch1 -p1 popd %build %autoreconf %configure %make_build %install %makeinstall_std # Delete libtool crap. find %buildroot -name '*.la' -delete # Delete the v2v test harness (except for the man page). rm -r %buildroot%_libdir/ocaml/v2v_test_harness rm -r %buildroot%_libdir/ocaml/stublibs/dllv2v_test_harness* # Find locale files. %find_lang %name %files -f %name.lang %doc COPYING README %_bindir/virt-v2v* %_man1dir/virt-v2v* #%%_datadir/virt-tools %_datadir/bash-completion/completions/virt-v2v* %changelog * Wed Apr 07 2021 Mikhail Gordeev <obirvalger@altlinux.org> 1.43.4-alt1 - new version 1.43.4 * Tue Dec 08 2020 Mikhail Gordeev <obirvalger@altlinux.org> 1.43.1-alt3 - Set LANG=C in parse_ova (Closes: 39366) - Fix qemu options used in --qemu-boot * Thu Sep 03 2020 Mikhail Gordeev <obirvalger@altlinux.org> 1.43.1-alt2 - Refactor (after discussions with upstream) ALT support * Mon Aug 24 2020 Mikhail Gordeev <obirvalger@altlinux.org> 1.43.1-alt1 - update to 1.43.1 - Add ALT support * Sun May 10 2020 Alexey Shabalin <shaba@altlinux.org> 1.42.0-alt1 - Initial release of separate virt-v2v program, was part of libguestfs. |