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