2 Version: @PACKAGE_VERSION@
3 # Please keep the release as '1' for compatibility
8 Group: Development/Libraries
10 URL: http://et.redhat.com/~rjones/virt-p2v
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13 #ExclusiveArch: noarch
16 Source1: virt-p2v-update-wrapper
20 Requires: ocaml >= 3.10.0
21 Requires: ocaml-runtime
22 Requires: ocaml-findlib
24 Requires: ocaml-extlib
25 Requires: ocaml-xml-light
26 Requires: ocaml-libvirt >= 0.4.1.1
27 Requires: ocaml-newt >= 0.9
28 Requires: ocaml-fileutils
29 Requires: ocaml-gettext >= 0.2.0-1rwmj20080321
31 # libvirt >= 0.4.0 fixes a problem with authentication over ssh.
32 Requires: libvirt >= 0.4.0
34 # dhclient >= 4.0.0 fixes the cwd-holds-filesystem-open problem.
35 Requires: dhclient >= 4.0.0
39 P2V, V2V and V2P virtual machine migration.
49 rm -rf $RPM_BUILD_ROOT
50 mkdir -p $RPM_BUILD_ROOT%{_bindir}
51 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
52 install -m 0755 %{SOURCE0} %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
53 install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
57 rm -rf $RPM_BUILD_ROOT
61 %defattr(-,root,root,-)
67 * Fri Feb 22 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-1
68 - Initial RPM release.