forked from oVirt/ovirt-wgt-wix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ovirt-wgt-wix.spec
57 lines (46 loc) · 1.48 KB
/
ovirt-wgt-wix.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%global rel 0
Name: ovirt-wgt-wix
Version: 4.4
Release: %{rel}%{?release_suffix}%{?dist}
Summary: oVirt Windows Guest Tools
License: GPLv2 and GPLv2+ and ASL 2.0 and Zlib and MIT and Python and Platform SDK Redistributable EULA and Microsoft DDK Redistributable EULA
Source: ovirt-wgt-wix-%{version}.tar.gz
URL: https://github.com/oVirt/ovirt-wgt-wix
BuildArch: noarch
BuildRequires: genisoimage
BuildRequires: p7zip
BuildRequires: unzip
BuildRequires: p7zip-plugins
BuildRequires: hardlink
BuildRequires: mingw32-spice-vdagent >= 0.9.0
BuildRequires: mingw64-spice-vdagent >= 0.9.0
BuildRequires: ovirt-guest-agent-windows
BuildRequires: vcredist-x86
BuildRequires: virtio-win >= 0.1.171
BuildRequires: wine
BuildRequires: wget
Obsoletes: ovirt-guest-tools
Obsoletes: ovirt-guest-tools-iso
%description
Windows Guest tools ISO for oVirt Virtualization Manager.
%global make_common_opts \\\
PREFIX=%{_prefix} \\\
VERSION=%{version} \\\
DISPLAYED_VERSION='%{version}-%{release}' \\\
ISO_LABEL='oVirt-WGT-%{version}-%{rel}'
%prep
#TODO: Change that to be a macro from the outside
%setup -q -n ovirt-wgt-wix-%{version}
%build
make ARCH=x64 %{make_common_opts}
make clean
make ARCH=x86 %{make_common_opts}
%install
make ARCH=x64 %{make_common_opts} install DESTDIR="%{buildroot}"
make ARCH=x86 %{make_common_opts} install DESTDIR="%{buildroot}"
%files
%defattr(0644,root,root,0755)
%{_datadir}/%{name}
%changelog
* Thu Jul 18 2019 - Gal Zaidman <[email protected]> - 4.4-0
- Started the project