12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- %global tarball xf86-video-amdgpu
- %global moduledir %(pkg-config xorg-server --variable=moduledir )
- %global driverdir %{moduledir}/drivers
- # Xorg cannot load hardened build
- %undefine _hardened_build
- Name: xorg-x11-drv-amdgpu
- Version: 1.4.0
- Release: 3%{?_dist_release}
- Summary: AMD GPU video driver
- Summary(ja): xorg X11 amdgpu ビデオドライバ
- Group: User Interface/X Hardware Support
- License: MIT
- URL: https://www.x.org/wiki
- Source: https://www.x.org/archive/individual/driver/%{tarball}-%{version}.tar.bz2
- ExcludeArch: s390 s390x
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: python
- BuildRequires: xorg-x11-server-sdk >= 1.6
- BuildRequires: mesa-libGL-devel
- BuildRequires: mesa-libgbm-devel
- BuildRequires: libdrm-devel >= 2.4.72
- BuildRequires: kernel-headers
- BuildRequires: automake autoconf libtool pkgconfig
- BuildRequires: xorg-x11-util-macros
- BuildRequires: eudev-libudev-devel
- Requires: hwdata
- Requires: xorg-x11-server-Xorg
- Requires: libdrm >= 2.4.72
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- X.Org X11 AMDGPU driver
- %prep
- %autosetup -n %{tarball}-%{version}
- %build
- #autoreconf -fiv
- %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
- * Fri Feb 16 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-3
- - rebuild with xserver-1.19.6
- * Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-2
- - add Distri/Vendor tags
- * Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-1
- - Initial build for VineLinux (Vine7)
- - This package is based on xorg-x11-drv-amdgpu-1.4.0-1.fc28
- Thanks to fc team.
|