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