SPECS (LINUX_2_6_22): VirtualBox.spec - update for 2.6.22 kernel

glen glen at pld-linux.org
Fri Apr 4 17:58:15 CEST 2008


Author: glen                         Date: Fri Apr  4 15:58:15 2008 GMT
Module: SPECS                         Tag: LINUX_2_6_22
---- Log message:
- update for 2.6.22 kernel

---- Files affected:
SPECS:
   VirtualBox.spec (1.44.2.13 -> 1.44.2.13.2.1) 

---- Diffs:

================================================================
Index: SPECS/VirtualBox.spec
diff -u SPECS/VirtualBox.spec:1.44.2.13 SPECS/VirtualBox.spec:1.44.2.13.2.1
--- SPECS/VirtualBox.spec:1.44.2.13	Fri Apr  4 17:45:49 2008
+++ SPECS/VirtualBox.spec	Fri Apr  4 17:58:09 2008
@@ -10,10 +10,10 @@
 # Conditional build:
 %bcond_without	dist_kernel	# without distribution kernel
 %bcond_without	kernel		# don't build kernel module
-%bcond_without	up		# without up packages
-%bcond_without	smp		# without SMP kernel modules
 %bcond_without	userspace	# don't build userspace package
 
+%define		rel		3
+
 %if %{without kernel}
 %undefine	with_dist_kernel
 %endif
@@ -28,7 +28,7 @@
 Summary(pl.UTF-8):	VirtualBox OSE - wirtualizator sprzętu x86
 Name:		%{pname}%{_alt_kernel}
 Version:	1.5.6
-Release:	2
+Release:	%{rel}
 License:	GPL v2
 Group:		Applications/Emulators
 Source0:	http://www.virtualbox.org/download/%{version}/%{pname}-%{version}-1_OSE.tar.bz2
@@ -140,6 +140,7 @@
 %package udev
 Summary:	udev rules for VirtualBox OSE kernel modules
 Summary(pl.UTF-8):	Reguły udev dla modułów jądra Linuksa dla VirtualBoksa
+Release:	%{rel}
 Group:		Base/Kernel
 Requires:	udev
 
@@ -152,6 +153,7 @@
 %package -n kernel%{_alt_kernel}-misc-vboxadd
 Summary:	Linux kernel module for VirtualBox OSE
 Summary(pl.UTF-8):	Moduł jądra Linuksa dla VirtualBoksa
