%global moduledir %(pkg-config xorg-server --variable=moduledir ) %undefine _hardened_build Name: xorg-x11-drv-ati Version: 19.0.1 Release: 2 Summary: Xorg X11 ati video driver License: MIT URL: https://www.x.org Source0: https://www.x.org/pub/individual/driver/xf86-video-ati-%{version}.tar.bz2 Patch1: 0001-dri3-Always-flush-glamor-before-sharing-pixmap-stora.patch BuildRequires: pkgconfig(gbm) >= 10.6 libdrm-devel kernel-headers BuildRequires: automake autoconf libtool pkgconfig xorg-x11-util-macros BuildRequires: libudev-devel xorg-x11-glamor-devel xorg-x11-server-devel Requires: Xorg %(xserver-sdk-abi-requires ansic) Xorg %(xserver-sdk-abi-requires videodrv) libdrm >= 2.4.36-1 %description X.Org X11 ati video driver. %package_help %prep %autosetup -n xf86-video-ati-%{version} -p1 %build autoreconf -iv %configure --enable-glamor %make_build %install %make_install %delete_la %files %defattr(-,root,root) %license COPYING %{moduledir}/drivers/ati_drv.so %{moduledir}/drivers/radeon_drv.so %{_datadir}/X11/xorg.conf.d/10-radeon.conf %files help %defattr(-,root,root) %doc README.md ChangeLog %{_mandir}/man4/*.4* %changelog * Sat Oct 26 2019 openEuler Buildteam - 19.0.1-2 - Type:enhancement - Id:NA - SUG:NA - DESC:modify the location of COPYING * Fri Oct 11 2019 openEuler Buildteam - 19.0.1-1 - Package init