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