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