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