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