diff --git a/virtio-win.spec b/virtio-win.spec index 859a74c..0316d84 100644 --- a/virtio-win.spec +++ b/virtio-win.spec @@ -11,6 +11,11 @@ Source2: %{name}-%{version}-drivers.zip BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: /usr/bin/mkisofs +BuildRequires: qemu-guest-agent-win32 +BuildRequires: mingw32-glib2 +BuildRequires: mingw32-iconv +BuildRequires: mingw32-gettext +BuildRequires: unix2dos %description VirtIO para-virtualized Windows(R) drivers for 32-bit and 64-bit @@ -21,6 +26,12 @@ Windows(R) guests. %setup -q -T -a 2 -n %{name}-%{version} -D %build +%{__mkdir} guest-agent +%{__cp} -p %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libglib-2.0-0.dll guest-agent +%{__cp} -p %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libiconv-2.dll guest-agent +%{__cp} -p %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libintl-8.dll guest-agent +%{__cp} -p %{_datadir}/qemu-kvm/qemu-ga-win32/* guest-agent +unix2dos guest-agent/*.txt /usr/bin/mkisofs -m drivers -o %{name}-%{version}.iso -r -J \ -input-charset iso8859-1 -V "%{name}-%{version}" . @@ -64,6 +75,8 @@ Windows(R) guests. 842961, 843325, 855826, 858551, 859882, 864841, 873128, 873960, 873971, 875155, 876033, 876061, 876397, 876504, 877333, 878291, 879143, 879178 +- add the Windows guest agent and supporting .dlls to the .iso + Resolves: 902977 * Wed Oct 31 2012 Jay Greguske 1.6.0-1 - Added QXL drivers from submission 1534828