Fedora has all the mingw dependencies for vdagent packaged but don't want to ship mingw Windows binaries. This .spec can be used to run local mock builds of vdagent using mingw, or scratch builds on koji, ... --- mingw-spice-vdagent.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 mingw-spice-vdagent.spec diff --git a/mingw-spice-vdagent.spec b/mingw-spice-vdagent.spec new file mode 100644 index 0000000..f41fdee --- /dev/null +++ b/mingw-spice-vdagent.spec @@ -0,0 +1,81 @@ +%{?mingw_package_hedder} + +Name: mingw-spice-vdagent +Version: 0.7.0 +Release: 1%{?dist}%{?extra_release} +Summary: MinGW Windows SPICE guest agent + +License: GPLv2+ +URL: http://spice-space.org/ +Source0: vdagent-win-%{version}.tar.xz + +BuildRequires: mingw32-filesystem >= 23 +BuildRequires: mingw64-filesystem >= 23 +BuildRequires: mingw32-cximage +BuildRequires: mingw64-cximage +BuildRequires: pkgconfig + +BuildArch: noarch + +%package -n mingw32-spice-vdagent +Summary: MinGW Windows SPICE guest agent + +%package -n mingw64-spice-vdagent +Summary: MinGW Windows SPICE guest agent + +%description +Spice agent for Windows guests offering the following features: + +Features: +* Client mouse mode (no need to grab mouse by client, no mouse lag) + this is handled by the daemon by feeding mouse events into the kernel + via uinput. +* Automatic adjustment of the Windows desktop resolution to the client resolution +* Support of copy and paste (text and images) between the active Windows + session and the client + +%description -n mingw32-spice-vdagent +Spice agent for Windows guests offering the following features: + +Features: +* Client mouse mode (no need to grab mouse by client, no mouse lag) + this is handled by the daemon by feeding mouse events into the kernel + via uinput. +* Automatic adjustment of the Windows desktop resolution to the client resolution +* Support of copy and paste (text and images) between the active Windows + session and the client + +%description -n mingw64-spice-vdagent +Spice agent for Windows guests offering the following features: + +Features: +* Client mouse mode (no need to grab mouse by client, no mouse lag) + this is handled by the daemon by feeding mouse events into the kernel + via uinput. +* Automatic adjustment of the Windows desktop resolution to the client resolution +* Support of copy and paste (text and images) between the active Windows + session and the client + +%prep +%setup -q -n vdagent-win-%{version} + + +%build +%mingw_configure +%mingw_make %{?_smp_mflags} V=1 + + +%install +%mingw_make_install DESTDIR=$RPM_BUILD_ROOT + +%files -n mingw32-spice-vdagent +%defattr(-,root,root) +%{mingw32_bindir}/vdagent.exe +%{mingw32_bindir}/vdservice.exe + +%files -n mingw64-spice-vdagent +%defattr(-,root,root) +%{mingw64_bindir}/vdagent.exe +%{mingw64_bindir}/vdservice.exe + +%changelog -- 1.7.12.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel