%define _disable_ld_no_undefined 1 Summary: X.org driver for Tseng Cards Name: x11-driver-video-tseng Version: 1.2.5 Release: 21 Group: System/X11 License: MIT Url: http://xorg.freedesktop.org Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-tseng-%{version}.tar.bz2 Patch0: 0001-Remove-mibstore.h.patch Patch1: https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/x11/xf86-video-tseng/patches/patch-src_tseng__driver.c BuildRequires: pkgconfig(xorg-macros) BuildRequires: pkgconfig(xproto) BuildRequires: pkgconfig(xorg-server) Requires: x11-server-common %(xserver-sdk-abi-requires videodrv) %description x11-driver-video-tseng is the X.org driver for Tseng Cards. %prep %setup -qn xf86-video-tseng-%{version} %autopatch -p1 # fix build on aarch64 autoreconf -vfi %build %configure \ --x-includes=%{_includedir} \ --x-libraries=%{_libdir} %make_build %install %make_install %files %doc COPYING %{_libdir}/xorg/modules/drivers/tseng_drv.so %{_mandir}/man4/tseng.*