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