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