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 |
1053121 |
%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 |
1053121 |
Version: 7.7.1 |
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 |
tmb |
1038929 |
# upstream git: |
25 |
joequant |
1018227 |
|
26 |
tv |
1053124 |
# Fedora patches: |
27 |
|
|
Patch1: fix-dri-removal.patch |
28 |
|
|
Patch10: radeon-6.12.2-lvds-default-modes.patch |
29 |
|
|
Patch13: fix-default-modes.patch |
30 |
tmb |
1038929 |
|
31 |
blino |
35248 |
License: MIT |
32 |
|
|
|
33 |
tmb |
473452 |
BuildRequires: libdrm-devel >= 2.4.46 |
34 |
blino |
35248 |
BuildRequires: x11-proto-devel >= 1.0.0 |
35 |
|
|
BuildRequires: x11-server-devel >= 1.0.1 |
36 |
|
|
BuildRequires: x11-util-macros >= 1.0.1 |
37 |
|
|
BuildRequires: GL-devel |
38 |
tv |
1053122 |
BuildRequires: libudev-devel |
39 |
blino |
35248 |
|
40 |
|
|
Requires: x11-server-common %(xserver-sdk-abi-requires videodrv) |
41 |
|
|
|
42 |
|
|
Conflicts: xorg-x11-server < 7.0 |
43 |
|
|
Conflicts: x11-driver-video-ati_6.7 |
44 |
tv |
291054 |
Obsoletes: x11-driver-video-radeonhd |
45 |
|
|
Provides: x11-driver-video-radeonhd |
46 |
blino |
35248 |
|
47 |
tv |
676292 |
Recommends: x11-driver-video-r128 |
48 |
|
|
Recommends: x11-driver-video-mach64 |
49 |
|
|
Recommends: radeon-firmware |
50 |
blino |
35248 |
|
51 |
joequant |
1018227 |
|
52 |
blino |
35248 |
%description |
53 |
|
|
x11-driver-video-ati is the X.org driver for ATI Technologies. |
54 |
|
|
|
55 |
|
|
%prep |
56 |
tv |
901519 |
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{?!gitdate:%{version}} |
57 |
ovitters |
878672 |
%autopatch -p1 |
58 |
tmb |
289663 |
sed -i '/USE_XAA, 1/d' configure.ac |
59 |
blino |
35248 |
|
60 |
|
|
%build |
61 |
|
|
autoreconf -ifs |
62 |
joequant |
1018227 |
%configure2_5x --disable-static --enable-glamor |
63 |
blino |
35248 |
%make |
64 |
|
|
|
65 |
|
|
%install |
66 |
|
|
%makeinstall_std |
67 |
joequant |
1018227 |
find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- |
68 |
blino |
35248 |
|
69 |
|
|
%files |
70 |
|
|
%{_libdir}/xorg/modules/drivers/radeon_drv.so |
71 |
|
|
%{_libdir}/xorg/modules/drivers/ati_drv.so |
72 |
|
|
%{_mandir}/man4/ati.* |
73 |
|
|
%{_mandir}/man4/radeon.* |