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