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