- fix inetd file
[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.
f4d5d331
MWP
16# TODO:
17# problem with libsexy/libsexymm:
18# ln -s /usr/lib/libsexy.so.2 /usr/lib/libsexy.so.1
19# ln -s /usr/lib/libsexymm.so.2 /usr/lib/libsexymm.so.1
21baaa38
MM
20#
21# Conditional build:
22%bcond_without dist_kernel # without distribution kernel
12704c34 23%bcond_without kernel # don't build kernel modules
59b5a42e 24%bcond_without userspace # don't build userspace utilities
c932c051
ER
25%bcond_without internal_libs # internal libs stuff
26%bcond_without doc # package huge docs
21baaa38
MM
27%bcond_with verbose # verbose build (V=1)
28#
29%include /usr/lib/rpm/macros.perl
21baaa38 30#
b70d7c8e
ER
31%define ver 2.0
32%define subver 63231
12704c34 33%define rel 0.5
d1aa1c6c 34%define urel 116
eba86732 35%{expand:%%global ccver %(%{__cc} -dumpversion)}
21baaa38
MM
36#
37Summary: VMware Server
0491bf08 38Summary(pl.UTF-8): VMware Server - wirtualna platforma dla stacji roboczej
21baaa38 39Name: VMware-server
b70d7c8e
ER
40Version: %{ver}.%{subver}
41Release: %{rel}
21baaa38
MM
42License: custom, non-distributable
43Group: Applications/Emulators
b70d7c8e
ER
44# http://www.vmware.com/beta/server/download.html
45Source0: http://download3.vmware.com/software/vmserver/%{name}-e.x.p-%{subver}.i386.tar.gz
46# NoSource0-md5: 853247ff0e313f34bd0c3052de8e2c28
47Source1: http://download3.vmware.com/software/vmserver/%{name}-e.x.p-%{subver}.x86_64.tar.gz
48# NoSource1-md5: 0d36ae02640d913251fd11918f798da3
49Source2: http://download3.vmware.com/software/vmserver/VMware-vix-e.x.p-%{subver}.i386.tar.gz
50# NoSource2-md5: c7d162fb8c805143ea5b40e7f62ef4da
51Source3: http://download3.vmware.com/software/vmserver/VMware-vix-e.x.p-%{subver}.x86_64.tar.gz
52# NoSource3-md5: 10124d4747e7a579a270376458b7a77b
d1aa1c6c
ER
53Source4: http://uruz.org/files/vmware-any-any-update-%{urel}.tgz
54# NoSource4-md5: 3a2e2cb8c3d662190198c77c4a656dbb
b70d7c8e
ER
55Source5: %{name}.init
56Source6: %{name}-vmnet.conf
57Source7: %{name}.png
58Source8: %{name}.desktop
59Source9: %{name}-nat.conf
60Source10: %{name}-dhcpd.conf
c932c051 61Source11: %{name}-libs
18d601b2 62Source12: %{name}-authd.rc-inetd
21baaa38
MM
63Patch0: %{name}-Makefile.patch
64Patch1: %{name}-run_script.patch
73b8f8bc 65Patch2: %{name}-init_pl.patch
18d601b2
ER
66Patch3: %{name}-config-rc-inetd.patch
67Patch4: %{name}-config-kernel.patch
68Patch5: %{name}-initscript.patch
21baaa38 69NoSource: 0
2f4f313a
JB
70NoSource: 1
71NoSource: 2
b70d7c8e
ER
72NoSource: 3
73NoSource: 4
21baaa38 74URL: http://www.vmware.com/
a4e0119e 75%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.16}
b70d7c8e 76BuildRequires: libstdc++-devel
21baaa38 77BuildRequires: rpm-perlprov
606ddb2b 78BuildRequires: rpmbuild(macros) >= 1.438
21baaa38 79BuildRequires: sed >= 4.0
4e42adb1
ER
80#Requires: libgnomecanvasmm
81#Requires: libsexy
82#Requires: libsexymm
b70d7c8e 83ExclusiveArch: %{ix86} %{x8664}
21baaa38
MM
84BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
85
86%define _noautoprovfiles %{_libdir}/vmware*/lib/.*\.so.*
c932c051
ER
87# TMP hack to compare with upstream rpm
88%define _libdir %{_prefix}/lib
89%define _docdir %{_defaultdocdir}/vmware
90
91%define sonamedeps %(cat %{SOURCE11} | xargs)
92
93%define _noautoprov %sonamedeps
94%define _noautoreq %sonamedeps
21baaa38
MM
95
96%description
ad4726ec
ER
97VMware Server Virtual Platform is a thin software layer that allows
98multiple guest operating systems to run concurrently on a single
99standard PC, without repartitioning or rebooting, and without
21baaa38
MM
100significant loss of performance.
101
73ea1463 102%description -l pl.UTF-8
21baaa38 103VMware Server Virtual Platform to cienka warstwa oprogramowania
73ea1463
JR
104pozwalająca na jednoczesne działanie wielu gościnnych systemów
105operacyjnych na jednym zwykłym PC, bez repartycjonowania ani
106rebootowania, bez znacznej utraty wydajności.
21baaa38
MM
107
108%package debug
109Summary: VMware debug utility
0491bf08 110Summary(pl.UTF-8): Narzędzie VMware do odpluskwiania
21baaa38
MM
111Group: Applications/Emulators
112Requires: %{name} = %{version}-%{release}
113
114%description debug
115VMware debug utility.
116
73ea1463
JR
117%description debug -l pl.UTF-8
118Narzędzie VMware do odpluskwiania.
21baaa38
MM
119
120%package console
121Summary: VMware console utility
0491bf08 122Summary(pl.UTF-8): Konsola VMware
21baaa38
MM
123Group: Applications/Emulators
124Requires: %{name} = %{version}-%{release}
125
126%description console
127A tool for controlling VM.
128
73ea1463
JR
129%description console -l pl.UTF-8
130Narzędzie VMware do kontroli VM.
21baaa38
MM
131
132%package help
133Summary: VMware Server help files
0491bf08 134Summary(pl.UTF-8): Pliki pomocy dla VMware Server
21baaa38
MM
135Group: Applications/Emulators
136Requires: %{name} = %{version}-%{release}
137Requires: mozilla
138
139%description help
140VMware Server help files.
141
73ea1463 142%description help -l pl.UTF-8
21baaa38
MM
143Pliki pomocy dla VMware Server.
144
145%package console-help
146Summary: VMware Server console help files
0491bf08 147Summary(pl.UTF-8): Pliki pomocy dla konsoli VMware Server
21baaa38
MM
148Group: Applications/Emulators
149Requires: %{name} = %{version}-%{release}
150Requires: mozilla
151
152%description console-help
153VMware Server console help files.
154
73ea1463 155%description console-help -l pl.UTF-8
21baaa38
MM
156Pliki pomocy dla konsoli VMware Server.
157
158%package networking
159Summary: VMware networking utilities
0491bf08 160Summary(pl.UTF-8): Narzędzia VMware do obsługi sieci
21baaa38 161Group: Applications/Emulators
d3a099f0 162Requires(post,preun): /sbin/chkconfig
21baaa38 163#Requires: %{name} = %{version}-%{release}
d3a099f0 164Requires: rc-scripts
21baaa38
MM
165
166%description networking
167VMware networking utilities.
168
73ea1463
JR
169%description networking -l pl.UTF-8
170Narzędzia VMware do obsługi sieci.
21baaa38
MM
171
172%package samba
173Summary: VMware SMB utilities
0491bf08 174Summary(pl.UTF-8): Narzędzia VMware do SMB
21baaa38
MM
175Group: Applications/Emulators
176Requires: %{name} = %{version}-%{release}
177
178%description samba
179VMware SMB utilities.
180
73ea1463
JR
181%description samba -l pl.UTF-8
182Narzędzia VMware do SMB.
21baaa38 183
a4e0119e 184%package -n kernel%{_alt_kernel}-misc-vmci
606ddb2b
ER
185Summary: Kernel module for VMware Server
186Summary(pl.UTF-8): Moduł jądra dla VMware Server
187Release: %{rel}@%{_kernel_ver_str}
188Group: Base/Kernel
189Requires(post,postun): /sbin/depmod
190Requires: dev >= 2.9.0-7
191%if %{with dist_kernel}
192%requires_releq_kernel
193Requires(postun): %releq_kernel
194%endif
195Provides: kernel(vmci) = %{version}-%{rel}
196
a4e0119e 197%description -n kernel%{_alt_kernel}-misc-vmci
606ddb2b
ER
198Kernel modules for VMware Server - vmci.
199
a4e0119e 200%description -n kernel%{_alt_kernel}-misc-vmci -l pl.UTF-8
606ddb2b
ER
201Moduły jądra dla VMware Server - vmci.
202
a4e0119e 203%package -n kernel%{_alt_kernel}-misc-vmmon
21baaa38 204Summary: Kernel module for VMware Server
0491bf08 205Summary(pl.UTF-8): Moduł jądra dla VMware Server
b70d7c8e 206Release: %{rel}@%{_kernel_ver_str}
21baaa38
MM
207Group: Base/Kernel
208Requires(post,postun): /sbin/depmod
209Requires: dev >= 2.9.0-7
210%if %{with dist_kernel}
7b803579 211%requires_releq_kernel
212Requires(postun): %releq_kernel
21baaa38 213%endif
b70d7c8e 214Provides: kernel(vmmon) = %{version}-%{rel}
21baaa38 215
a4e0119e 216%description -n kernel%{_alt_kernel}-misc-vmmon
21baaa38
MM
217Kernel modules for VMware Server - vmmon.
218
a4e0119e 219%description -n kernel%{_alt_kernel}-misc-vmmon -l pl.UTF-8
73ea1463 220Moduły jądra dla VMware Server - vmmon.
21baaa38 221
a4e0119e 222%package -n kernel%{_alt_kernel}-misc-vmnet
21baaa38 223Summary: Kernel module for VMware Server
0491bf08 224Summary(pl.UTF-8): Moduł jądra dla VMware Server
b70d7c8e 225Release: %{rel}@%{_kernel_ver_str}
21baaa38
MM
226Group: Base/Kernel
227Requires(post,postun): /sbin/depmod
228Requires: dev >= 2.9.0-7
229%if %{with dist_kernel}
7b803579 230%requires_releq_kernel
231Requires(postun): %releq_kernel
21baaa38 232%endif
b70d7c8e 233Provides: kernel(vmnet) = %{version}-%{rel}
21baaa38 234
a4e0119e 235%description -n kernel%{_alt_kernel}-misc-vmnet
21baaa38
MM
236Kernel modules for VMware Server - vmnet.
237
a4e0119e 238%description -n kernel%{_alt_kernel}-misc-vmnet -l pl.UTF-8
73ea1463 239Moduły jądra dla VMware Server - vmnet.
21baaa38 240
21baaa38 241%prep
72f99ac0 242%ifarch %{ix86}
606ddb2b 243%setup -q -T -n vmware-server-distrib -b0 %{?with_userspace:-a2}
72f99ac0
ER
244%endif
245%ifarch %{x8664}
606ddb2b 246%setup -q -T -n vmware-server-distrib -b1 %{?with_userspace:-a3}
72f99ac0 247%endif
606ddb2b 248
18d601b2
ER
249%patch3 -p1
250%patch4 -p1
251%patch5 -p1
252
606ddb2b
ER
253cd lib/modules
254%{__tar} xf source/vmci.tar
255%{__tar} xf source/vmmon.tar
256%{__tar} xf source/vmnet.tar
257mv vmmon-only/linux/driver.c{,.dist}
258mv vmnet-only/hub.c{,.dist}
259mv vmnet-only/driver.c{,.dist}
c932c051 260#rm -rf binary # unusable
59b5a42e 261cd -
606ddb2b 262
c932c051
ER
263%{__gzip} -d man/man1/vmware.1.gz
264
606ddb2b 265%if 0
b70d7c8e
ER
266tar zxf vmware-mui-distrib/console-distrib/%{name}-console-%{ver}-%{subver}.tar.gz
267cp vmware-any-any-update%{urel}/{vmmon,vmnet}.tar lib/modules/source/
21baaa38
MM
268cd lib/modules/source
269tar xf vmmon.tar
270tar xf vmnet.tar
6240d6b6 271#%patch0 -p0
21baaa38
MM
272cp -a vmmon-only{,.clean}
273cp -a vmnet-only{,.clean}
274cd -
275%patch1 -p1
73b8f8bc 276%patch2 -p0
35bca45b 277tar xf lib/perl/control.tar
606ddb2b 278%endif
21baaa38
MM
279
280%build
21baaa38 281
606ddb2b 282%if 0
b70d7c8e 283cd vmware-any-any-update%{urel}
21baaa38 284chmod u+w ../lib/bin/vmware-vmx ../lib/bin-debug/vmware-vmx ../bin/vmnet-bridge
606ddb2b 285%endif
21baaa38
MM
286
287%if 0
288rm -f update
289%{__cc} %{rpmldflags} %{rpmcflags} -o update update.c
290./update vmx ../lib/bin/vmware-vmx
291./update vmxdebug ../lib/bin-debug/vmware-vmx
292./update bridge ../bin/vmnet-bridge
21baaa38 293cd -
606ddb2b 294%endif
21baaa38 295
35bca45b 296%if %{with userspace}
606ddb2b 297%if 0
35bca45b 298 cd control-only
299 perl Makefile.PL
300 sed -i "s:^INSTALLSITEARCH.*$:INSTALLSITEARCH = %{perl_vendorarch}:" Makefile
301 sed -i "s:^INSTALLSITELIB.*$:INSTALLSITELIB = %{perl_vendorlib}:" Makefile
302 sed -i "s:^INSTALLSITEMAN1DIR.*$:INSTALLSITEMAN1DIR = %{_mandir}/man1:" Makefile
303 sed -i "s:^INSTALLSITEMAN3DIR.*$:INSTALLSITEMAN3DIR = %{_mandir}/man3:" Makefile
304
305 %{__make}
306 cd ..
307%endif
606ddb2b 308%endif
35bca45b 309
21baaa38 310%if %{with kernel}
606ddb2b
ER
311cd lib/modules
312
313%build_kernel_modules -C vmci-only -m vmci SRCROOT=$PWD VM_KBUILD=26 VM_CCVER=%{ccver}
314
315%build_kernel_modules -C vmmon-only -m vmmon SRCROOT=$PWD VM_KBUILD=26 VM_CCVER=%{ccver} <<'EOF'
316if grep -q "^CONFIG_PREEMPT_RT=y$" o/.config; then
317 sed -e '/pollQueueLock/s/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(pollQueueLock)/' \
318 -e '/timerLock/s/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(timerLock)/' \
319 linux/driver.c.dist > linux/driver.c
320else
321 cat linux/driver.c.dist > linux/driver.c
322fi
323EOF
324
325%build_kernel_modules -C vmnet-only -m vmnet SRCROOT=$PWD VM_KBUILD=26 VM_CCVER=%{ccver} <<'EOF'
326if grep -q "^CONFIG_PREEMPT_RT=y$" o/.config; then
327 sed -e 's/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(vnetHubLock)/' \
328 hub.c.dist > hub.c
329 sed -e 's/RW_LOCK_UNLOCKED/RW_LOCK_UNLOCKED(vnetPeerLock)/' \
330 driver.c.dist > driver.c
331else
332 cat hub.c.dist > hub.c
333 cat driver.c.dist > driver.c
334fi
335EOF
ecad5a32 336%endif
21baaa38
MM
337
338%install
339rm -rf $RPM_BUILD_ROOT
340
341%if %{with userspace}
342install -d \
5cc7759b 343 $RPM_BUILD_ROOT%{_sysconfdir}/vmware{,-server-console} \
21baaa38 344 $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/{nat,dhcpd} \
12704c34 345 $RPM_BUILD_ROOT%{_sysconfdir}/vmware/state \
21baaa38
MM
346 $RPM_BUILD_ROOT%{_bindir} \
347 $RPM_BUILD_ROOT%{_sbindir} \
a4a79c8a 348 $RPM_BUILD_ROOT%{_libdir}/vmware{,-server-console}/bin \
21baaa38
MM
349 $RPM_BUILD_ROOT%{_mandir} \
350 $RPM_BUILD_ROOT%{_pixmapsdir} \
351 $RPM_BUILD_ROOT%{_desktopdir} \
352 $RPM_BUILD_ROOT/etc/rc.d/init.d \
a4a79c8a 353 $RPM_BUILD_ROOT/var/{log,run}/vmware
35bca45b 354
4e42adb1 355%if 0
35bca45b 356 cd control-only
357 %{__make} install \
358 DESTDIR=$RPM_BUILD_ROOT
359 cd ..
4e42adb1 360%endif
73b8f8bc 361
4e42adb1 362%if 0
73b8f8bc 363 # copy other required perl modules
c932c051
ER
364 cp -a lib/perl5/site_perl/5.005/VMware $RPM_BUILD_ROOT%{perl_vendorarch}
365 cp -a lib/perl5/site_perl/5.005/i386-linux/VMware/VmdbPerl $RPM_BUILD_ROOT%{perl_vendorarch}/VMware
366 cp -a lib/perl5/site_perl/5.005/i386-linux/VMware/{HConfig,VmdbPerl}.pm $RPM_BUILD_ROOT%{perl_vendorarch}/VMware
367 cp -a lib/perl5/site_perl/5.005/i386-linux/auto/VMware/{HConfig,VmdbPerl} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/VMware
73b8f8bc 368
369 # remove unecessary files
370 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/VMware/{HConfig,VmdbPerl,VmPerl}/.{exists,packlist}
21baaa38 371%endif
4e42adb1 372%endif
21baaa38
MM
373
374%if %{with kernel}
606ddb2b
ER
375%install_kernel_modules -m lib/modules/vmci-only/vmci -d misc
376%install_kernel_modules -m lib/modules/vmmon-only/vmmon -d misc
377%install_kernel_modules -m lib/modules/vmnet-only/vmnet -d misc
21baaa38
MM
378%endif
379
380%if %{with userspace}
b70d7c8e
ER
381install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vmnet
382install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet.conf
383install %{SOURCE7} $RPM_BUILD_ROOT%{_pixmapsdir}
384install %{SOURCE8} $RPM_BUILD_ROOT%{_desktopdir}
385install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/nat/nat.conf
386install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.conf
21baaa38
MM
387
388touch $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.leases
389touch $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.leases~
390
391install bin/*-* $RPM_BUILD_ROOT%{_bindir}
392install sbin/*-* $RPM_BUILD_ROOT%{_sbindir}
a4a79c8a 393install lib/bin/vmware-vmx $RPM_BUILD_ROOT%{_libdir}/vmware/bin
c932c051
ER
394cp -a lib/webAccess $RPM_BUILD_ROOT%{_libdir}/vmware
395cp -a lib/hostd $RPM_BUILD_ROOT%{_libdir}/vmware
396cp -a vmware-vix $RPM_BUILD_ROOT%{_libdir}/vmware
397cp -a lib/vmacore $RPM_BUILD_ROOT%{_libdir}/vmware
398cp -a lib/net-services.sh $RPM_BUILD_ROOT%{_libdir}/vmware
399cp -a lib/modules $RPM_BUILD_ROOT%{_libdir}/vmware
400rm -rf $RPM_BUILD_ROOT%{_libdir}/vmware/modules/*-only
401cp -a lib/configurator $RPM_BUILD_ROOT%{_libdir}/vmware
18d601b2 402cp -a %{SOURCE12} $RPM_BUILD_ROOT%{_libdir}/vmware/configurator/authd-rc-inetd.conf
c932c051
ER
403cp -a etc/hostd $RPM_BUILD_ROOT/etc/vmware/hostd
404cp -a etc/installer.sh $RPM_BUILD_ROOT/etc/vmware
405cp -a etc/pam.d $RPM_BUILD_ROOT/etc/vmware
406cp -a etc/service $RPM_BUILD_ROOT/etc/vmware
407
408install -d $RPM_BUILD_ROOT%{_docdir}
409cp -a doc/* $RPM_BUILD_ROOT%{_docdir}
410cp -a vmware-vix-distrib/doc/VMwareVix $RPM_BUILD_ROOT%{_docdir}
411install -d $RPM_BUILD_ROOT%{_mandir}/man1
412cp -a man/man1/vmware.1 $RPM_BUILD_ROOT%{_mandir}/man1
413
12704c34
ER
414install installer/services.sh $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware
415ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-autostart
416ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-core
417ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-mgmt
418cat > $RPM_BUILD_ROOT%{_sysconfdir}/vmware/locations <<'EOF'
419file /etc/vmware/locations
420directory /etc/vmware/state
421answer BINDIR /usr/bin
422answer SBINDIR /usr/sbin
423answer LIBDIR /usr/lib/vmware
424answer DOCDIR /usr/share/doc/vmware
425answer MANDIR /usr/share/man
426answer INITDIR /etc/rc.d
427answer INITSCRIPTSDIR /etc/rc.d/init.d
428file /etc/vmware/not_configured 1205422799
429file /etc/rc.d/init.d/vmware 1205422799
430answer INSTALL_CYCLE yes
431file /etc/rc.d/init.d/vmware-mgmt
432file /etc/rc.d/init.d/vmware-core
433file /etc/rc.d/init.d/vmware-autostart
434EOF
435
c932c051
ER
436rm $RPM_BUILD_ROOT/usr/bin/vmware-uninstall.pl
437rm $RPM_BUILD_ROOT/usr/bin/vmware-vimdump
438rm $RPM_BUILD_ROOT/usr/share/applications/VMware-server.desktop
439rm $RPM_BUILD_ROOT/usr/share/pixmaps/VMware-server.png
21baaa38 440
4e42adb1
ER
441%if 0
442sed -e '
443s@%sitearch%@%{perl_sitearch}@g;
444s@%sitelib%@%{perl_sitelib}@g;
445s@%vendorarch%@%{perl_vendorarch}@g;
446s@%vendorlib%@%{perl_vendorlib}@g;
447s@%archlib%@%{perl_archlib}@g;
448s@%privlib%@%{perl_privlib}@g;' < lib/serverd/init.pl.default > $RPM_BUILD_ROOT%{_libdir}/vmware/serverd/init.pl
449%endif
73b8f8bc 450
c932c051 451cp -a lib/{config,help,isoimages,licenses,messages,share,xkeymap} \
a4a79c8a 452 $RPM_BUILD_ROOT%{_libdir}/vmware
21baaa38 453
4e42adb1 454%if 0
c932c051 455cp -a vmware-server-console-distrib/lib/{bin-debug,config,help*,messages,share,xkeymap} \
5cc7759b 456 $RPM_BUILD_ROOT%{_libdir}/vmware-server-console
21baaa38 457
5cc7759b 458install vmware-server-console-distrib/lib/bin/vmware-remotemks $RPM_BUILD_ROOT%{_libdir}/vmware-server-console/bin
21baaa38 459
c932c051 460cp -a vmware-server-console-distrib/man/* man/* $RPM_BUILD_ROOT%{_mandir}
21baaa38 461gunzip $RPM_BUILD_ROOT%{_mandir}/man?/*.gz
4e42adb1 462%endif
21baaa38 463
5cc7759b 464cat > $RPM_BUILD_ROOT%{_sysconfdir}/vmware-server-console/locations <<EOF
21baaa38 465VM_BINDIR=%{_bindir}
5cc7759b 466VM_LIBDIR=%{_libdir}/vmware-server-console
21baaa38
MM
467EOF
468
469%if %{with internal_libs}
470install bin/vmware $RPM_BUILD_ROOT%{_bindir}
c932c051 471install lib/bin/* $RPM_BUILD_ROOT%{_libdir}/vmware/bin
4e42adb1 472#install lib/bin/vmware $RPM_BUILD_ROOT%{_libdir}/vmware/bin
c932c051 473cp -a lib/lib $RPM_BUILD_ROOT%{_libdir}/vmware
21baaa38 474
4e42adb1 475%if 0
5cc7759b 476install vmware-server-console-distrib/bin/vmware-server-console $RPM_BUILD_ROOT%{_bindir}
477install vmware-server-console-distrib/lib/bin/vmware $RPM_BUILD_ROOT%{_libdir}/vmware-server-console/bin
c932c051 478cp -a vmware-server-console-distrib/lib/lib $RPM_BUILD_ROOT%{_libdir}/vmware-server-console
4e42adb1
ER
479%endif
480
21baaa38 481%else
4e42adb1 482%if 0
21baaa38 483install lib/bin/vmware $RPM_BUILD_ROOT%{_bindir}
5cc7759b 484install vmware-server-console-distrib/lib/bin/vmware-server-console $RPM_BUILD_ROOT%{_bindir}
21baaa38
MM
485%endif
486%endif
4e42adb1 487%endif
21baaa38 488
21baaa38
MM
489%clean
490rm -rf $RPM_BUILD_ROOT
491
492%post networking
493/sbin/chkconfig --add vmnet
ad4726ec 494%service vmnet restart "VMware networking service"
21baaa38
MM
495
496%preun networking
497if [ "$1" = "0" ]; then
ad4726ec 498 %service vmnet stop
21baaa38
MM
499 /sbin/chkconfig --del vmnet
500fi
501
a4e0119e 502%post -n kernel%{_alt_kernel}-misc-vmci
606ddb2b
ER
503%depmod %{_kernel_ver}
504
a4e0119e 505%postun -n kernel%{_alt_kernel}-misc-vmci
606ddb2b
ER
506%depmod %{_kernel_ver}
507
a4e0119e 508%post -n kernel%{_alt_kernel}-misc-vmmon
21baaa38
MM
509%depmod %{_kernel_ver}
510
a4e0119e 511%postun -n kernel%{_alt_kernel}-misc-vmmon
21baaa38
MM
512%depmod %{_kernel_ver}
513
a4e0119e 514%post -n kernel%{_alt_kernel}-misc-vmnet
21baaa38
MM
515%depmod %{_kernel_ver}
516
a4e0119e 517%postun -n kernel%{_alt_kernel}-misc-vmnet
21baaa38
MM
518%depmod %{_kernel_ver}
519
21baaa38
MM
520%if %{with userspace}
521%files
c932c051
ER
522%defattr(444,root,root,755)
523#%doc lib/configurator/vmnet-{dhcpd,nat}.conf
21baaa38 524%dir %{_sysconfdir}/vmware
12704c34 525%dir %{_sysconfdir}/vmware/state
c932c051
ER
526%dir %{_sysconfdir}/vmware/hostd
527%dir %{_sysconfdir}/vmware/hostd/env
528%attr(644,root,root) %{_sysconfdir}/vmware/hostd/env/*.xml
529%attr(444,root,root) %{_sysconfdir}/vmware/hostd/key.pub
530%attr(644,root,root) %{_sysconfdir}/vmware/hostd/*.vha
531%attr(644,root,root) %{_sysconfdir}/vmware/hostd/*.xml
532%dir %{_sysconfdir}/vmware/pam.d
533%attr(644,root,root) %{_sysconfdir}/vmware/pam.d/vmware-authd
534%dir %{_sysconfdir}/vmware/service
535%attr(644,root,root) %{_sysconfdir}/vmware/service/services.xml
536%attr(555,root,root) %{_sysconfdir}/vmware/installer.sh
ef277215 537%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/locations
12704c34
ER
538
539%attr(754,root,root) /etc/rc.d/init.d/vmware
540%attr(754,root,root) /etc/rc.d/init.d/vmware-autostart
541%attr(754,root,root) /etc/rc.d/init.d/vmware-core
542%attr(754,root,root) /etc/rc.d/init.d/vmware-mgmt
543
c932c051 544%attr(555,root,root) %{_bindir}/vm-support
4e42adb1
ER
545#%attr(755,root,root) %{_bindir}/vmware-authtrusted
546#%attr(755,root,root) %{_bindir}/vmware-cmd
4e42adb1
ER
547#%attr(755,root,root) %{_bindir}/vmware-loop
548#%attr(755,root,root) %{_bindir}/vmware-mount.pl
c932c051
ER
549%attr(555,root,root) %{_bindir}/vmware-config.pl
550%attr(555,root,root) %{_bindir}/vmware-mount
551#%attr(555,root,root) %{_bindir}/vmware-uninstall.pl
552#%attr(555,root,root) %{_bindir}/vmware-vimdump
553%attr(555,root,root) %{_bindir}/vmware-vimsh
554%attr(555,root,root) %{_bindir}/vmware-vsh
555%attr(555,root,root) %{_bindir}/vmware-watchdog
556%attr(555,root,root) %{_bindir}/vmware-vdiskmanager
557%attr(4555,root,root) %{_sbindir}/vmware-authd
558%attr(555,root,root) %{_sbindir}/vmware-authdlauncher
559%attr(555,root,root) %{_sbindir}/vmware-hostd
a4a79c8a 560%dir %{_libdir}/vmware
561%dir %{_libdir}/vmware/bin
21baaa38 562# warning: SUID !!!
c932c051 563%attr(555,root,root) %{_libdir}/vmware/bin/vmware-vmx
a4a79c8a 564%{_libdir}/vmware/config
565%{_libdir}/vmware/isoimages
21baaa38 566%if %{with internal_libs}
c932c051
ER
567%attr(555,root,root) %{_bindir}/vmware
568# - XXX -networking
569%attr(4555,root,root) %{_bindir}/vmware-ping
570#%attr(755,root,root) %{_libdir}/vmware/bin/vmware
571%attr(555,root,root) %{_libdir}/vmware/bin/openssl
572%attr(555,root,root) %{_libdir}/vmware/bin/vmplayer
573%attr(555,root,root) %{_libdir}/vmware/bin/vmrun
574%attr(755,root,root) %{_libdir}/vmware/bin/vmware-hostd
575%attr(755,root,root) %{_libdir}/vmware/bin/vmware-hostd-dynamic
576%attr(555,root,root) %{_libdir}/vmware/bin/vmware-remotemks
577%attr(555,root,root) %{_libdir}/vmware/bin/vmware-remotemks-debug
578%attr(555,root,root) %{_libdir}/vmware/bin/vmware-vimdump
579%attr(555,root,root) %{_libdir}/vmware/bin/vmware-vmx-debug
580%attr(777,root,root) %{_libdir}/vmware/bin/vmware-vmx-stats
581%attr(755,root,root) %{_libdir}/vmware/bin/vmware-vsh
582
583%dir %{_libdir}/vmware/lib
584%{_libdir}/vmware/lib/libXau.so.6
585%{_libdir}/vmware/lib/libXcursor.so.1
586%{_libdir}/vmware/lib/libXdmcp.so.6
587%{_libdir}/vmware/lib/libXfixes.so.3
588%{_libdir}/vmware/lib/libXft.so.2
589%{_libdir}/vmware/lib/libXinerama.so.1
590%{_libdir}/vmware/lib/libXrandr.so.2
591%{_libdir}/vmware/lib/libXrender.so.1
592%{_libdir}/vmware/lib/libart_lgpl_2.so.2
593%{_libdir}/vmware/lib/libatk-1.0.so.0
594%{_libdir}/vmware/lib/libatkmm-1.6.so.1
595%{_libdir}/vmware/lib/libcairo.so.2
596%{_libdir}/vmware/lib/libcairomm-1.0.so.1
597%{_libdir}/vmware/lib/libcrypto.so.0.9.7
598%{_libdir}/vmware/lib/libcurl.so.3
599%{_libdir}/vmware/lib/libcurl.so.4
600%{_libdir}/vmware/lib/libfontconfig.so.1
601%{_libdir}/vmware/lib/libfreetype.so.6
602%{_libdir}/vmware/lib/libgdk-x11-2.0.so.0
603%{_libdir}/vmware/lib/libgdk_pixbuf-2.0.so.0
604%{_libdir}/vmware/lib/libgdkmm-2.4.so.1
605%{_libdir}/vmware/lib/libglib-2.0.so.0
606%{_libdir}/vmware/lib/libglibmm-2.4.so.1
607%{_libdir}/vmware/lib/libglibmm_generate_extra_defs-2.4.so.1
608%{_libdir}/vmware/lib/libgmodule-2.0.so.0
609%{_libdir}/vmware/lib/libgobject-2.0.so.0
610%{_libdir}/vmware/lib/libgthread-2.0.so.0
611%{_libdir}/vmware/lib/libgtk-x11-2.0.so.0
612%{_libdir}/vmware/lib/libgtkmm-2.4.so.1
613%{_libdir}/vmware/lib/libpango-1.0.so.0
614%{_libdir}/vmware/lib/libpangocairo-1.0.so.0
615%{_libdir}/vmware/lib/libpangoft2-1.0.so.0
616%{_libdir}/vmware/lib/libpangomm-1.4.so.1
617%{_libdir}/vmware/lib/libpangox-1.0.so.0
618%{_libdir}/vmware/lib/libpangoxft-1.0.so.0
619%{_libdir}/vmware/lib/librsvg-2.so.2
620%{_libdir}/vmware/lib/libsexy.so.2
621%{_libdir}/vmware/lib/libsexymm.so.2
622%{_libdir}/vmware/lib/libsigc-2.0.so.0
623%{_libdir}/vmware/lib/libssl.so.0.9.7
624%{_libdir}/vmware/lib/libview.so.2
625%{_libdir}/vmware/lib/libxmlrpc.so.3
626%{_libdir}/vmware/lib/libxmlrpc_client.so.3
627%{_libdir}/vmware/lib/libxmlrpc_util.so.3
628%{_libdir}/vmware/lib/libxmlrpc_xmlparse.so.3
629%{_libdir}/vmware/lib/libxmlrpc_xmltok.so.3
630
631
632%dir %{_libdir}/vmware/lib/libexpat.so.0
633%attr(755,root,root) %{_libdir}/vmware/lib/libexpat.so.0/libexpat.so.0
634%dir %{_libdir}/vmware/lib/libgcc_s.so.1
635%attr(755,root,root) %{_libdir}/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
636%dir %{_libdir}/vmware/lib/libgvmomi.so.0
637%attr(555,root,root) %{_libdir}/vmware/lib/libgvmomi.so.0/libgvmomi.so.0
638%dir %{_libdir}/vmware/lib/libpng12.so.0
639%attr(755,root,root) %{_libdir}/vmware/lib/libpng12.so.0/libpng12.so.0
640%dir %{_libdir}/vmware/lib/libstdc++.so.6
641%attr(755,root,root) %{_libdir}/vmware/lib/libstdc++.so.6/libstdc++.so.6
642%dir %{_libdir}/vmware/lib/libvmwarebase.so.0
643%attr(555,root,root) %{_libdir}/vmware/lib/libvmwarebase.so.0/libvmwarebase.so.0
644%dir %{_libdir}/vmware/lib/libvmwareui.so.0
645%attr(555,root,root) %{_libdir}/vmware/lib/libvmwareui.so.0/libvmwareui.so.0
646%dir %{_libdir}/vmware/lib/libxml2.so.2
647%attr(755,root,root) %{_libdir}/vmware/lib/libxml2.so.2/libxml2.so.2
648
649
650%attr(555,root,root) %{_libdir}/vmware/lib/wrapper-gtk24.sh
21baaa38 651%endif
c932c051 652#%dir %{_libdir}/vmware/serverd
4e42adb1 653#%attr(750,root,root) %{_libdir}/vmware/serverd/init.pl
a4a79c8a 654%{_libdir}/vmware/licenses
655%dir %{_libdir}/vmware/messages
4e42adb1 656#%{_libdir}/vmware/messages/en
a4a79c8a 657%lang(ja) %{_libdir}/vmware/messages/ja
658%{_libdir}/vmware/share
659%{_libdir}/vmware/xkeymap
c932c051
ER
660%dir %{_libdir}/vmware/hostd
661%attr(755,root,root) %{_libdir}/vmware/hostd/*.so
662%{_libdir}/vmware/hostd/locale
663%dir %{_libdir}/vmware/hostd/docroot
664%dir %{_libdir}/vmware/hostd/docroot/client
665%dir %{_libdir}/vmware/hostd/docroot/sdk
666%dir %{_libdir}/vmware/hostd/docroot/downloads
667%{_libdir}/vmware/hostd/docroot/*.png
668%{_libdir}/vmware/hostd/docroot/*.js
669%{_libdir}/vmware/hostd/docroot/*.jpeg
670%{_libdir}/vmware/hostd/docroot/*.html
671%{_libdir}/vmware/hostd/docroot/*.css
672%{_libdir}/vmware/hostd/docroot/en
673%attr(644,root,root) %{_libdir}/vmware/hostd/docroot/client/VMware-viclient.exe
674%attr(644,root,root) %{_libdir}/vmware/hostd/docroot/client/clients-template.xml
675%attr(644,root,root) %{_libdir}/vmware/hostd/docroot/sdk/vim.wsdl
676%attr(644,root,root) %{_libdir}/vmware/hostd/docroot/sdk/vimService.wsdl
677
678%attr(755,root,root) %{_libdir}/vmware/hostd/py
679%attr(755,root,root) %{_libdir}/vmware/hostd/wsdl
680%{_mandir}/man1/vmware.1*
4e42adb1
ER
681#%{_mandir}/man3/*
682#%{perl_vendorarch}/VMware
683#%{perl_vendorarch}/auto/VMware
21baaa38 684%attr(1777,root,root) %dir /var/run/vmware
a4a79c8a 685%attr(751,root,root) %dir /var/log/vmware
c932c051
ER
686#%{_pixmapsdir}/*.png
687#%{_desktopdir}/%{name}.desktop
688
689%dir %{_libdir}/vmware/vmacore
690%attr(755,root,root) %{_libdir}/vmware/vmacore/libvmacore.so.*.*
691%attr(755,root,root) %{_libdir}/vmware/vmacore/libvmomi.so.*.*
692
693# belongs to -help
694%{_libdir}/vmware/help
695
696%defattr(444,root,root,755)
697%dir %doc %{_docdir}
698%doc %{_docdir}/[ERo]*
699%defattr(644,root,root,755)
700%doc %dir %{_docdir}/VMwareVix
701%doc %{_docdir}/VMwareVix/lang
702%doc %{_docdir}/VMwareVix/errors
703%doc %{_docdir}/VMwareVix/types
704%attr(444,root,root) %doc %{_docdir}/VMwareVix/*.html
705%dir %{_docdir}/VMwareVix/samples
706%attr(666,root,root) %doc %{_docdir}/VMwareVix/samples/*.c
707
708%defattr(-,root,root,755)
709%dir %{_libdir}/vmware/webAccess
710%defattr(444,root,root,755)
711%dir %{_libdir}/vmware/webAccess/java
712%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07
713%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/bin/*
714%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/bin
715%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib
d1aa1c6c
ER
716%ifarch %{ix86}
717%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/i386
718%endif
719%ifarch %{x8664}
c932c051 720%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/amd64
d1aa1c6c 721%endif
c932c051
ER
722%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/*/*.so
723%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/*/headless/*.so
724%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/*/motif21/*.so
725%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/*/native_threads/*.so
726%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/*/xawt/*.so
727# yeah. go figure
728%attr(777,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/*/server/libjsig.so
729%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/*/server/libjvm.so
730%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/*.jar
731%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/ext
732%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/font*
733%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/im
734%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/images
735%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/zi
736%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/audio
737%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/cmm
738%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/security
739%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/management
740%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/oblique-fonts
741%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/psfont*
742%{_libdir}/vmware/webAccess/java/jre1.5.0_07/[A-Z]*
c932c051 743%attr(644,root,root) %{_libdir}/vmware/webAccess/vmware*
d1aa1c6c
ER
744%ifarch %{ix86}
745%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/i386/awt_robot
746%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/i386/gtkhelper
747%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/i386/jvm.cfg
748%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/i386/server/Xusage.txt
749%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/i386/headless
750%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/i386/motif21
751%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/i386/native_threads
752%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/i386/server
753%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/i386/xawt
754%endif
755%ifarch %{x8664}
756%{_libdir}/vmware/webAccess/java/jre1.5.0_07/.systemPrefs
c932c051
ER
757%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/amd64/awt_robot
758%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/amd64/gtkhelper
759%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/amd64/jvm.cfg
d1aa1c6c
ER
760%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/amd64/server/Xusage.txt
761%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/amd64/headless
762%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/amd64/motif21
763%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/amd64/native_threads
764%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/amd64/server
765%dir %{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/amd64/xawt
766%endif
c932c051
ER
767%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/classlist
768%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/content-types.properties
769%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/flavormap.properties
770%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/jvm.hprof.txt
771%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/logging.properties
772%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/net.properties
773%{_libdir}/vmware/webAccess/java/jre1.5.0_07/lib/sound.properties
c932c051
ER
774
775%defattr(444,root,root,755)
776%dir %{_libdir}/vmware/webAccess/tomcat
777%dir %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17
778%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/common
779%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/conf
780%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/logs
781%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/server
782%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/temp
783%defattr(555,root,root,755)
784%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/bin
785%defattr(644,root,root,755)
786%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/webapps
787%defattr(444,root,root,755)
788%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/LICENSE
789%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/NOTICE
790%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/RELEASE-NOTES
791%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-5.5.17/RUNNING.txt
792
793%defattr(444,root,root,755)
794%{_libdir}/vmware/vmware-vix
795
796%defattr(555,root,root,755)
797%{_libdir}/vmware/net-services.sh
798
799%defattr(444,root,root,755)
800%{_libdir}/vmware/modules
801%{_libdir}/vmware/configurator
802
803# -networking stuff
804%attr(555,root,root) %{_bindir}/vmnet-bridge
805%attr(555,root,root) %{_bindir}/vmnet-dhcpd
806%attr(555,root,root) %{_bindir}/vmnet-natd
807%attr(555,root,root) %{_bindir}/vmnet-netifup
808%attr(555,root,root) %{_bindir}/vmnet-sniffer
21baaa38
MM
809
810%files console
3c34bc99 811%defattr(644,root,root,755)
5cc7759b 812%dir %{_sysconfdir}/vmware-server-console
813%{_sysconfdir}/vmware-server-console/locations
4e42adb1 814#%attr(755,root,root) %{_bindir}/vmware-server-console
5cc7759b 815%dir %{_libdir}/vmware-server-console
816%dir %{_libdir}/vmware-server-console/bin
4e42adb1
ER
817#%attr(755,root,root) %{_libdir}/vmware-server-console/bin/vmware-remotemks
818#%{_libdir}/vmware-server-console/config
21baaa38 819%if %{with internal_libs}
c932c051
ER
820#%attr(755,root,root) %{_libdir}/vmware-server-console/bin/vmware
821#%{_libdir}/vmware-server-console/lib
822#%attr(755,root,root) %{_libdir}/vmware-server-console/lib/wrapper-gtk24.sh
21baaa38 823%endif
4e42adb1 824#%dir %{_libdir}/vmware-server-console/messages
5cc7759b 825#%{_libdir}/vmware-server-console/messages/en
4e42adb1
ER
826#%lang(ja) %{_libdir}/vmware-server-console/messages/ja
827#%{_libdir}/vmware-server-console/share
828#%{_libdir}/vmware-server-console/xkeymap
829#%{_mandir}/man1/vmware-server-console.1*
21baaa38
MM
830
831%files console-help
832%defattr(644,root,root,755)
4e42adb1 833#%{_libdir}/vmware-server-console/help*
21baaa38
MM
834
835%files debug
836%defattr(644,root,root,755)
4e42adb1 837#%dir %{_libdir}/vmware/bin-debug
21baaa38 838# warning: SUID !!!
4e42adb1
ER
839#%attr(4755,root,root) %{_libdir}/vmware/bin-debug/vmware-vmx
840#%dir %{_libdir}/vmware-server-console/bin-debug
841#%attr(755,root,root) %{_libdir}/vmware/bin-debug/vmware-remotemks
842#%attr(755,root,root) %{_libdir}/vmware-server-console/bin-debug/vmware-remotemks
21baaa38 843
c932c051 844%if 0
21baaa38
MM
845%files help
846%defattr(644,root,root,755)
c932c051
ER
847%{_libdir}/vmware/help
848%endif
21baaa38
MM
849
850%files networking
851%defattr(644,root,root,755)
852%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet.conf
853%attr(754,root,root) /etc/rc.d/init.d/vmnet
854%attr(755,root,root) %{_bindir}/vmnet-bridge
855%attr(755,root,root) %{_bindir}/vmnet-dhcpd
856%attr(755,root,root) %{_bindir}/vmnet-natd
857%attr(755,root,root) %{_bindir}/vmnet-netifup
858%attr(755,root,root) %{_bindir}/vmnet-sniffer
859%attr(755,root,root) %{_bindir}/vmware-ping
860%dir %{_sysconfdir}/vmware/vmnet8
f4d5d331 861%dir %{_sysconfdir}/vmware/vmnet8/dhcpd
21baaa38 862%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.conf
f4d5d331 863%dir %{_sysconfdir}/vmware/vmnet8/nat
21baaa38
MM
864%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet8/nat/nat.conf
865%verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.leases*
866
867%if 0
868%files samba
869%defattr(644,root,root,755)
870%doc lib/configurator/vmnet-smb.conf
871%attr(755,root,root) %{_bindir}/vmware-nmbd
872%attr(755,root,root) %{_bindir}/vmware-smbd
873%attr(755,root,root) %{_bindir}/vmware-smbpasswd
874%attr(755,root,root) %{_bindir}/vmware-smbpasswd.bin
875%{_libdir}/vmware/smb
876%endif
877%endif
878
879%if %{with kernel}
a4e0119e 880%files -n kernel%{_alt_kernel}-misc-vmci
606ddb2b
ER
881%defattr(644,root,root,755)
882/lib/modules/%{_kernel_ver}/misc/vmci.ko*
883
a4e0119e 884%files -n kernel%{_alt_kernel}-misc-vmmon
21baaa38
MM
885%defattr(644,root,root,755)
886/lib/modules/%{_kernel_ver}/misc/vmmon.ko*
887
a4e0119e 888%files -n kernel%{_alt_kernel}-misc-vmnet
21baaa38
MM
889%defattr(644,root,root,755)
890/lib/modules/%{_kernel_ver}/misc/vmnet.ko*
0108f1e9 891%endif
This page took 0.328232 seconds and 4 git commands to generate.