1 |
%define tarball xf86-video-ati |
2 |
%define git_url git://anongit.freedesktop.org/xorg/driver/xf86-video-ati 6.12-branch |
3 |
%define gitdate 20150729 |
4 |
%define gitversion 5510cd6 |
5 |
|
6 |
%if 0%{?gitdate} |
7 |
%define gver .%{gitdate}git%{gitversion} |
8 |
%endif |
9 |
|
10 |
Name: x11-driver-video-ati |
11 |
Version: 7.6.0 |
12 |
Release: %mkrel 1%{?gver} |
13 |
Epoch: 1 |
14 |
Summary: X.org driver for ATI Technologies |
15 |
Group: System/X11 |
16 |
URL: http://xorg.freedesktop.org |
17 |
#Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ati-%{version}.tar.bz2 |
18 |
Source0: %{tarball}-%{gitdate}.tar.xz |
19 |
|
20 |
License: MIT |
21 |
|
22 |
BuildRequires: libdrm-devel >= 2.4.46 |
23 |
BuildRequires: x11-proto-devel >= 1.0.0 |
24 |
BuildRequires: x11-server-devel >= 1.0.1 |
25 |
BuildRequires: x11-util-macros >= 1.0.1 |
26 |
BuildRequires: GL-devel |
27 |
# (tmb) temp force gcc 5 |
28 |
BuildRequires: gcc >= 5.2.1 |
29 |
|
30 |
Requires: x11-server-common %(xserver-sdk-abi-requires videodrv) |
31 |
|
32 |
Conflicts: xorg-x11-server < 7.0 |
33 |
Conflicts: x11-driver-video-ati_6.7 |
34 |
Obsoletes: x11-driver-video-radeonhd |
35 |
Provides: x11-driver-video-radeonhd |
36 |
|
37 |
Recommends: x11-driver-video-r128 |
38 |
Recommends: x11-driver-video-mach64 |
39 |
Recommends: radeon-firmware |
40 |
|
41 |
%description |
42 |
x11-driver-video-ati is the X.org driver for ATI Technologies. |
43 |
|
44 |
%prep |
45 |
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{?!gitdate:%{version}} |
46 |
%autopatch -p1 |
47 |
sed -i '/USE_XAA, 1/d' configure.ac |
48 |
|
49 |
%build |
50 |
autoreconf -ifs |
51 |
%configure2_5x --enable-glamor |
52 |
%make |
53 |
|
54 |
%install |
55 |
%makeinstall_std |
56 |
|
57 |
%files |
58 |
%{_libdir}/xorg/modules/drivers/radeon_drv.la |
59 |
%{_libdir}/xorg/modules/drivers/radeon_drv.so |
60 |
%{_libdir}/xorg/modules/drivers/ati_drv.la |
61 |
%{_libdir}/xorg/modules/drivers/ati_drv.so |
62 |
%{_mandir}/man4/ati.* |
63 |
%{_mandir}/man4/radeon.* |