]> git.pld-linux.org Git - packages/VMware-workstation.git/blame - VMware-workstation.spec
- d'oh, in 2.6.17+ PREEMPT_RT spinlocks are defined standatd way, hack removed
[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
0a06aef8 23
91b544d9 24%if !%{with kernel}
0a06aef8
KK
25%undefine with_dist_kernel
26%endif
bfe53ec1 27#
98928268 28%define _ver 5.5.2
29%define _build 29772
0a06aef8 30%define _rel 1
e70654b9 31%define _urel 105
e93187fc 32%define _ccver %(rpm -q --qf "%{VERSION}" gcc)
bfe53ec1 33#
1fa2b347 34Summary: VMware Workstation
5cd8adda 35Summary(pl): VMware Workstation - wirtualna platforma dla stacji roboczej
1fa2b347 36Name: VMware-workstation
34cc98b4 37Version: %{_ver}.%{_build}
784f7740 38Release: %{_rel}
1fa2b347 39License: custom, non-distributable
40Group: Applications/Emulators
34cc98b4 41Source0: http://download3.vmware.com/software/wkst/%{name}-%{_ver}-%{_build}.tar.gz
98928268 42# NoSource0-md5: 6463a9bf44e10de9c11f65ed52112ff5
d6e62824 43Source1: http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update%{_urel}.tar.gz
e70654b9 44# Source1-md5: edad0bd1abf80caaf672498e14ad8727
34cc98b4 45Source2: %{name}.init
46Source3: %{name}-vmnet.conf
bfe53ec1 47Source4: %{name}.png
95d44b14 48Source5: %{name}.desktop
49Source6: %{name}-nat.conf
50Source7: %{name}-dhcpd.conf
cd2cf119 51Patch0: %{name}-Makefile.patch
c45ecdea 52Patch1: %{name}-run_script.patch
34cc98b4 53NoSource: 0
cd2cf119 54URL: http://www.vmware.com/
0a06aef8 55%{?with_kernel:BuildRequires: gcc-c++}
10635e79 56%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7}
0a06aef8 57%{?with_userspace:BuildRequires: rpm-perlprov}
9115c026 58BuildRequires: rpmbuild(macros) >= 1.332
6af8c4b6 59BuildRequires: sed >= 4.0
be92e1af 60Requires: libgnomecanvasmm
453e3cb4 61Requires: libview >= 0.5.5-2
8a2397ff 62ExclusiveArch: %{ix86} %{x8664}
1fa2b347 63BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64
b896adf7
PS
65%define _noautoprovfiles %{_libdir}/vmware/lib/.*\.so.*
66
1fa2b347 67%description
5cd8adda
JB
68VMware Workstation Virtual Platform is a thin software layer that
69allows multiple guest operating systems to run concurrently on a
01039a88 70single standard PC, without repartitioning or rebooting, and without
71significant loss of performance.
1fa2b347 72
5cd8adda
JB
73%description -l pl
74VMware Workstation Virtual Platform to cienka warstwa oprogramowania
75