- s/vmware-console/vmware-server-console/ where needed,
[packages/VMware-server.git] / VMware-server.spec
CommitLineData
21baaa38
MM
1#
2# This doesn't work at all yet. I don't know if the management interface is needed
3# (bundling apache seems like a sooooooooo great idea). Maybe it is possible to
4# setup the server part by hand. The perl module in perl/control.tar needs to
ad4726ec 5# be packaged (vmware-cmd requires that). Something needs to be done with
21baaa38 6# the authd (inetd integration is needed I guess).
ad4726ec 7#
21baaa38
MM
8# The modules from any-any upgrade are too old (I used the ones comming with VMw-S).
9#
10# It builds on amd64, I have changed the networking package not to require the main package
ad4726ec 11# so it can be installed outside 32bit chroot.
21baaa38
MM
12#
13# But hey, it's at least free ;-)
14#
15# I probably won't have time to work on this, switching to vmware-player.
16#
17#
18# Conditional build:
19%bcond_without dist_kernel # without distribution kernel
20%bcond_without kernel # don't build kernel modules
21%bcond_without smp # without SMP kernel modules
22%bcond_without userspace # don't build userspace utilities
23%bcond_with kernel24 # build kernel24 modules (disable kernel26)
24%bcond_with internal_libs # internal libs stuff
25%bcond_with verbose # verbose build (V=1)
26#
27%include /usr/lib/rpm/macros.perl
28%if %{with kernel24}
29%define _kernelsrcdir /usr/src/linux-2.4
30%endif
31#
32%define _ver e.x.p
8061af32 33%define _build 23869
34%define _rel 0.1
4be390e9 35%define _urel 101
36%define _ccver %(rpm -q --qf "%{VERSION}" gcc)
21baaa38
MM
37#
38Summary: VMware Server
39Summary(pl): VMware Server - wirtualna platforma dla stacji roboczej
40Name: VMware-server
41Version: 0.%{_ver}.%{_build}
42Release: %{_rel}
43License: custom, non-distributable
44Group: Applications/Emulators
45Source0: http://download3.vmware.com/software/vmserver/%{name}-%{_ver}-%{_build}.tar.gz
8061af32 46# NoSource0-md5: fdce90d9f91f0ca5329105e2d8be75f0
21baaa38 47Source1: http://download3.vmware.com/software/vmserver/VMware-mui-%{_ver}-%{_build}.tar.gz
8061af32 48# NoSource1-md5: f7749c695dd3737734a9f26e8c69ff63
21baaa38 49Source2: http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update%{_urel}.tar.gz
4be390e9 50# NoSource2-md5: b3ce457f5b9ae8b606fd70f56084877d
21baaa38
MM
51Source3: %{name}.init
52Source4: %{name}-vmnet.conf
53Source5: %{name}.png
54Source6: %{name}.desktop
55Source7: %{name}-nat.conf
56Source8: %{name}-dhcpd.conf
57Patch0: %{name}-Makefile.patch
58Patch1: %{name}-run_script.patch
59NoSource: 0
2f4f313a
JB
60NoSource: 1
61NoSource: 2
21baaa38
MM
62URL: http://www.vmware.com/
63BuildRequires: gcc-c++
3c34bc99 64%{?with_dist_kernel:BuildRequires: kernel-module-build >= 3:2.6.7}
21baaa38 65BuildRequires: rpm-perlprov
ad4726ec 66BuildRequires: rpmbuild(macros) >= 1.268
21baaa38
MM
67BuildRequires: sed >= 4.0
68Requires: kernel(vmmon) = %{version}-%{_rel}
69Requires: libgnomecanvasmm
70ExclusiveArch: %{ix86}
71BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
72
73%define _noautoprovfiles %{_libdir}/vmware*/lib/.*\.so.*
74
75%description
ad4726ec
ER
76VMware Server Virtual Platform is a thin software layer that allows
77multiple guest operating systems to run concurrently on a single
78standard PC, without repartitioning or rebooting, and without
21baaa38
MM
79significant loss of performance.
80
81%description -l pl
82VMware Server Virtual Platform to cienka warstwa oprogramowania
83