+Release:	%{rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 Requires:	dev >= 2.9.0-7
@@ -166,6 +168,7 @@
 %package -n kernel%{_alt_kernel}-misc-vboxdrv
 Summary:	Linux kernel module for VirtualBox OSE
 Summary(pl.UTF-8):	Moduł jądra Linuksa dla VirtualBoksa
+Release:	%{rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 Requires:	dev >= 2.9.0-7
@@ -180,6 +183,7 @@
 %package -n kernel%{_alt_kernel}-misc-vboxvfs
 Summary:	Linux kernel module for VirtualBox OSE
 Summary(pl.UTF-8):	Moduł jądra Linuksa dla VirtualBoksa
+Release:	%{rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 Requires:	dev >= 2.9.0-7
@@ -191,51 +195,10 @@
 %description -n kernel%{_alt_kernel}-misc-vboxvfs -l pl.UTF-8
 Moduł jądra Linuksa vboxvfs dla VirtualBoksa.
 
-%package -n kernel%{_alt_kernel}-smp-misc-vboxadd
-Summary:	Linux SMP kernel module for VirtualBox OSE
-Summary(pl.UTF-8):	Moduł jądra Linuksa SMP dla VirtualBoksa
-Group:		Base/Kernel
-Requires(post,postun):	/sbin/depmod
-Requires:	dev >= 2.9.0-7
-%{?with_dist_kernel:Requires:	kernel%{_alt_kernel}-smp(vermagic) = %{_kernel_ver}}
-
-%description -n kernel%{_alt_kernel}-smp-misc-vboxadd
-Linux SMP kernel module vboxadd for VirtualBox OSE.
-
-%description -n kernel%{_alt_kernel}-smp-misc-vboxadd -l pl.UTF-8
-Moduł jądra Linuksa SMP vboxadd dla VirtualBoksa.
-
-%package -n kernel%{_alt_kernel}-smp-misc-vboxdrv
-Summary:	Linux SMP kernel module for VirtualBox OSE
-Summary(pl.UTF-8):	Moduł jądra Linuksa SMP dla VirtualBoksa
-Group:		Base/Kernel
-Requires(post,postun):	/sbin/depmod
-Requires:	dev >= 2.9.0-7
-%{?with_dist_kernel:Requires:	kernel%{_alt_kernel}-smp(vermagic) = %{_kernel_ver}}
-
-%description -n kernel%{_alt_kernel}-smp-misc-vboxdrv
-Linux SMP kernel module vboxdrv for VirtualBox OSE.
-
-%description -n kernel%{_alt_kernel}-smp-misc-vboxdrv -l pl.UTF-8
-Moduł jądra Linuksa SMP vboxdrv dla VirtualBoksa.
-
-%package -n kernel%{_alt_kernel}-smp-misc-vboxvfs
-Summary:	Linux SMP kernel module for VirtualBox OSE
-Summary(pl.UTF-8):	Moduł jądra Linuksa SMP dla VirtualBoksa
-Group:		Base/Kernel
-Requires(post,postun):	/sbin/depmod
-Requires:	dev >= 2.9.0-7
-%{?with_dist_kernel:Requires:	kernel%{_alt_kernel}-smp(vermagic) = %{_kernel_ver}}
-
-%description -n kernel%{_alt_kernel}-smp-misc-vboxvfs
-Linux SMP kernel module vboxvfs for VirtualBox OSE.
-
-%description -n kernel%{_alt_kernel}-smp-misc-vboxvfs -l pl.UTF-8
-Moduł jądra Linuksa SMP vboxvfs dla VirtualBoksa.
-
 %package -n X11-driver-input-vboxmouse
 Summary:	X.org mouse driver for VirtualBox OSE guest OS
 Summary(pl.UTF-8):	Sterownik myszy dla systemu gościa w VirtualBoksie
+Release:	%{rel}
 Group:		X11/Applications
 Requires:	X11-Xserver >= 1:6.9.0
 
@@ -248,6 +211,7 @@
 %package -n X11-driver-video-vboxvideo
 Summary:	X.org video driver for VirtualBox OSE guest OS
 Summary(pl.UTF-8):	Sterownik grafiki dla systemu gościa w VirtualBoksie
+Release:	%{rel}
 Group:		X11/Applications
 Requires:	X11-Xserver >= 1:6.9.0
 
@@ -300,7 +264,8 @@
 cd PLD-MODULE-BUILD
 %build_kernel_modules -m vboxadd -C vboxadd
 %build_kernel_modules -m vboxdrv -C vboxdrv
-%build_kernel_modules -m vboxvfs -C vboxvfs
+cp -a vboxadd/Module.symvers vboxvfs
+%build_kernel_modules -m vboxvfs -C vboxvfs -c
 cd ..
 %endif
 
@@ -401,12 +366,6 @@
 %postun	-n kernel%{_alt_kernel}-misc-vboxvfs
 %depmod %{_kernel_ver}
 
-%post	-n kernel%{_alt_kernel}-smp-misc-vboxdrv
-%depmod %{_kernel_ver}smp
-
-%postun	-n kernel%{_alt_kernel}-smp-misc-vboxdrv
-%depmod %{_kernel_ver}smp
-
 %if %{with userspace}
 %files
 %defattr(644,root,root,755)
@@ -482,7 +441,6 @@
 %endif
 
 %if %{with kernel}
-%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-misc-vboxadd
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/vboxadd.ko*
@@ -496,27 +454,15 @@
 /lib/modules/%{_kernel_ver}/misc/vboxvfs.ko*
 %endif
 
-%if %{with smp} && %{with dist_kernel}
-%files -n kernel%{_alt_kernel}-smp-misc-vboxadd
-%defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}smp/misc/vboxadd.ko*
-
-%files -n kernel%{_alt_kernel}-smp-misc-vboxdrv
-%defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}smp/misc/vboxdrv.ko*
-
-%files -n kernel%{_alt_kernel}-smp-misc-vboxvfs
-%defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}smp/misc/vboxvfs.ko*
-%endif
-%endif
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44.2.13.2.1  2008-04-04 15:58:09  glen
+- update for 2.6.22 kernel
+
 Revision 1.44.2.13  2008-04-04 15:45:49  glen
 - VirtualBox -> VirtualBox OSE
 
================================================================

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



More information about the pld-cvs-commit mailing list