packages: VirtualBox/VirtualBox.spec - dropped obsolete vboxnetflt_export.p...
hawk
hawk at pld-linux.org
Sun Jun 21 00:00:49 CEST 2009
Author: hawk Date: Sat Jun 20 22:00:49 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- dropped obsolete vboxnetflt_export.patch
- added support for building vboxvideo kernel module
---- Files affected:
packages/VirtualBox:
VirtualBox.spec (1.207 -> 1.208)
---- Diffs:
================================================================
Index: packages/VirtualBox/VirtualBox.spec
diff -u packages/VirtualBox/VirtualBox.spec:1.207 packages/VirtualBox/VirtualBox.spec:1.208
--- packages/VirtualBox/VirtualBox.spec:1.207 Sat Jun 20 23:33:19 2009
+++ packages/VirtualBox/VirtualBox.spec Sun Jun 21 00:00:43 2009
@@ -48,7 +48,7 @@
Source9: mount.vdi
Patch0: %{pname}-configure.patch
Patch1: %{pname}-configure-spaces.patch
-Patch2: %{pname}-vboxnetflt_export.patch
+Patch2: %{pname}-export_modules.patch
Patch3: %{pname}-VBoxSysInfo.patch
URL: http://www.virtualbox.org/
BuildRequires: rpmbuild(macros) >= 1.379
@@ -250,6 +250,25 @@
Moduł jądra Linuksa dla VirtualBoksa OSE - dostęp do plików systemu
głównego z poziomu systemu gościa.
+%package -n kernel%{_alt_kernel}-misc-vboxvideo
+Summary: DRM support for VirtualBox OSE
+Summary(pl.UTF-8): Moduł jądra Linuksa dla VirtualBoksa OSE
+Release: %{rel}@%{_kernel_ver_str}
+Group: Base/Kernel
+Requires(post,postun): /sbin/depmod
+Requires: dev >= 2.9.0-7
+%if %{with dist_kernel}
+%requires_releq_kernel
+Requires(postun): %releq_kernel
+%endif
+Provides: kernel(vboxvideo) = %{version}-%{rel}
+
+%description -n kernel%{_alt_kernel}-misc-vboxvideo
+DRM support for VirtualBox OSE.
+
+%description -n kernel%{_alt_kernel}-misc-vboxvideo -l pl.UTF-8
+Moduł jądra Linuksa dla VirtualBoksa OSE - sterownik obsługi DRM.
+
%package -n xorg-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 OSE
@@ -323,6 +342,7 @@
%build_kernel_modules -m vboxnetflt -C vboxnetflt
cp -a vboxadd/Module.symvers vboxvfs
%build_kernel_modules -m vboxvfs -C vboxvfs -c
+%build_kernel_modules -m vboxvideo -C vboxvideo_drm
cd ..
%endif
@@ -383,6 +403,7 @@
%install_kernel_modules -m PLD-MODULE-BUILD/vboxdrv/vboxdrv -d misc
%install_kernel_modules -m PLD-MODULE-BUILD/vboxnetflt/vboxnetflt -d misc
%install_kernel_modules -m PLD-MODULE-BUILD/vboxvfs/vboxvfs -d misc
+%install_kernel_modules -m PLD-MODULE-BUILD/vboxvideo_drm/vboxvideo -d misc
%endif
%clean
@@ -402,6 +423,7 @@
On guest Linux system you might want to install:
kernel-misc-vboxadd-%{version}-%{rel}@%{_kernel_ver_str}
kernel-misc-vboxvfs-%{version}-%{rel}@%{_kernel_ver_str}
+ kernel-misc-vboxvideo-%{version}-%{rel}@%{_kernel_ver_str}
NOTE: for different kernel brands append after word kernel the brand, like:
kernel-desktop-misc-vboxdrv-%{version}-%{rel}@%{_kernel_ver_str}
@@ -474,6 +496,12 @@
/sbin/chkconfig --del vboxvfs
fi
+%post -n kernel%{_alt_kernel}-misc-vboxvideo
+%depmod %{_kernel_ver}
+
+%postun -n kernel%{_alt_kernel}-misc-vboxvideo
+%depmod %{_kernel_ver}
+
%if %{with userspace}
%files
%defattr(644,root,root,755)
@@ -567,12 +595,21 @@
/lib/modules/%{_kernel_ver}/misc/vboxvfs.ko*
%endif
+%files -n kernel%{_alt_kernel}-misc-vboxvideo
+%defattr(644,root,root,755)
+/lib/modules/%{_kernel_ver}/misc/vboxvideo.ko*
+%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.208 2009/06/20 22:00:43 hawk
+- dropped obsolete vboxnetflt_export.patch
+- added support for building vboxvideo kernel module
+
Revision 1.207 2009/06/20 21:33:19 hawk
- Titanium has xserver 1.6 now
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/VirtualBox/VirtualBox.spec?r1=1.207&r2=1.208&f=u
More information about the pld-cvs-commit
mailing list