]>
Commit | Line | Data |
---|---|---|
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 | 34 | Summary: VMware Workstation |
5cd8adda | 35 | Summary(pl): VMware Workstation - wirtualna platforma dla stacji roboczej |
1fa2b347 | 36 | Name: VMware-workstation |
34cc98b4 | 37 | Version: %{_ver}.%{_build} |
784f7740 | 38 | Release: %{_rel} |
1fa2b347 | 39 | License: custom, non-distributable |
40 | Group: Applications/Emulators | |
34cc98b4 | 41 | Source0: http://download3.vmware.com/software/wkst/%{name}-%{_ver}-%{_build}.tar.gz |
98928268 | 42 | # NoSource0-md5: 6463a9bf44e10de9c11f65ed52112ff5 |
d6e62824 | 43 | Source1: http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update%{_urel}.tar.gz |
e70654b9 | 44 | # Source1-md5: edad0bd1abf80caaf672498e14ad8727 |
34cc98b4 | 45 | Source2: %{name}.init |
46 | Source3: %{name}-vmnet.conf | |
bfe53ec1 | 47 | Source4: %{name}.png |
95d44b14 | 48 | Source5: %{name}.desktop |
49 | Source6: %{name}-nat.conf | |
50 | Source7: %{name}-dhcpd.conf | |
cd2cf119 | 51 | Patch0: %{name}-Makefile.patch |
c45ecdea | 52 | Patch1: %{name}-run_script.patch |
34cc98b4 | 53 | NoSource: 0 |
cd2cf119 | 54 | URL: 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 | 58 | BuildRequires: rpmbuild(macros) >= 1.332 |
6af8c4b6 | 59 | BuildRequires: sed >= 4.0 |
be92e1af | 60 | Requires: libgnomecanvasmm |
453e3cb4 | 61 | Requires: libview >= 0.5.5-2 |
8a2397ff | 62 | ExclusiveArch: %{ix86} %{x8664} |
1fa2b347 | 63 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
64 | ||
b896adf7 PS |
65 | %define _noautoprovfiles %{_libdir}/vmware/lib/.*\.so.* |
66 | ||
1fa2b347 | 67 | %description |
5cd8adda JB |
68 | VMware Workstation Virtual Platform is a thin software layer that |
69 | allows multiple guest operating systems to run concurrently on a | |
01039a88 | 70 | single standard PC, without repartitioning or rebooting, and without |
71 | significant loss of performance. | |
1fa2b347 | 72 | |
5cd8adda JB |
73 | %description -l pl |
74 | VMware Workstation Virtual Platform to cienka warstwa oprogramowania | |
75 |