%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2) Name: xf86-video-vboxvideo Version: 1.0.0 Release: 2mamba Summary: X.org video driver for VirtualBox guest machine Group: System/X11 Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://x.org Source: ftp://x.org/pub/individual/driver/xf86-video-vboxvideo-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRequires: xorg-server-devel >= 1.20.4 Requires: xorg-server >= %{xorg_ver} Requires: xorg-server <= %{xorg_ver}.255 Provides: xorg-drv-video-vboxvideo Obsoletes: xorg-drv-video-vboxvideo BuildRoot: %{_tmppath}/%{name}-%{version}-root %description X.org video driver for VirtualBox guest machine. %debug_package %prep %setup -q %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/xorg/modules/drivers/vboxvideo_drv.la %{_libdir}/xorg/modules/drivers/vboxvideo_drv.so %{_mandir}/man4/vboxvideo.4* %doc COPYING %changelog * Sun Mar 03 2019 Silvan Calarco 1.0.0-2mamba - rebuilt with xorg-server 1.20.4 * Fri Dec 08 2017 Silvan Calarco 1.0.0-1mamba - package created using the webbuild interface