%global tarball xf86-video-amdgpu %global moduledir %(pkg-config xorg-server --variable=moduledir ) %global driverdir %{moduledir}/drivers %global gittag aa57268 # Xorg cannot load hardened build %undefine _hardened_build Name: xorg-x11-drv-amdgpu Version: 18.1.0 Release: 1%{?dist} Summary: AMD GPU video driver Group: User Interface/X Hardware Support License: MIT URL: https://www.x.org/wiki Source: https://github.com/freedesktop/xorg-xf86-video-amdgpu/archive/xf86-video-amdgpu-%{version}.tar.gz#/%{name}-%{version}.tar.gz #Source: xf86-video-amdgpu-git-%{gittag}.tar.xz ExcludeArch: s390 s390x BuildRequires: python2 BuildRequires: xorg-x11-server-devel BuildRequires: mesa-libGL-devel BuildRequires: mesa-libgbm-devel BuildRequires: libdrm-devel BuildRequires: kernel-headers BuildRequires: automake autoconf libtool pkgconfig BuildRequires: xorg-x11-util-macros BuildRequires: libudev-devel BuildRequires: xorg-x11-glamor-devel #Requires: Xorg %{xserver-sdk-abi-requires ansic} #Requires: Xorg %{xserver-sdk-abi-requires videodrv} Requires: libdrm >= 2.4.72 %description X.Org X11 AMDGPU driver %prep %setup -n xorg-xf86-video-amdgpu-xf86-video-amdgpu-%{version} %build #autoreconf -fiv ./autogen.sh %configure --disable-static --enable-glamor %make_build %install %make_install find %{buildroot} -name '*.la' -exec rm -f {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{driverdir}/amdgpu_drv.so %{_datadir}/X11/xorg.conf.d/10-amdgpu.conf %{_mandir}/man4/amdgpu.4* %changelog * Thu Mar 16 2017 poma 1.3.0-1 - Update to 1.3.0 * Mon Nov 21 2016 Christopher Atherton 1.2.0-1 - Update to latest release * Thu Sep 29 2016 Hans de Goede 1.1.2-3 - Update to latest git master for use with xserver-1.19 - Rebuild against xserver-1.19 * Sat Sep 24 2016 Christopher Atherton 1.1.2-2 - Use upstream provided xorg.conf file * Sat Sep 17 2016 Christopher Atherton 1.1.2-1 - Update to latest release * Thu Sep 15 2016 Christopher Atherton 1.1.1-1 - Update to latest release * Sun Sep 04 2016 Christopher Atherton 1.1.0-6 - Add BuildRequires on mesa-libgbm-devel * Sun Sep 04 2016 Christopher Atherton 1.1.0-5 - Disable hardened build * Sun Sep 04 2016 Christopher Atherton 1.1.0-4 - Use buildroot macro not RPM_BUILD_ROOT variable - Replace /usr/share with _datadir - Enable hardened build * Sat Sep 03 2016 Christopher Atherton 1.1.0-3 - Require libdrm equal to or later than 2.4.63 * Sat Sep 03 2016 Christopher Atherton 1.1.0-2 - Fixed ExcludeArch typo - Add URL for source - Use --force with autoreconf - Use make_build macro - Removed explicit libdrm dependency * Sat Sep 03 2016 Christopher Atherton 1.1.0-1 - Initial spec