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