%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2) Name: xf86-video-fbturbo Version: 0.4.0 Release: 3mamba Summary: Video driver, primarily optimized for the devices powered by the Allwinner SoC Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/ssvb/xf86-video-fbturbo Source: https://github.com/ssvb/xf86-video-fbturbo.git/%{version}/xf86-video-fbturbo-%{version}.tar.bz2 Patch0: xf86-video-fbturbo-0.4.0-xorg-server-21.1.3.patch License: MIT ## AUTOBUILDREQ-BEGIN #ld-linux.so.3(GLIBC_2.4): .so link not found #ld-linux.so.3: .so link not found BuildRequires: glibc-devel ## AUTOBUILDREQ-END Requires: xorg-server >= %{xorg_ver} Requires: xorg-server <= %{xorg_ver}.255 %description Video driver, primarily optimized for the devices powered by the Allwinner SoC (A10, A13, A20). It can use some of the 2D/3D hardware acceleration features. %debug_package %prep %setup -q %patch0 -p1 -b .xorg-server-21.1.3 %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall install -D -m0644 xorg.conf %{buildroot}%{_datadir}/X11/xorg.conf.d/99-fbturbo.conf %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/xorg/modules/drivers/fbturbo_drv.la %{_libdir}/xorg/modules/drivers/fbturbo_drv.so %{_datadir}/X11/xorg.conf.d/99-fbturbo.conf %{_mandir}/man4/fbturbo.4* %doc COPYING %changelog * Wed Jun 22 2022 Silvan Calarco 0.4.0-3mamba - rebuilt with xorg-server 21.1.3 * Sat Oct 03 2020 Silvan Calarco 0.4.0-2mamba - install xorg configuration snipppet * Fri Oct 02 2020 Silvan Calarco 0.4.0-1mamba - package created using the webbuild interface