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