- update
[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
e73739c3 8# - package webAccess elsewhere, seems noarch mostly (but if using system pkgs for java/tomcat leave it still huge)
21baaa38
MM
9#
10# Conditional build:
11%bcond_without dist_kernel # without distribution kernel
12704c34 12%bcond_without kernel # don't build kernel modules
59b5a42e 13%bcond_without userspace # don't build userspace utilities
c932c051
ER
14%bcond_without internal_libs # internal libs stuff
15%bcond_without doc # package huge docs
21baaa38
MM
16%bcond_with verbose # verbose build (V=1)
17#
18%include /usr/lib/rpm/macros.perl
21baaa38 19#
b70d7c8e 20%define ver 2.0
77376fa1 21%define subver 84186
e73739c3 22%define rel 0.3
eba86732 23%{expand:%%global ccver %(%{__cc} -dumpversion)}
21baaa38
MM
24#
25Summary: VMware Server
0491bf08 26Summary(pl.UTF-8): VMware Server - wirtualna platforma dla stacji roboczej
21baaa38 27Name: VMware-server
b70d7c8e
ER
28Version: %{ver}.%{subver}
29Release: %{rel}
21baaa38
MM
30License: custom, non-distributable
31Group: Applications/Emulators
b70d7c8e
ER
32# http://www.vmware.com/beta/server/download.html
33Source0: http://download3.vmware.com/software/vmserver/%{name}-e.x.p-%{subver}.i386.tar.gz
77376fa1 34# NoSource0-md5: 30f20c55a76ba46543df0e80bd21affc
b70d7c8e 35Source1: http://download3.vmware.com/software/vmserver/%{name}-e.x.p-%{subver}.x86_64.tar.gz
77376fa1 36# NoSource1-md5: 31dcec2889bcac228f76f0914e89469b
b70d7c8e 37Source2: http://download3.vmware.com/software/vmserver/VMware-vix-e.x.p-%{subver}.i386.tar.gz
77376fa1 38# NoSource2-md5: d81db3079785a7454902aed222e611ad
b70d7c8e 39Source3: http://download3.vmware.com/software/vmserver/VMware-vix-e.x.p-%{subver}.x86_64.tar.gz
77376fa1 40# NoSource3-md5: bc7bdf81d14887861b4f5413e78fd539
b70d7c8e
ER
41Source5: %{name}.init
42Source6: %{name}-vmnet.conf
43Source7: %{name}.png
44Source8: %{name}.desktop
45Source9: %{name}-nat.conf
46Source10: %{name}-dhcpd.conf
c932c051 47Source11: %{name}-libs
18d601b2 48Source12: %{name}-authd.rc-inetd
e73739c3
ER
49Patch0: %{name}-config-rc-inetd.patch
50Patch1: %{name}-config-kernel.patch
51Patch2: %{name}-initscript.patch
21baaa38 52NoSource: 0
2f4f313a
JB
53NoSource: 1
54NoSource: 2
b70d7c8e 55NoSource: 3
21baaa38 56URL: http://www.vmware.com/
a4e0119e 57%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.16}
b70d7c8e 58BuildRequires: libstdc++-devel
21baaa38 59BuildRequires: rpm-perlprov
77376fa1 60BuildRequires: rpmbuild(macros) >= 1.449
21baaa38 61BuildRequires: sed >= 4.0
e73739c3 62Requires: %{name}-isoimages = %{version}
4e42adb1
ER
63#Requires: libgnomecanvasmm
64#Requires: libsexy
65#Requires: libsexymm
b70d7c8e 66ExclusiveArch: %{ix86} %{x8664}
21baaa38
MM
67BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
68
69%define _noautoprovfiles %{_libdir}/vmware*/lib/.*\.so.*
c932c051
ER
70# TMP hack to compare with upstream rpm
71%define _libdir %{_prefix}/lib
72%define _docdir %{_defaultdocdir}/vmware
73
74%define sonamedeps %(cat %{SOURCE11} | xargs)
75
76%define _noautoprov %sonamedeps
77%define _noautoreq %sonamedeps
21baaa38
MM
78
79%description
ad4726ec
ER
80VMware Server Virtual Platform is a thin software layer that allows
81multiple guest operating systems to run concurrently on a single
82standard PC, without repartitioning or rebooting, and without
21baaa38
MM
83significant loss of performance.
84
73ea1463 85%description -l pl.UTF-8
21baaa38 86VMware Server Virtual Platform to cienka warstwa oprogramowania
73ea1463
JR
87pozwalająca na jednoczesne działanie wielu gościnnych systemów
88operacyjnych na jednym zwykłym PC, bez repartycjonowania ani
89rebootowania, bez znacznej utraty wydajności.
21baaa38
MM
90
91%package debug
92Summary: VMware debug utility
0491bf08 93Summary(pl.UTF-8): Narzędzie VMware do odpluskwiania
21baaa38
MM
94Group: Applications/Emulators
95Requires: %{name} = %{version}-%{release}
96
97%description debug
98VMware debug utility.
99
73ea1463
JR
100%description debug -l pl.UTF-8
101Narzędzie VMware do odpluskwiania.
21baaa38
MM
102
103%package console
104Summary: VMware console utility
0491bf08 105Summary(pl.UTF-8): Konsola VMware
21baaa38
MM
106Group: Applications/Emulators
107Requires: %{name} = %{version}-%{release}
108
109%description console
110A tool for controlling VM.
111
73ea1463
JR
112%description console -l pl.UTF-8
113Narzędzie VMware do kontroli VM.
21baaa38
MM
114
115%package help
116Summary: VMware Server help files
0491bf08 117Summary(pl.UTF-8): Pliki pomocy dla VMware Server
21baaa38
MM
118Group: Applications/Emulators
119Requires: %{name} = %{version}-%{release}
120Requires: mozilla
121
122%description help
123VMware Server help files.
124
73ea1463 125%description help -l pl.UTF-8
21baaa38
MM
126Pliki pomocy dla VMware Server.
127
128%package console-help
129Summary: VMware Server console help files
0491bf08 130Summary(pl.UTF-8): Pliki pomocy dla konsoli VMware Server
21baaa38
MM
131Group: Applications/Emulators
132Requires: %{name} = %{version}-%{release}
133Requires: mozilla
134
135%description console-help
136VMware Server console help files.
137
73ea1463 138%description console-help -l pl.UTF-8
21baaa38
MM
139Pliki pomocy dla konsoli VMware Server.
140
141%package networking
142Summary: VMware networking utilities
0491bf08 143Summary(pl.UTF-8): Narzędzia VMware do obsługi sieci
21baaa38 144Group: Applications/Emulators
d3a099f0 145Requires(post,preun): /sbin/chkconfig
21baaa38 146#Requires: %{name} = %{version}-%{release}
d3a099f0 147Requires: rc-scripts
21baaa38
MM
148
149%description networking
150VMware networking utilities.
151
73ea1463
JR
152%description networking -l pl.UTF-8
153Narzędzia VMware do obsługi sieci.
21baaa38
MM
154
155%package samba
156Summary: VMware SMB utilities
0491bf08 157Summary(pl.UTF-8): Narzędzia VMware do SMB
21baaa38
MM
158Group: Applications/Emulators
159Requires: %{name} = %{version}-%{release}
160
161%description samba
162VMware SMB utilities.
163
73ea1463
JR
164%description samba -l pl.UTF-8
165Narzędzia VMware do SMB.
21baaa38 166
a4e0119e 167%package -n kernel%{_alt_kernel}-misc-vmci
606ddb2b
ER
168Summary: Kernel module for VMware Server
169Summary(pl.UTF-8): Moduł jądra dla VMware Server
170Release: %{rel}@%{_kernel_ver_str}
171Group: Base/Kernel
172Requires(post,postun): /sbin/depmod
173Requires: dev >= 2.9.0-7
174%if %{with dist_kernel}
175%requires_releq_kernel
176Requires(postun): %releq_kernel
177%endif
606ddb2b 178
a4e0119e 179%description -n kernel%{_alt_kernel}-misc-vmci
606ddb2b
ER
180Kernel modules for VMware Server - vmci.
181
a4e0119e 182%description -n kernel%{_alt_kernel}-misc-vmci -l pl.UTF-8
606ddb2b
ER
183Moduły jądra dla VMware Server - vmci.
184
a4e0119e 185%package -n kernel%{_alt_kernel}-misc-vmmon
21baaa38 186Summary: Kernel module for VMware Server
0491bf08 187Summary(pl.UTF-8): Moduł jądra dla VMware Server
b70d7c8e 188Release: %{rel}@%{_kernel_ver_str}
21baaa38
MM
189Group: Base/Kernel
190Requires(post,postun): /sbin/depmod
191Requires: dev >= 2.9.0-7
192%if %{with dist_kernel}
7b803579 193%requires_releq_kernel
194Requires(postun): %releq_kernel
21baaa38 195%endif
21baaa38 196
a4e0119e 197%description -n kernel%{_alt_kernel}-misc-vmmon
21baaa38
MM
198Kernel modules for VMware Server - vmmon.
199
a4e0119e 200%description -n kernel%{_alt_kernel}-misc-vmmon -l pl.UTF-8
73ea1463 201Moduły jądra dla VMware Server - vmmon.
21baaa38 202
a4e0119e 203%package -n kernel%{_alt_kernel}-misc-vmnet
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
21baaa38 214
a4e0119e 215%description -n kernel%{_alt_kernel}-misc-vmnet
21baaa38
MM
216Kernel modules for VMware Server - vmnet.
217
a4e0119e 218%description -n kernel%{_alt_kernel}-misc-vmnet -l pl.UTF-8
73ea1463 219Moduły jądra dla VMware Server - vmnet.
21baaa38 220
77376fa1
ER
221%package -n kernel%{_alt_kernel}-misc-vsock
222Summary: Kernel module for VMware Server
223Summary(pl.UTF-8): Moduł jądra dla VMware Server
224Release: %{rel}@%{_kernel_ver_str}
225Group: Base/Kernel
226Requires(post,postun): /sbin/depmod
227Requires: dev >= 2.9.0-7
228%if %{with dist_kernel}
229%requires_releq_kernel
230Requires(postun): %releq_kernel
231%endif
232Requires: kernel%{_alt_kernel}-misc-vmci = %{version}-%{rel}
233
234%description -n kernel%{_alt_kernel}-misc-vsock
235Kernel modules for VMware Server - vsock.
236
237%description -n kernel%{_alt_kernel}-misc-vsock -l pl.UTF-8
238Moduły jądra dla VMware Server - vsock.
239
21baaa38 240%prep
72f99ac0 241%ifarch %{ix86}
606ddb2b 242%setup -q -T -n vmware-server-distrib -b0 %{?with_userspace:-a2}
72f99ac0
ER
243%endif
244%ifarch %{x8664}
606ddb2b 245%setup -q -T -n vmware-server-distrib -b1 %{?with_userspace:-a3}
72f99ac0 246%endif
606ddb2b 247
e73739c3
ER
248rm -rf lib/isoimages # packaged by %{name}-isoimages.spec
249
250%patch0 -p1
251%patch1 -p1
252%patch2 -p1
18d601b2 253
606ddb2b
ER
254cd lib/modules
255%{__tar} xf source/vmci.tar
256%{__tar} xf source/vmmon.tar
257%{__tar} xf source/vmnet.tar
77376fa1 258%{__tar} xf source/vsock.tar
606ddb2b
ER
259mv vmmon-only/linux/driver.c{,.dist}
260mv vmnet-only/hub.c{,.dist}
261mv vmnet-only/driver.c{,.dist}
77376fa1 262rm -rf binary # unusable
59b5a42e 263cd -
606ddb2b 264
c932c051
ER
265%{__gzip} -d man/man1/vmware.1.gz
266
e73739c3 267find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
21baaa38
MM
268
269%build
21baaa38 270%if %{with kernel}
606ddb2b
ER
271cd lib/modules
272
273%build_kernel_modules -C vmci-only -m vmci SRCROOT=$PWD VM_KBUILD=26 VM_CCVER=%{ccver}
274
275%build_kernel_modules -C vmmon-only -m vmmon SRCROOT=$PWD VM_KBUILD=26 VM_CCVER=%{ccver} <<'EOF'
276if grep -q "^CONFIG_PREEMPT_RT=y$" o/.config; then
277 sed -e '/pollQueueLock/s/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(pollQueueLock)/' \
278 -e '/timerLock/s/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(timerLock)/' \
279 linux/driver.c.dist > linux/driver.c
280else
281 cat linux/driver.c.dist > linux/driver.c
282fi
283EOF
284
285%build_kernel_modules -C vmnet-only -m vmnet SRCROOT=$PWD VM_KBUILD=26 VM_CCVER=%{ccver} <<'EOF'
286if grep -q "^CONFIG_PREEMPT_RT=y$" o/.config; then
287 sed -e 's/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(vnetHubLock)/' \
288 hub.c.dist > hub.c
289 sed -e 's/RW_LOCK_UNLOCKED/RW_LOCK_UNLOCKED(vnetPeerLock)/' \
290 driver.c.dist > driver.c
291else
292 cat hub.c.dist > hub.c
293 cat driver.c.dist > driver.c
294fi
295EOF
77376fa1
ER
296
297cp -a vmci-only/Module.symvers vsock-only
298%build_kernel_modules -C vsock-only -m vsock SRCROOT=$PWD VM_KBUILD=26 VM_CCVER=%{ccver} -c
ecad5a32 299%endif
21baaa38
MM
300
301%install
302rm -rf $RPM_BUILD_ROOT
e73739c3
ER
303%if %{with kernel}
304%install_kernel_modules -m lib/modules/vmci-only/vmci -d misc
305%install_kernel_modules -m lib/modules/vmmon-only/vmmon -d misc
306%install_kernel_modules -m lib/modules/vmnet-only/vmnet -d misc
307%install_kernel_modules -m lib/modules/vsock-only/vsock -d misc
308%endif
21baaa38
MM
309
310%if %{with userspace}
311install -d \
21baaa38 312 $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/{nat,dhcpd} \
12704c34 313 $RPM_BUILD_ROOT%{_sysconfdir}/vmware/state \
21baaa38
MM
314 $RPM_BUILD_ROOT%{_bindir} \
315 $RPM_BUILD_ROOT%{_sbindir} \
e73739c3 316 $RPM_BUILD_ROOT%{_libdir}/vmware/bin \
21baaa38
MM
317 $RPM_BUILD_ROOT%{_mandir} \
318 $RPM_BUILD_ROOT%{_pixmapsdir} \
319 $RPM_BUILD_ROOT%{_desktopdir} \
320 $RPM_BUILD_ROOT/etc/rc.d/init.d \
e73739c3
ER
321 $RPM_BUILD_ROOT/var/{log,run}/vmware \
322 $RPM_BUILD_ROOT/var/lib/vmware/{hostd,"Virtual Machines"}
21baaa38 323
b70d7c8e
ER
324install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/vmnet
325install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet.conf
326install %{SOURCE7} $RPM_BUILD_ROOT%{_pixmapsdir}
327install %{SOURCE8} $RPM_BUILD_ROOT%{_desktopdir}
328install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/nat/nat.conf
329install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.conf
21baaa38
MM
330
331touch $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.leases
332touch $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.leases~
333
334install bin/*-* $RPM_BUILD_ROOT%{_bindir}
335install sbin/*-* $RPM_BUILD_ROOT%{_sbindir}
a4a79c8a 336install lib/bin/vmware-vmx $RPM_BUILD_ROOT%{_libdir}/vmware/bin
c932c051
ER
337cp -a lib/webAccess $RPM_BUILD_ROOT%{_libdir}/vmware
338cp -a lib/hostd $RPM_BUILD_ROOT%{_libdir}/vmware
339cp -a vmware-vix $RPM_BUILD_ROOT%{_libdir}/vmware
340cp -a lib/vmacore $RPM_BUILD_ROOT%{_libdir}/vmware
341cp -a lib/net-services.sh $RPM_BUILD_ROOT%{_libdir}/vmware
c932c051 342cp -a lib/configurator $RPM_BUILD_ROOT%{_libdir}/vmware
18d601b2 343cp -a %{SOURCE12} $RPM_BUILD_ROOT%{_libdir}/vmware/configurator/authd-rc-inetd.conf
c932c051
ER
344cp -a etc/hostd $RPM_BUILD_ROOT/etc/vmware/hostd
345cp -a etc/installer.sh $RPM_BUILD_ROOT/etc/vmware
346cp -a etc/pam.d $RPM_BUILD_ROOT/etc/vmware
347cp -a etc/service $RPM_BUILD_ROOT/etc/vmware
348
349install -d $RPM_BUILD_ROOT%{_docdir}
350cp -a doc/* $RPM_BUILD_ROOT%{_docdir}
351cp -a vmware-vix-distrib/doc/VMwareVix $RPM_BUILD_ROOT%{_docdir}
352install -d $RPM_BUILD_ROOT%{_mandir}/man1
353cp -a man/man1/vmware.1 $RPM_BUILD_ROOT%{_mandir}/man1
354
12704c34
ER
355install installer/services.sh $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware
356ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-autostart
357ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-core
358ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-mgmt
359cat > $RPM_BUILD_ROOT%{_sysconfdir}/vmware/locations <<'EOF'
360file /etc/vmware/locations
361directory /etc/vmware/state
362answer BINDIR /usr/bin
363answer SBINDIR /usr/sbin
364answer LIBDIR /usr/lib/vmware
365answer DOCDIR /usr/share/doc/vmware
366answer MANDIR /usr/share/man
367answer INITDIR /etc/rc.d
368answer INITSCRIPTSDIR /etc/rc.d/init.d
12704c34 369answer INSTALL_CYCLE yes
12704c34
ER
370EOF
371
c932c051
ER
372rm $RPM_BUILD_ROOT/usr/bin/vmware-uninstall.pl
373rm $RPM_BUILD_ROOT/usr/bin/vmware-vimdump
374rm $RPM_BUILD_ROOT/usr/share/applications/VMware-server.desktop
375rm $RPM_BUILD_ROOT/usr/share/pixmaps/VMware-server.png
21baaa38 376
e73739c3 377cp -a lib/{config,help,licenses,messages,share,xkeymap} \
a4a79c8a 378 $RPM_BUILD_ROOT%{_libdir}/vmware
21baaa38 379
21baaa38
MM
380%if %{with internal_libs}
381install bin/vmware $RPM_BUILD_ROOT%{_bindir}
c932c051 382install lib/bin/* $RPM_BUILD_ROOT%{_libdir}/vmware/bin
c932c051 383cp -a lib/lib $RPM_BUILD_ROOT%{_libdir}/vmware
4e42adb1
ER
384%endif
385
4e42adb1 386%endif
21baaa38 387
21baaa38
MM
388%clean
389rm -rf $RPM_BUILD_ROOT
390
391%post networking
392/sbin/chkconfig --add vmnet
ad4726ec 393%service vmnet restart "VMware networking service"
21baaa38
MM
394
395%preun networking
396if [ "$1" = "0" ]; then
ad4726ec 397 %service vmnet stop
21baaa38
MM
398 /sbin/chkconfig --del vmnet
399fi
400
a4e0119e 401%post -n kernel%{_alt_kernel}-misc-vmci
606ddb2b
ER
402%depmod %{_kernel_ver}
403
a4e0119e 404%postun -n kernel%{_alt_kernel}-misc-vmci
606ddb2b
ER
405%depmod %{_kernel_ver}
406
a4e0119e 407%post -n kernel%{_alt_kernel}-misc-vmmon
21baaa38
MM
408%depmod %{_kernel_ver}
409
a4e0119e 410%postun -n kernel%{_alt_kernel}-misc-vmmon
21baaa38
MM
411%depmod %{_kernel_ver}
412
a4e0119e 413%post -n kernel%{_alt_kernel}-misc-vmnet
21baaa38
MM
414%depmod %{_kernel_ver}
415
a4e0119e 416%postun -n kernel%{_alt_kernel}-misc-vmnet
21baaa38
MM
417%depmod %{_kernel_ver}
418
77376fa1
ER
419%post -n kernel%{_alt_kernel}-misc-vsock
420%depmod %{_kernel_ver}
421
422%postun -n kernel%{_alt_kernel}-misc-vsock
423%depmod %{_kernel_ver}
424
21baaa38
MM
425%if %{with userspace}
426%files
c932c051 427%defattr(444,root,root,755)
21baaa38 428%dir %{_sysconfdir}/vmware
12704c34 429%dir %{_sysconfdir}/vmware/state
c932c051
ER
430%dir %{_sysconfdir}/vmware/hostd
431%dir %{_sysconfdir}/vmware/hostd/env
432%attr(644,root,root) %{_sysconfdir}/vmware/hostd/env/*.xml
433%attr(444,root,root) %{_sysconfdir}/vmware/hostd/key.pub
434%attr(644,root,root) %{_sysconfdir}/vmware/hostd/*.vha
435%attr(644,root,root) %{_sysconfdir}/vmware/hostd/*.xml
436%dir %{_sysconfdir}/vmware/pam.d
437%attr(644,root,root) %{_sysconfdir}/vmware/pam.d/vmware-authd
438%dir %{_sysconfdir}/vmware/service
439%attr(644,root,root) %{_sysconfdir}/vmware/service/services.xml
440%attr(555,root,root) %{_sysconfdir}/vmware/installer.sh
ef277215 441%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/locations
12704c34 442
e73739c3
ER
443# TODO: vmnet
444%dir %{_sysconfdir}/vmware/vmnet8
445%dir %{_sysconfdir}/vmware/vmnet8/dhcpd
446%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.conf
447%dir %{_sysconfdir}/vmware/vmnet8/nat
448%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet8/nat/nat.conf
449%verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.leases*
450%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet.conf
451%attr(754,root,root) /etc/rc.d/init.d/vmnet
452# TODO: vmnet
453
12704c34
ER
454%attr(754,root,root) /etc/rc.d/init.d/vmware
455%attr(754,root,root) /etc/rc.d/init.d/vmware-autostart
456%attr(754,root,root) /etc/rc.d/init.d/vmware-core
457%attr(754,root,root) /etc/rc.d/init.d/vmware-mgmt
458
c932c051 459%attr(555,root,root) %{_bindir}/vm-support
c932c051
ER
460%attr(555,root,root) %{_bindir}/vmware-config.pl
461%attr(555,root,root) %{_bindir}/vmware-mount
c932c051
ER
462%attr(555,root,root) %{_bindir}/vmware-vimsh
463%attr(555,root,root) %{_bindir}/vmware-vsh
464%attr(555,root,root) %{_bindir}/vmware-watchdog
465%attr(555,root,root) %{_bindir}/vmware-vdiskmanager
466%attr(4555,root,root) %{_sbindir}/vmware-authd
467%attr(555,root,root) %{_sbindir}/vmware-authdlauncher
468%attr(555,root,root) %{_sbindir}/vmware-hostd
a4a79c8a 469%dir %{_libdir}/vmware
470%dir %{_libdir}/vmware/bin
21baaa38 471# warning: SUID !!!
c932c051 472%attr(555,root,root) %{_libdir}/vmware/bin/vmware-vmx
a4a79c8a 473%{_libdir}/vmware/config
21baaa38 474%if %{with internal_libs}
c932c051
ER
475%attr(555,root,root) %{_bindir}/vmware
476# - XXX -networking
477%attr(4555,root,root) %{_bindir}/vmware-ping
c932c051 478%attr(555,root,root) %{_libdir}/vmware/bin/openssl
c932c051
ER
479%attr(555,root,root) %{_libdir}/vmware/bin/vmrun
480%attr(755,root,root) %{_libdir}/vmware/bin/vmware-hostd
481%attr(755,root,root) %{_libdir}/vmware/bin/vmware-hostd-dynamic
482%attr(555,root,root) %{_libdir}/vmware/bin/vmware-remotemks
483%attr(555,root,root) %{_libdir}/vmware/bin/vmware-remotemks-debug
484%attr(555,root,root) %{_libdir}/vmware/bin/vmware-vimdump
485%attr(555,root,root) %{_libdir}/vmware/bin/vmware-vmx-debug
486%attr(777,root,root) %{_libdir}/vmware/bin/vmware-vmx-stats
487%attr(755,root,root) %{_libdir}/vmware/bin/vmware-vsh
488
489%dir %{_libdir}/vmware/lib
c932c051 490%{_libdir}/vmware/lib/libcrypto.so.0.9.7
c932c051 491%{_libdir}/vmware/lib/libcurl.so.4
c932c051 492%{_libdir}/vmware/lib/libglib-2.0.so.0
c932c051
ER
493%{_libdir}/vmware/lib/libgobject-2.0.so.0
494%{_libdir}/vmware/lib/libgthread-2.0.so.0
c932c051 495%{_libdir}/vmware/lib/libssl.so.0.9.7
c932c051
ER
496%dir %{_libdir}/vmware/lib/libexpat.so.0
497%attr(755,root,root) %{_libdir}/vmware/lib/libexpat.so.0/libexpat.so.0
498%dir %{_libdir}/vmware/lib/libgcc_s.so.1
499%attr(755,root,root) %{_libdir}/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
500%dir %{_libdir}/vmware/lib/libgvmomi.so.0
501%attr(555,root,root) %{_libdir}/vmware/lib/libgvmomi.so.0/libgvmomi.so.0
502%dir %{_libdir}/vmware/lib/libpng12.so.0
503%attr(755,root,root) %{_libdir}/vmware/lib/libpng12.so.0/libpng12.so.0
504%dir %{_libdir}/vmware/lib/libstdc++.so.6
505%attr(755,root,root) %{_libdir}/vmware/lib/libstdc++.so.6/libstdc++.so.6
c932c051
ER
506%dir %{_libdir}/vmware/lib/libxml2.so.2
507%attr(755,root,root) %{_libdir}/vmware/lib/libxml2.so.2/libxml2.so.2
77376fa1
ER
508%dir %{_libdir}/vmware/lib/libpixops.so.2.0.2
509%attr(755,root,root) %{_libdir}/vmware/lib/libpixops.so.2.0.2/libpixops.so.2.0.2
c932c051
ER
510
511%attr(555,root,root) %{_libdir}/vmware/lib/wrapper-gtk24.sh
21baaa38 512%endif
a4a79c8a 513%{_libdir}/vmware/licenses
514%dir %{_libdir}/vmware/messages
a4a79c8a 515%lang(ja) %{_libdir}/vmware/messages/ja
516%{_libdir}/vmware/share
517%{_libdir}/vmware/xkeymap
c932c051
ER
518%dir %{_libdir}/vmware/hostd
519%attr(755,root,root) %{_libdir}/vmware/hostd/*.so
520%{_libdir}/vmware/hostd/locale
521%dir %{_libdir}/vmware/hostd/docroot
522%dir %{_libdir}/vmware/hostd/docroot/client
523%dir %{_libdir}/vmware/hostd/docroot/sdk
524%dir %{_libdir}/vmware/hostd/docroot/downloads
525%{_libdir}/vmware/hostd/docroot/*.png
526%{_libdir}/vmware/hostd/docroot/*.js
527%{_libdir}/vmware/hostd/docroot/*.jpeg
528%{_libdir}/vmware/hostd/docroot/*.html
529%{_libdir}/vmware/hostd/docroot/*.css
530%{_libdir}/vmware/hostd/docroot/en
531%attr(644,root,root) %{_libdir}/vmware/hostd/docroot/client/VMware-viclient.exe
532%attr(644,root,root) %{_libdir}/vmware/hostd/docroot/client/clients-template.xml
533%attr(644,root,root) %{_libdir}/vmware/hostd/docroot/sdk/vim.wsdl
534%attr(644,root,root) %{_libdir}/vmware/hostd/docroot/sdk/vimService.wsdl
535
536%attr(755,root,root) %{_libdir}/vmware/hostd/py
537%attr(755,root,root) %{_libdir}/vmware/hostd/wsdl
538%{_mandir}/man1/vmware.1*
21baaa38 539%attr(1777,root,root) %dir /var/run/vmware
a4a79c8a 540%attr(751,root,root) %dir /var/log/vmware
c932c051
ER
541#%{_pixmapsdir}/*.png
542#%{_desktopdir}/%{name}.desktop
543
544%dir %{_libdir}/vmware/vmacore
545%attr(755,root,root) %{_libdir}/vmware/vmacore/libvmacore.so.*.*
546%attr(755,root,root) %{_libdir}/vmware/vmacore/libvmomi.so.*.*
547
548# belongs to -help
549%{_libdir}/vmware/help
550
551%defattr(444,root,root,755)
552%dir %doc %{_docdir}
553%doc %{_docdir}/[ERo]*
554%defattr(644,root,root,755)
555%doc %dir %{_docdir}/VMwareVix
556%doc %{_docdir}/VMwareVix/lang
557%doc %{_docdir}/VMwareVix/errors
558%doc %{_docdir}/VMwareVix/types
559%attr(444,root,root) %doc %{_docdir}/VMwareVix/*.html
77376fa1 560%attr(444,root,root) %doc %{_docdir}/VMwareVix/*.css
c932c051
ER
561%dir %{_docdir}/VMwareVix/samples
562%attr(666,root,root) %doc %{_docdir}/VMwareVix/samples/*.c
563
564%defattr(-,root,root,755)
565%dir %{_libdir}/vmware/webAccess
566%defattr(444,root,root,755)
567%dir %{_libdir}/vmware/webAccess/java
77376fa1
ER
568%dir %{_libdir}/vmware/webAccess/java/jre*
569%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/bin/*
570%dir %{_libdir}/vmware/webAccess/java/jre*/bin
571%dir %{_libdir}/vmware/webAccess/java/jre*/lib
d1aa1c6c 572%ifarch %{ix86}
77376fa1 573%dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386
d1aa1c6c
ER
574%endif
575%ifarch %{x8664}
77376fa1 576%dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64
d1aa1c6c 577%endif
77376fa1
ER
578%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/*.so
579%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/headless/*.so
580%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/motif21/*.so
581%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/native_threads/*.so
582%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/xawt/*.so
c932c051 583# yeah. go figure
77376fa1
ER
584%attr(777,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/server/libjsig.so
585%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/server/libjvm.so
586%{_libdir}/vmware/webAccess/java/jre*/lib/*.jar
587%{_libdir}/vmware/webAccess/java/jre*/lib/ext
588%{_libdir}/vmware/webAccess/java/jre*/lib/font*
589%{_libdir}/vmware/webAccess/java/jre*/lib/im
590%{_libdir}/vmware/webAccess/java/jre*/lib/images
591%{_libdir}/vmware/webAccess/java/jre*/lib/zi
592%{_libdir}/vmware/webAccess/java/jre*/lib/audio
593%{_libdir}/vmware/webAccess/java/jre*/lib/cmm
594%{_libdir}/vmware/webAccess/java/jre*/lib/security
595%{_libdir}/vmware/webAccess/java/jre*/lib/management
596%{_libdir}/vmware/webAccess/java/jre*/lib/oblique-fonts
597%{_libdir}/vmware/webAccess/java/jre*/lib/psfont*
598%{_libdir}/vmware/webAccess/java/jre*/[A-Z]*
c932c051 599%attr(644,root,root) %{_libdir}/vmware/webAccess/vmware*
d1aa1c6c 600%ifarch %{ix86}
77376fa1
ER
601%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/i386/awt_robot
602%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/i386/gtkhelper
603%{_libdir}/vmware/webAccess/java/jre*/lib/i386/jvm.cfg
604%{_libdir}/vmware/webAccess/java/jre*/lib/i386/server/Xusage.txt
605%dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386/headless
606%dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386/motif21
607%dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386/native_threads
608%dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386/server
609%dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386/xawt
d1aa1c6c
ER
610%endif
611%ifarch %{x8664}
77376fa1
ER
612%{_libdir}/vmware/webAccess/java/jre*/.systemPrefs
613%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/awt_robot
614%attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/gtkhelper
615%{_libdir}/vmware/webAccess/java/jre*/lib/amd64/jvm.cfg
616%{_libdir}/vmware/webAccess/java/jre*/lib/amd64/server/Xusage.txt
617%dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/headless
618%dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/motif21
619%dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/native_threads
620%dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/server
621%dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/xawt
622%endif
623%{_libdir}/vmware/webAccess/java/jre*/lib/classlist
624%{_libdir}/vmware/webAccess/java/jre*/lib/content-types.properties
625%{_libdir}/vmware/webAccess/java/jre*/lib/flavormap.properties
626%{_libdir}/vmware/webAccess/java/jre*/lib/jvm.hprof.txt
627%{_libdir}/vmware/webAccess/java/jre*/lib/logging.properties
628%{_libdir}/vmware/webAccess/java/jre*/lib/net.properties
629%{_libdir}/vmware/webAccess/java/jre*/lib/sound.properties
c932c051
ER
630
631%defattr(444,root,root,755)
632%dir %{_libdir}/vmware/webAccess/tomcat
77376fa1
ER
633%dir %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*
634%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/conf
635%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/temp
c932c051 636%defattr(555,root,root,755)
77376fa1 637%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/bin
c932c051 638%defattr(644,root,root,755)
77376fa1
ER
639%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/webapps
640%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/lib
c932c051 641%defattr(444,root,root,755)
77376fa1
ER
642%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/LICENSE
643%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/NOTICE
644%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/RELEASE-NOTES
645%{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/RUNNING.txt
c932c051
ER
646
647%defattr(444,root,root,755)
648%{_libdir}/vmware/vmware-vix
649
650%defattr(555,root,root,755)
651%{_libdir}/vmware/net-services.sh
652
653%defattr(444,root,root,755)
c932c051
ER
654%{_libdir}/vmware/configurator
655
656# -networking stuff
657%attr(555,root,root) %{_bindir}/vmnet-bridge
658%attr(555,root,root) %{_bindir}/vmnet-dhcpd
659%attr(555,root,root) %{_bindir}/vmnet-natd
660%attr(555,root,root) %{_bindir}/vmnet-netifup
661%attr(555,root,root) %{_bindir}/vmnet-sniffer
21baaa38 662
e73739c3 663%if 0
21baaa38 664%files console
3c34bc99 665%defattr(644,root,root,755)
5cc7759b 666%dir %{_sysconfdir}/vmware-server-console
667%{_sysconfdir}/vmware-server-console/locations
5cc7759b 668%dir %{_libdir}/vmware-server-console
669%dir %{_libdir}/vmware-server-console/bin
21baaa38
MM
670
671%files console-help
672%defattr(644,root,root,755)
21baaa38
MM
673
674%files debug
675%defattr(644,root,root,755)
21baaa38
MM
676
677%files help
678%defattr(644,root,root,755)
c932c051 679%{_libdir}/vmware/help
21baaa38
MM
680
681%files networking
682%defattr(644,root,root,755)
683%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet.conf
684%attr(754,root,root) /etc/rc.d/init.d/vmnet
685%attr(755,root,root) %{_bindir}/vmnet-bridge
686%attr(755,root,root) %{_bindir}/vmnet-dhcpd
687%attr(755,root,root) %{_bindir}/vmnet-natd
688%attr(755,root,root) %{_bindir}/vmnet-netifup
689%attr(755,root,root) %{_bindir}/vmnet-sniffer
690%attr(755,root,root) %{_bindir}/vmware-ping
21baaa38 691
21baaa38
MM
692%files samba
693%defattr(644,root,root,755)
694%doc lib/configurator/vmnet-smb.conf
695%attr(755,root,root) %{_bindir}/vmware-nmbd
696%attr(755,root,root) %{_bindir}/vmware-smbd
697%attr(755,root,root) %{_bindir}/vmware-smbpasswd
698%attr(755,root,root) %{_bindir}/vmware-smbpasswd.bin
699%{_libdir}/vmware/smb
700%endif
701%endif
702
703%if %{with kernel}
a4e0119e 704%files -n kernel%{_alt_kernel}-misc-vmci
606ddb2b
ER
705%defattr(644,root,root,755)
706/lib/modules/%{_kernel_ver}/misc/vmci.ko*
707
a4e0119e 708%files -n kernel%{_alt_kernel}-misc-vmmon
21baaa38
MM
709%defattr(644,root,root,755)
710/lib/modules/%{_kernel_ver}/misc/vmmon.ko*
711
a4e0119e 712%files -n kernel%{_alt_kernel}-misc-vmnet
21baaa38
MM
713%defattr(644,root,root,755)
714/lib/modules/%{_kernel_ver}/misc/vmnet.ko*
77376fa1
ER
715
716%files -n kernel%{_alt_kernel}-misc-vsock
717%defattr(644,root,root,755)
718/lib/modules/%{_kernel_ver}/misc/vsock.ko*
0108f1e9 719%endif
This page took 0.199345 seconds and 4 git commands to generate.