]> git.pld-linux.org Git - packages/VMware-workstation.git/blame - VMware-workstation.spec
- alternative kernel support
[packages/VMware-workstation.git] / VMware-workstation.spec
CommitLineData
9101e6ac 1#
cd2cf119 2# TODO:
67ffd322 3# - Dependencies
bfe53ec1 4# - http://www.vmware.com/support/ws45/doc/devices_linux_kb_ws.html#1040861
cd2cf119 5#
9101e6ac 6# Conditional build:
cd2cf119 7%bcond_without dist_kernel # without distribution kernel
1c60cba6 8%bcond_without kernel # don't build kernel modules
cd2cf119 9%bcond_without smp # without SMP kernel modules
1c60cba6 10%bcond_without userspace # don't build userspace utilities
90a56a22 11%bcond_with kernel24 # build kernel24 modules (disable kernel26)
1c60cba6
KK
12%bcond_with internal_libs # internal libs stuff
13%bcond_with verbose # verbose build (V=1)
9101e6ac 14#
1fa2b347 15%include /usr/lib/rpm/macros.perl
90a56a22
AA
16%if %{with kernel24}
17%define _kernelsrcdir /usr/src/linux-2.4
18%endif
8a2397ff 19
20%ifarch %{x8664}
21%undefine with_userspace
22%endif
bfe53ec1 23#
5b0656f1
KK
24%define _ver 5.5.1
25%define _build 19175
453e3cb4 26%define _rel 0.2
d6e62824 27%define _urel 101
e93187fc 28%define _ccver %(rpm -q --qf "%{VERSION}" gcc)
bfe53ec1 29#
1fa2b347 30Summary: VMware Workstation
5cd8adda 31Summary(pl): VMware Workstation - wirtualna platforma dla stacji roboczej
1fa2b347 32Name: VMware-workstation
34cc98b4 33Version: %{_ver}.%{_build}
784f7740 34Release: %{_rel}
1fa2b347 35License: custom, non-distributable
36Group: Applications/Emulators
34cc98b4 37Source0: http://download3.vmware.com/software/wkst/%{name}-%{_ver}-%{_build}.tar.gz
5b0656f1 38# NoSource0-md5: 6101deb381beb49f5b99cb1f8a81a532
d6e62824
AG
39Source1: http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update%{_urel}.tar.gz
40# Source1-md5: b3ce457f5b9ae8b606fd70f56084877d
34cc98b4 41Source2: %{name}.init
42Source3: %{name}-vmnet.conf
bfe53ec1 43Source4: %{name}.png
95d44b14 44Source5: %{name}.desktop
45Source6: %{name}-nat.conf
46Source7: %{name}-dhcpd.conf
cd2cf119 47Patch0: %{name}-Makefile.patch
c45ecdea 48Patch1: %{name}-run_script.patch
34cc98b4 49NoSource: 0
cd2cf119 50URL: http://www.vmware.com/
5b1b182f 51BuildRequires: gcc-c++
10635e79 52%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7}
cc138dbb 53BuildRequires: rpm-perlprov
10635e79 54BuildRequires: rpmbuild(macros) >= 1.308
6af8c4b6 55BuildRequires: sed >= 4.0
1c60cba6 56Requires: kernel(vmmon) = %{version}-%{_rel}
be92e1af 57Requires: libgnomecanvasmm
453e3cb4 58Requires: libview >= 0.5.5-2
8a2397ff 59ExclusiveArch: %{ix86} %{x8664}
1fa2b347 60BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61
b896adf7
PS
62%define _noautoprovfiles %{_libdir}/vmware/lib/.*\.so.*
63
1fa2b347 64%description
5cd8adda
JB
65VMware Workstation Virtual Platform is a thin software layer that
66allows multiple guest operating systems to run concurrently on a
01039a88 67single standard PC, without repartitioning or rebooting, and without
68significant loss of performance.
1fa2b347 69
5cd8adda
JB
70%description -l pl
71VMware Workstation Virtual Platform to cienka warstwa oprogramowania
72