SPECS: VMware-server.spec - some new files

glen glen at pld-linux.org
Sat Mar 15 17:39:13 CET 2008


Author: glen                         Date: Sat Mar 15 16:39:13 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- some new files

---- Files affected:
SPECS:
   VMware-server.spec (1.41 -> 1.42) 

---- Diffs:

================================================================
Index: SPECS/VMware-server.spec
diff -u SPECS/VMware-server.spec:1.41 SPECS/VMware-server.spec:1.42
--- SPECS/VMware-server.spec:1.41	Thu Mar 13 23:38:19 2008
+++ SPECS/VMware-server.spec	Sat Mar 15 17:39:08 2008
@@ -21,7 +21,7 @@
 #
 # Conditional build:
 %bcond_without	dist_kernel	# without distribution kernel
-%bcond_with	kernel		# don't build kernel modules
+%bcond_without	kernel		# don't build kernel modules
 %bcond_without	userspace	# don't build userspace utilities
 %bcond_without	internal_libs	# internal libs stuff
 %bcond_without	doc # package huge docs
@@ -31,7 +31,7 @@
 #
 %define		ver	2.0
 %define		subver	63231
-%define		rel	0.4
+%define		rel	0.5
 %define		urel	115
 %{expand:%%define	ccver	%(%{__cc} -dumpversion)}
 #
@@ -335,6 +335,7 @@
 install -d \
 	$RPM_BUILD_ROOT%{_sysconfdir}/vmware{,-server-console} \
 	$RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/{nat,dhcpd} \
+	$RPM_BUILD_ROOT%{_sysconfdir}/vmware/state \
 	$RPM_BUILD_ROOT%{_bindir} \
 	$RPM_BUILD_ROOT%{_sbindir} \
 	$RPM_BUILD_ROOT%{_libdir}/vmware{,-server-console}/bin \
@@ -402,6 +403,28 @@
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 cp -a man/man1/vmware.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
+install installer/services.sh $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware
+ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-autostart
+ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-core
+ln -s vmware $RPM_BUILD_ROOT/etc/rc.d/init.d/vmware-mgmt
+cat > $RPM_BUILD_ROOT%{_sysconfdir}/vmware/locations <<'EOF'
+file /etc/vmware/locations
+directory /etc/vmware/state
+answer BINDIR /usr/bin
+answer SBINDIR /usr/sbin
+answer LIBDIR /usr/lib/vmware
+answer DOCDIR /usr/share/doc/vmware
+answer MANDIR /usr/share/man
+answer INITDIR /etc/rc.d
+answer INITSCRIPTSDIR /etc/rc.d/init.d
+file /etc/vmware/not_configured 1205422799
+file /etc/rc.d/init.d/vmware 1205422799
+answer INSTALL_CYCLE yes
+file /etc/rc.d/init.d/vmware-mgmt
+file /etc/rc.d/init.d/vmware-core
+file /etc/rc.d/init.d/vmware-autostart
+EOF
+
 rm $RPM_BUILD_ROOT/usr/bin/vmware-uninstall.pl
 rm $RPM_BUILD_ROOT/usr/bin/vmware-vimdump
 rm $RPM_BUILD_ROOT/usr/share/applications/VMware-server.desktop
@@ -491,6 +514,7 @@
 %defattr(444,root,root,755)
 #%doc lib/configurator/vmnet-{dhcpd,nat}.conf
 %dir %{_sysconfdir}/vmware
+%dir %{_sysconfdir}/vmware/state
 %dir %{_sysconfdir}/vmware/hostd
 %dir %{_sysconfdir}/vmware/hostd/env
 %attr(644,root,root) %{_sysconfdir}/vmware/hostd/env/*.xml
@@ -502,6 +526,13 @@
 %dir %{_sysconfdir}/vmware/service
 %attr(644,root,root) %{_sysconfdir}/vmware/service/services.xml
 %attr(555,root,root) %{_sysconfdir}/vmware/installer.sh
+%{_sysconfdir}/vmware/locations
+
+%attr(754,root,root) /etc/rc.d/init.d/vmware
+%attr(754,root,root) /etc/rc.d/init.d/vmware-autostart
+%attr(754,root,root) /etc/rc.d/init.d/vmware-core
+%attr(754,root,root) /etc/rc.d/init.d/vmware-mgmt
+
 %attr(555,root,root) %{_bindir}/vm-support
 #%attr(755,root,root) %{_bindir}/vmware-authtrusted
 #%attr(755,root,root) %{_bindir}/vmware-cmd
@@ -839,6 +870,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.42  2008-03-15 16:39:08  glen
+- some new files
+
 Revision 1.41  2008-03-13 22:38:19  glen
 - expand once
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/VMware-server.spec?r1=1.41&r2=1.42&f=u



More information about the pld-cvs-commit mailing list