xorg-x11-drv-amdgpu-vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. %global tarball xf86-video-amdgpu
  2. %global moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %global driverdir %{moduledir}/drivers
  4. # Xorg cannot load hardened build
  5. %undefine _hardened_build
  6. Name: xorg-x11-drv-amdgpu
  7. Version: 1.4.0
  8. Release: 3%{?_dist_release}
  9. Summary: AMD GPU video driver
  10. Summary(ja): xorg X11 amdgpu ビデオドライバ
  11. Group: User Interface/X Hardware Support
  12. License: MIT
  13. URL: https://www.x.org/wiki
  14. Source: https://www.x.org/archive/individual/driver/%{tarball}-%{version}.tar.bz2
  15. ExcludeArch: s390 s390x
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  17. BuildRequires: python
  18. BuildRequires: xorg-x11-server-sdk >= 1.6
  19. BuildRequires: mesa-libGL-devel
  20. BuildRequires: mesa-libgbm-devel
  21. BuildRequires: libdrm-devel >= 2.4.72
  22. BuildRequires: kernel-headers
  23. BuildRequires: automake autoconf libtool pkgconfig
  24. BuildRequires: xorg-x11-util-macros
  25. BuildRequires: eudev-libudev-devel
  26. Requires: hwdata
  27. Requires: xorg-x11-server-Xorg
  28. Requires: libdrm >= 2.4.72
  29. Vendor: Project Vine
  30. Distribution: Vine Linux
  31. %description
  32. X.Org X11 AMDGPU driver
  33. %prep
  34. %autosetup -n %{tarball}-%{version}
  35. %build
  36. #autoreconf -fiv
  37. %configure --disable-static --enable-glamor
  38. %make_build
  39. %install
  40. %make_install
  41. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %{driverdir}/amdgpu_drv.so
  46. %{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
  47. %{_mandir}/man4/amdgpu.4*
  48. %changelog
  49. * Fri Feb 16 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-3
  50. - rebuild with xserver-1.19.6
  51. * Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-2
  52. - add Distri/Vendor tags
  53. * Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-1
  54. - Initial build for VineLinux (Vine7)
  55. - This package is based on xorg-x11-drv-amdgpu-1.4.0-1.fc28
  56. Thanks to fc team.