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