diff --git a/README.md b/README.md index 1b424bd..e6ee2a3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xf86-video-qxl +QXL video driver for X.org. + diff --git a/xf86-video-qxl.spec b/xf86-video-qxl.spec new file mode 100644 index 0000000..04881bd --- /dev/null +++ b/xf86-video-qxl.spec @@ -0,0 +1,51 @@ +%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2) +Name: xf86-video-qxl +Version: 0.1.5 +Release: 1mamba +Summary: QXL video driver for X.org +Group: System/X11 +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://x.org +Source: https://www.x.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libudev-devel +## AUTOBUILDREQ-END +BuildRequires: xorg-server-devel >= 1.19.5 +BuildRequires: xorg-proto-devel +Provides: xorgdrvvideo +Requires: xorg-server >= %{xorg_ver} +Requires: xorg-server <= %{xorg_ver}.255 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +QXL video driver for X.org. + +%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/qxl_drv.la +%{_libdir}/xorg/modules/drivers/qxl_drv.so +%doc COPYING + +%changelog +* Mon Jun 11 2018 Silvan Calarco 0.1.5-1mamba +- package created using the webbuild interface