52 lines
1.3 KiB
RPMSpec
52 lines
1.3 KiB
RPMSpec
%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2)
|
|
Name: xf86-video-vboxvideo
|
|
Version: 1.0.0
|
|
Release: 1mamba
|
|
Summary: X.org video driver for VirtualBox guest machine
|
|
Group: System/X11
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
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.19.5
|
|
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
|
|
* Fri Dec 08 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
|
- package created using the webbuild interface
|