Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ # Please keep the release as '1' for compatibility # with the Makefile. Release: 1 Summary: Virt-p2v Group: Development/Libraries License: GPLv2+ URL: http://et.redhat.com/~rjones/virt-p2v BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #ExclusiveArch: noarch Source0: virt-p2v Source1: virt-p2v-update-wrapper Source2: iso-attach Source3: inittab Requires: ocaml >= 3.10.0 Requires: ocaml-runtime Requires: ocaml-findlib Requires: ocaml-pcre Requires: ocaml-extlib Requires: ocaml-xml-light Requires: ocaml-libvirt >= 0.4.1.1 Requires: ocaml-newt >= 0.9 Requires: ocaml-fileutils Requires: ocaml-gettext >= 0.2.0-1rwmj20080321 # libvirt >= 0.4.0 fixes a problem with authentication over ssh. Requires: libvirt >= 0.4.0 # dhclient >= 4.0.0 fixes the cwd-holds-filesystem-open problem. Requires: dhclient >= 4.0.0 %description P2V, V2V and V2P virtual machine migration. %prep %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} install -m 0755 %{SOURCE0} %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_bindir} install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/* %{_sysconfdir}/* %changelog * Fri Feb 22 2008 Richard W.M. Jones - 1.2.3-1 - Initial RPM release.