SPECS (AC-branch): VirtualBox.spec - init script is back, its requ...

hawk hawk at pld-linux.org
Tue Jan 29 14:36:28 CET 2008


Author: hawk                         Date: Tue Jan 29 13:36:28 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- init script is back, its required to create /dev/vboxdrv on system with
  static dev
- release 2

---- Files affected:
SPECS:
   VirtualBox.spec (1.44.2.1 -> 1.44.2.2) 

---- Diffs:

================================================================
Index: SPECS/VirtualBox.spec
diff -u SPECS/VirtualBox.spec:1.44.2.1 SPECS/VirtualBox.spec:1.44.2.2
--- SPECS/VirtualBox.spec:1.44.2.1	Fri Jan  4 23:42:11 2008
+++ SPECS/VirtualBox.spec	Tue Jan 29 14:36:23 2008
@@ -16,7 +16,7 @@
 %bcond_without	smp		# without SMP kernel modules
 %bcond_without	userspace	# don't build userspace package
 
-%define		rel		1
+%define		rel		2
 
 %if %{without kernel}
 %undefine	with_dist_kernel
@@ -35,8 +35,9 @@
 # Source1-md5:	f56f0d904013cbc0940108ed042e539d
 Source2:	http://www.virtualbox.org/download/%{version}/VBoxGuestAdditions_%{version}.iso
 # Source2-md5:	e021a51fc5946659b0789d134b1fd5ff
-Source3:	%{name}.desktop
-Source4:	%{name}.sh
+Source3:	%{name}.init
+Source4:	%{name}.desktop
+Source5:	%{name}.sh
 Patch0:		%{name}-configure.patch
 Patch1:		%{name}-qt-paths.patch
 Patch2:		%{name}-shared-libstdc++.patch
@@ -327,10 +328,13 @@
 install -d \
 	$RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}} \
 	$RPM_BUILD_ROOT%{_libdir}/VirtualBox \
+	$RPM_BUILD_ROOT/etc/rc.d/init.d \
 	$RPM_BUILD_ROOT%{_prefix}/X11R6/modules/drivers \
 	$RPM_BUILD_ROOT%{_prefix}/X11R6/modules/input
 
-install %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/VirtualBox/VirtualBox-wrapper.sh
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/virtualbox
+
+install %{SOURCE5} $RPM_BUILD_ROOT%{_libdir}/VirtualBox/VirtualBox-wrapper.sh
 for f in {VBox{BFE,Manage,SDL,SVC,XPCOMIPCD},VirtualBox,vditool}; do
 	install out/linux.%{outdir}/release/bin/$f $RPM_BUILD_ROOT%{_libdir}/VirtualBox/$f
 	ln -s %{_libdir}/VirtualBox/VirtualBox-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/$f
@@ -358,7 +362,7 @@
 	$RPM_BUILD_ROOT%{_prefix}/X11R6/modules/drivers/vboxvideo_drv.so
 
 install out/linux.%{outdir}/release/bin/VBox.png $RPM_BUILD_ROOT%{_pixmapsdir}/VBox.png
-install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
 %endif
 
 %if %{with kernel}
@@ -419,6 +423,7 @@
 %dir %{_libdir}/VirtualBox/additions
 %dir %{_libdir}/VirtualBox/components
 %dir %{_libdir}/VirtualBox/nls
+%attr(754,root,root) /etc/rc.d/init.d/virtualbox
 %attr(755,root,root) %{_bindir}/mountvboxsf
 %attr(755,root,root) %{_bindir}/vditool
 %attr(755,root,root) %{_bindir}/VBox*
@@ -510,6 +515,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44.2.2  2008-01-29 13:36:23  hawk
+- init script is back, its required to create /dev/vboxdrv on system with
+  static dev
+- release 2
+
 Revision 1.44.2.1  2008-01-04 22:42:11  hawk
 - adjusted for Ac
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/VirtualBox.spec?r1=1.44.2.1&r2=1.44.2.2&f=u



More information about the pld-cvs-commit mailing list