%define debug_package %{nil} 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) BuildArch: noarch Source0: %{name}-%{version}.tar.gz 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 %setup -q %build %configure make virt-p2v make -C po %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale install -m 0755 virt-p2v virt-p2v-update-wrapper iso-attach \ $RPM_BUILD_ROOT%{_bindir} install -m 0644 inittab $RPM_BUILD_ROOT%{_sysconfdir} make -C po install PODIR=$RPM_BUILD_ROOT%{_datadir}/locale %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/* %{_sysconfdir}/* %{_datadir}/locale/* %changelog * Fri Feb 22 2008 Richard W.M. Jones - 1.2.3-1 - Initial RPM release.