- default configs, packaging updates
[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
20 %define         subver  84186
21 %define         rel     0.4
22 %{expand:%%global       ccver   %(%{__cc} -dumpversion)}
23 #
24 Summary:        VMware Server
25 Summary(pl.UTF-8):      VMware Server - wirtualna platforma dla stacji roboczej
26 Name:           VMware-server
27 Version:        %{ver}.%{subver}
28 Release:        %{rel}
29 License:        custom, non-distributable
30 Group:          Applications/Emulators
31 # http://www.vmware.com/beta/server/download.html
32 Source0:        http://download3.vmware.com/software/vmserver/%{name}-e.x.p-%{subver}.i386.tar.gz
33 # NoSource0-md5:        30f20c55a76ba46543df0e80bd21affc
34 Source1:        http://download3.vmware.com/software/vmserver/%{name}-e.x.p-%{subver}.x86_64.tar.gz
35 # NoSource1-md5:        31dcec2889bcac228f76f0914e89469b
36 Source2:        http://download3.vmware.com/software/vmserver/VMware-vix-e.x.p-%{subver}.i386.tar.gz
37 # NoSource2-md5:        d81db3079785a7454902aed222e611ad
38 Source3:        http://download3.vmware.com/software/vmserver/VMware-vix-e.x.p-%{subver}.x86_64.tar.gz
39 # NoSource3-md5:        bc7bdf81d14887861b4f5413e78fd539
40 Source4:        %{name}.png
41 Source5:        %{name}.desktop
42 Source6:        %{name}-authd.rc-inetd
43 Source7:        %{name}-nat.conf
44 Source8:        %{name}-dhcpd.conf
45 Source9:        %{name}-dhcpd-hostonly.conf
46 Source10:       %{name}-parse-locations.pl
47 Source11:       %{name}-libs
48 Source12:       %{name}-locations
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/vmnet{1,8}/{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/{pam.d,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 %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
325 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
326 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/nat/nat.conf
327 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.conf
328 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet1/dhcpd/dhcpd.conf
329 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/parse-locations.pl
330 cp -a %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/vmware/locations
331
332 touch $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet{1,8}/dhcpd/dhcpd.leases
333 touch $RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet{1,8}/dhcpd/dhcpd.leases~
334
335 install bin/*-* $RPM_BUILD_ROOT%{_bindir}
336 install sbin/*-* $RPM_BUILD_ROOT%{_sbindir}
337 install lib/bin/vmware-vmx $RPM_BUILD_ROOT%{_libdir}/vmware/bin
338 cp -a lib/webAccess $RPM_BUILD_ROOT%{_libdir}/vmware
339 cp -a lib/hostd $RPM_BUILD_ROOT%{_libdir}/vmware
340 cp -a vmware-vix $RPM_BUILD_ROOT%{_libdir}/vmware
341 cp -a lib/vmacore $RPM_BUILD_ROOT%{_libdir}/vmware
342 cp -a lib/net-services.sh $RPM_BUILD_ROOT%{_libdir}/vmware
343 cp -a lib/configurator $RPM_BUILD_ROOT%{_libdir}/vmware
344 cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_libdir}/vmware/configurator/authd-rc-inetd.conf
345 cp -a etc/hostd $RPM_BUILD_ROOT/etc/vmware/hostd
346 cp -a etc/installer.sh $RPM_BUILD_ROOT/etc/vmware
347 cp -a etc/pam.d/vmware-authd $RPM_BUILD_ROOT/etc/pam.d
348 cp -a etc/service $RPM_BUILD_ROOT/etc/vmware
349
350 install -d $RPM_BUILD_ROOT%{_docdir}
351 cp -a doc/* $RPM_BUILD_ROOT%{_docdir}
352 cp -a vmware-vix-distrib/doc/VMwareVix $RPM_BUILD_ROOT%{_docdir}
353 install -d $RPM_BUILD_ROOT%{_mandir}/man1
354 cp -a man/man1/vmware.1 $RPM_BUILD_ROOT%{_mandir}/man1
355
356 install installer/services.sh $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware
357 ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-autostart
358 ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-core
359 ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-mgmt
360
361 rm $RPM_BUILD_ROOT/usr/bin/vmware-uninstall.pl
362 rm $RPM_BUILD_ROOT/usr/bin/vmware-vimdump
363 rm $RPM_BUILD_ROOT/usr/share/applications/VMware-server.desktop
364 rm $RPM_BUILD_ROOT/usr/share/pixmaps/VMware-server.png
365
366 cp -a   lib/{config,help,licenses,messages,share,xkeymap} \
367         $RPM_BUILD_ROOT%{_libdir}/vmware
368
369 %if %{with internal_libs}
370 install bin/vmware $RPM_BUILD_ROOT%{_bindir}
371 install lib/bin/* $RPM_BUILD_ROOT%{_libdir}/vmware/bin
372 cp -a   lib/lib $RPM_BUILD_ROOT%{_libdir}/vmware
373 %endif
374
375 %endif
376
377 %clean
378 rm -rf $RPM_BUILD_ROOT
379
380 %post networking
381 /sbin/chkconfig --add vmnet
382 %service vmnet restart "VMware networking service"
383
384 %preun networking
385 if [ "$1" = "0" ]; then
386         %service vmnet stop
387         /sbin/chkconfig --del vmnet
388 fi
389
390 %post   -n kernel%{_alt_kernel}-misc-vmci
391 %depmod %{_kernel_ver}
392
393 %postun -n kernel%{_alt_kernel}-misc-vmci
394 %depmod %{_kernel_ver}
395
396 %post   -n kernel%{_alt_kernel}-misc-vmmon
397 %depmod %{_kernel_ver}
398
399 %postun -n kernel%{_alt_kernel}-misc-vmmon
400 %depmod %{_kernel_ver}
401
402 %post   -n kernel%{_alt_kernel}-misc-vmnet
403 %depmod %{_kernel_ver}
404
405 %postun -n kernel%{_alt_kernel}-misc-vmnet
406 %depmod %{_kernel_ver}
407
408 %post   -n kernel%{_alt_kernel}-misc-vsock
409 %depmod %{_kernel_ver}
410
411 %postun -n kernel%{_alt_kernel}-misc-vsock
412 %depmod %{_kernel_ver}
413
414 %if %{with userspace}
415 %files
416 %defattr(644,root,root,755)
417 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/vmware-authd
418 %dir %{_sysconfdir}/vmware
419 %dir %{_sysconfdir}/vmware/state
420 %dir %{_sysconfdir}/vmware/hostd
421 %dir %{_sysconfdir}/vmware/hostd/env
422 %{_sysconfdir}/vmware/hostd/env/*.xml
423 %{_sysconfdir}/vmware/hostd/key.pub
424 %{_sysconfdir}/vmware/hostd/*.vha
425 %{_sysconfdir}/vmware/hostd/*.xml
426 %dir %{_sysconfdir}/vmware/service
427 %{_sysconfdir}/vmware/service/services.xml
428 %{_sysconfdir}/vmware/installer.sh
429 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/locations
430 %attr(755,root,root) %{_sysconfdir}/vmware/parse-locations.pl
431
432 # vmnet1: HostOnly
433 %dir %{_sysconfdir}/vmware/vmnet1
434 %dir %{_sysconfdir}/vmware/vmnet1/dhcpd
435 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet1/dhcpd/dhcpd.conf
436 %ghost %{_sysconfdir}/vmware/vmnet1/dhcpd/dhcpd.leases*
437
438 # vmnet8: NAT
439 %dir %{_sysconfdir}/vmware/vmnet8
440 %dir %{_sysconfdir}/vmware/vmnet8/dhcpd
441 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.conf
442 %dir %{_sysconfdir}/vmware/vmnet8/nat
443 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet8/nat/nat.conf
444 %ghost %{_sysconfdir}/vmware/vmnet8/dhcpd/dhcpd.leases*
445
446 %attr(754,root,root) /etc/rc.d/init.d/vmware
447 %attr(754,root,root) /etc/rc.d/init.d/vmware-autostart
448 %attr(754,root,root) /etc/rc.d/init.d/vmware-core
449 %attr(754,root,root) /etc/rc.d/init.d/vmware-mgmt
450
451 %attr(555,root,root) %{_bindir}/vm-support
452 %attr(555,root,root) %{_bindir}/vmware-config.pl
453 %attr(555,root,root) %{_bindir}/vmware-mount
454 %attr(555,root,root) %{_bindir}/vmware-vimsh
455 %attr(555,root,root) %{_bindir}/vmware-vsh
456 %attr(555,root,root) %{_bindir}/vmware-watchdog
457 %attr(555,root,root) %{_bindir}/vmware-vdiskmanager
458 %attr(4555,root,root) %{_sbindir}/vmware-authd
459 %attr(555,root,root) %{_sbindir}/vmware-authdlauncher
460 %attr(555,root,root) %{_sbindir}/vmware-hostd
461
462 %dir %{_libdir}/vmware
463 %dir %{_libdir}/vmware/bin
464 # warning: SUID !!!
465 %attr(555,root,root) %{_libdir}/vmware/bin/vmware-vmx
466 %{_libdir}/vmware/config
467 %if %{with internal_libs}
468 %attr(555,root,root) %{_bindir}/vmware
469 # - XXX -networking
470 %attr(4555,root,root) %{_bindir}/vmware-ping
471 %attr(555,root,root) %{_libdir}/vmware/bin/openssl
472 %attr(555,root,root) %{_libdir}/vmware/bin/vmrun
473 %attr(755,root,root) %{_libdir}/vmware/bin/vmware-hostd
474 %attr(755,root,root) %{_libdir}/vmware/bin/vmware-hostd-dynamic
475 %attr(555,root,root) %{_libdir}/vmware/bin/vmware-remotemks
476 %attr(555,root,root) %{_libdir}/vmware/bin/vmware-remotemks-debug
477 %attr(555,root,root) %{_libdir}/vmware/bin/vmware-vimdump
478 %attr(555,root,root) %{_libdir}/vmware/bin/vmware-vmx-debug
479 %attr(777,root,root) %{_libdir}/vmware/bin/vmware-vmx-stats
480 %attr(755,root,root) %{_libdir}/vmware/bin/vmware-vsh
481
482 %dir %{_libdir}/vmware/lib
483 %{_libdir}/vmware/lib/libcrypto.so.0.9.7
484 %{_libdir}/vmware/lib/libcurl.so.4
485 %{_libdir}/vmware/lib/libglib-2.0.so.0
486 %{_libdir}/vmware/lib/libgobject-2.0.so.0
487 %{_libdir}/vmware/lib/libgthread-2.0.so.0
488 %{_libdir}/vmware/lib/libssl.so.0.9.7
489 %dir %{_libdir}/vmware/lib/libexpat.so.0
490 %attr(755,root,root) %{_libdir}/vmware/lib/libexpat.so.0/libexpat.so.0
491 %dir %{_libdir}/vmware/lib/libgcc_s.so.1
492 %attr(755,root,root) %{_libdir}/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
493 %dir %{_libdir}/vmware/lib/libgvmomi.so.0
494 %attr(555,root,root) %{_libdir}/vmware/lib/libgvmomi.so.0/libgvmomi.so.0
495 %dir %{_libdir}/vmware/lib/libpng12.so.0
496 %attr(755,root,root) %{_libdir}/vmware/lib/libpng12.so.0/libpng12.so.0
497 %dir %{_libdir}/vmware/lib/libstdc++.so.6
498 %attr(755,root,root) %{_libdir}/vmware/lib/libstdc++.so.6/libstdc++.so.6
499 %dir %{_libdir}/vmware/lib/libxml2.so.2
500 %attr(755,root,root) %{_libdir}/vmware/lib/libxml2.so.2/libxml2.so.2
501 %dir %{_libdir}/vmware/lib/libpixops.so.2.0.2
502 %attr(755,root,root) %{_libdir}/vmware/lib/libpixops.so.2.0.2/libpixops.so.2.0.2
503
504 %attr(555,root,root) %{_libdir}/vmware/lib/wrapper-gtk24.sh
505 %endif
506 %{_libdir}/vmware/licenses
507 %dir %{_libdir}/vmware/messages
508 %lang(ja) %{_libdir}/vmware/messages/ja
509 %{_libdir}/vmware/share
510 %{_libdir}/vmware/xkeymap
511 %dir %{_libdir}/vmware/hostd
512 %attr(755,root,root) %{_libdir}/vmware/hostd/*.so
513 %{_libdir}/vmware/hostd/locale
514 %dir %{_libdir}/vmware/hostd/docroot
515 %dir %{_libdir}/vmware/hostd/docroot/client
516 %dir %{_libdir}/vmware/hostd/docroot/sdk
517 %dir %{_libdir}/vmware/hostd/docroot/downloads
518 %{_libdir}/vmware/hostd/docroot/*.png
519 %{_libdir}/vmware/hostd/docroot/*.js
520 %{_libdir}/vmware/hostd/docroot/*.jpeg
521 %{_libdir}/vmware/hostd/docroot/*.html
522 %{_libdir}/vmware/hostd/docroot/*.css
523 %{_libdir}/vmware/hostd/docroot/en
524 %attr(644,root,root) %{_libdir}/vmware/hostd/docroot/client/VMware-viclient.exe
525 %attr(644,root,root) %{_libdir}/vmware/hostd/docroot/client/clients-template.xml
526 %attr(644,root,root) %{_libdir}/vmware/hostd/docroot/sdk/vim.wsdl
527 %attr(644,root,root) %{_libdir}/vmware/hostd/docroot/sdk/vimService.wsdl
528
529 %attr(755,root,root) %{_libdir}/vmware/hostd/py
530 %attr(755,root,root) %{_libdir}/vmware/hostd/wsdl
531 %{_mandir}/man1/vmware.1*
532 %attr(1777,root,root) %dir /var/run/vmware
533 %attr(751,root,root) %dir /var/log/vmware
534 #%{_pixmapsdir}/*.png
535 #%{_desktopdir}/%{name}.desktop
536
537 %dir %{_libdir}/vmware/vmacore
538 %attr(755,root,root) %{_libdir}/vmware/vmacore/libvmacore.so.*.*
539 %attr(755,root,root) %{_libdir}/vmware/vmacore/libvmomi.so.*.*
540
541 # belongs to -help
542 %{_libdir}/vmware/help
543
544 %defattr(444,root,root,755)
545 %dir %doc %{_docdir}
546 %doc %{_docdir}/[ERo]*
547 %defattr(644,root,root,755)
548 %doc %dir %{_docdir}/VMwareVix
549 %doc %{_docdir}/VMwareVix/lang
550 %doc %{_docdir}/VMwareVix/errors
551 %doc %{_docdir}/VMwareVix/types
552 %attr(444,root,root) %doc %{_docdir}/VMwareVix/*.html
553 %attr(444,root,root) %doc %{_docdir}/VMwareVix/*.css
554 %dir %{_docdir}/VMwareVix/samples
555 %attr(666,root,root) %doc %{_docdir}/VMwareVix/samples/*.c
556
557 %defattr(-,root,root,755)
558 %dir %{_libdir}/vmware/webAccess
559 %defattr(444,root,root,755)
560 # TODO: use system java-sun
561 %dir %{_libdir}/vmware/webAccess/java
562 %dir %{_libdir}/vmware/webAccess/java/jre*
563 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/bin/*
564 %dir %{_libdir}/vmware/webAccess/java/jre*/bin
565 %dir %{_libdir}/vmware/webAccess/java/jre*/lib
566 %ifarch %{ix86}
567 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386
568 %endif
569 %ifarch %{x8664}
570 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64
571 %endif
572 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/*.so
573 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/headless/*.so
574 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/motif21/*.so
575 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/native_threads/*.so
576 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/xawt/*.so
577 # yeah. go figure
578 %attr(777,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/server/libjsig.so
579 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/*/server/libjvm.so
580 %{_libdir}/vmware/webAccess/java/jre*/lib/*.jar
581 %{_libdir}/vmware/webAccess/java/jre*/lib/ext
582 %{_libdir}/vmware/webAccess/java/jre*/lib/font*
583 %{_libdir}/vmware/webAccess/java/jre*/lib/im
584 %{_libdir}/vmware/webAccess/java/jre*/lib/images
585 %{_libdir}/vmware/webAccess/java/jre*/lib/zi
586 %{_libdir}/vmware/webAccess/java/jre*/lib/audio
587 %{_libdir}/vmware/webAccess/java/jre*/lib/cmm
588 %{_libdir}/vmware/webAccess/java/jre*/lib/security
589 %{_libdir}/vmware/webAccess/java/jre*/lib/management
590 %{_libdir}/vmware/webAccess/java/jre*/lib/oblique-fonts
591 %{_libdir}/vmware/webAccess/java/jre*/lib/psfont*
592 %{_libdir}/vmware/webAccess/java/jre*/[A-Z]*
593 %attr(644,root,root) %{_libdir}/vmware/webAccess/vmware*
594 %ifarch %{ix86}
595 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/i386/awt_robot
596 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/i386/gtkhelper
597 %{_libdir}/vmware/webAccess/java/jre*/lib/i386/jvm.cfg
598 %{_libdir}/vmware/webAccess/java/jre*/lib/i386/server/Xusage.txt
599 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386/headless
600 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386/motif21
601 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386/native_threads
602 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386/server
603 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/i386/xawt
604 %endif
605 %ifarch %{x8664}
606 %{_libdir}/vmware/webAccess/java/jre*/.systemPrefs
607 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/awt_robot
608 %attr(555,root,root) %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/gtkhelper
609 %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/jvm.cfg
610 %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/server/Xusage.txt
611 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/headless
612 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/motif21
613 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/native_threads
614 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/server
615 %dir %{_libdir}/vmware/webAccess/java/jre*/lib/amd64/xawt
616 %endif
617 %{_libdir}/vmware/webAccess/java/jre*/lib/classlist
618 %{_libdir}/vmware/webAccess/java/jre*/lib/content-types.properties
619 %{_libdir}/vmware/webAccess/java/jre*/lib/flavormap.properties
620 %{_libdir}/vmware/webAccess/java/jre*/lib/jvm.hprof.txt
621 %{_libdir}/vmware/webAccess/java/jre*/lib/logging.properties
622 %{_libdir}/vmware/webAccess/java/jre*/lib/net.properties
623 %{_libdir}/vmware/webAccess/java/jre*/lib/sound.properties
624
625 %defattr(444,root,root,755)
626 %dir %{_libdir}/vmware/webAccess/tomcat
627 %dir %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*
628 %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/conf
629 %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/temp
630 %defattr(555,root,root,755)
631 %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/bin
632 %defattr(644,root,root,755)
633 %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/webapps
634 %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/lib
635 %defattr(444,root,root,755)
636 %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/LICENSE
637 %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/NOTICE
638 %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/RELEASE-NOTES
639 %{_libdir}/vmware/webAccess/tomcat/apache-tomcat-*/RUNNING.txt
640
641 %defattr(444,root,root,755)
642 %{_libdir}/vmware/vmware-vix
643
644 %defattr(555,root,root,755)
645 %{_libdir}/vmware/net-services.sh
646
647 %defattr(444,root,root,755)
648 %{_libdir}/vmware/configurator
649
650 # -networking stuff
651 %attr(555,root,root) %{_bindir}/vmnet-bridge
652 %attr(555,root,root) %{_bindir}/vmnet-dhcpd
653 %attr(555,root,root) %{_bindir}/vmnet-natd
654 %attr(555,root,root) %{_bindir}/vmnet-netifup
655 %attr(555,root,root) %{_bindir}/vmnet-sniffer
656
657 %if 0
658 %files console
659 %defattr(644,root,root,755)
660 %dir %{_sysconfdir}/vmware-server-console
661 %{_sysconfdir}/vmware-server-console/locations
662 %dir %{_libdir}/vmware-server-console
663 %dir %{_libdir}/vmware-server-console/bin
664
665 %files console-help
666 %defattr(644,root,root,755)
667
668 %files debug
669 %defattr(644,root,root,755)
670
671 %files help
672 %defattr(644,root,root,755)
673 %{_libdir}/vmware/help
674
675 %files networking
676 %defattr(644,root,root,755)
677 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmware/vmnet.conf
678 %attr(754,root,root) /etc/rc.d/init.d/vmnet
679 %attr(755,root,root) %{_bindir}/vmnet-bridge
680 %attr(755,root,root) %{_bindir}/vmnet-dhcpd
681 %attr(755,root,root) %{_bindir}/vmnet-natd
682 %attr(755,root,root) %{_bindir}/vmnet-netifup
683 %attr(755,root,root) %{_bindir}/vmnet-sniffer
684 %attr(755,root,root) %{_bindir}/vmware-ping
685
686 %files samba
687 %defattr(644,root,root,755)
688 %doc lib/configurator/vmnet-smb.conf
689 %attr(755,root,root) %{_bindir}/vmware-nmbd
690 %attr(755,root,root) %{_bindir}/vmware-smbd
691 %attr(755,root,root) %{_bindir}/vmware-smbpasswd
692 %attr(755,root,root) %{_bindir}/vmware-smbpasswd.bin
693 %{_libdir}/vmware/smb
694 %endif
695 %endif
696
697 %if %{with kernel}
698 %files -n kernel%{_alt_kernel}-misc-vmci
699 %defattr(644,root,root,755)
700 /lib/modules/%{_kernel_ver}/misc/vmci.ko*
701
702 %files -n kernel%{_alt_kernel}-misc-vmmon
703 %defattr(644,root,root,755)
704 /lib/modules/%{_kernel_ver}/misc/vmmon.ko*
705
706 %files -n kernel%{_alt_kernel}-misc-vmnet
707 %defattr(644,root,root,755)
708 /lib/modules/%{_kernel_ver}/misc/vmnet.ko*
709
710 %files -n kernel%{_alt_kernel}-misc-vsock
711 %defattr(644,root,root,755)
712 /lib/modules/%{_kernel_ver}/misc/vsock.ko*
713 %endif
This page took 0.135971 seconds and 3 git commands to generate.