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.1 |
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 |
%if 0%{?gitdate} |
18 |
Source0: %{tarball}-%{gitdate}.tar.xz |
19 |
%else |
20 |
Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ati-%{version}.tar.bz2 |
21 |
%endif |
22 |
|
23 |
License: MIT |
24 |
|
25 |
BuildRequires: libdrm-devel >= 2.4.46 |
26 |
BuildRequires: x11-proto-devel >= 1.0.0 |
27 |
BuildRequires: x11-server-devel >= 1.0.1 |
28 |
BuildRequires: x11-util-macros >= 1.0.1 |
29 |
BuildRequires: GL-devel |
30 |
# (tmb) temp force gcc 5 |
31 |
BuildRequires: gcc >= 5.2.1 |
32 |
|
33 |
Requires: x11-server-common %(xserver-sdk-abi-requires videodrv) |
34 |
|
35 |
Conflicts: xorg-x11-server < 7.0 |
36 |
Conflicts: x11-driver-video-ati_6.7 |
37 |
Obsoletes: x11-driver-video-radeonhd |
38 |
Provides: x11-driver-video-radeonhd |
39 |
|
40 |
Recommends: x11-driver-video-r128 |
41 |
Recommends: x11-driver-video-mach64 |
42 |
Recommends: radeon-firmware |
43 |
|
44 |
%description |
45 |
x11-driver-video-ati is the X.org driver for ATI Technologies. |
46 |
|
47 |
%prep |
48 |
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{?!gitdate:%{version}} |
49 |
%autopatch -p1 |
50 |
sed -i '/USE_XAA, 1/d' configure.ac |
51 |
|
52 |
%build |
53 |
autoreconf -ifs |
54 |
%configure2_5x --enable-glamor |
55 |
%make |
56 |
|
57 |
%install |
58 |
%makeinstall_std |
59 |
|
60 |
%files |
61 |
%{_libdir}/xorg/modules/drivers/radeon_drv.la |
62 |
%{_libdir}/xorg/modules/drivers/radeon_drv.so |
63 |
%{_libdir}/xorg/modules/drivers/ati_drv.la |
64 |
%{_libdir}/xorg/modules/drivers/ati_drv.so |
65 |
%{_mandir}/man4/ati.* |
66 |
%{_mandir}/man4/radeon.* |