1 |
%define git_url git://anongit.freedesktop.org/xorg/driver/xf86-video-ati 6.12-branch |
2 |
|
3 |
Name: x11-driver-video-ati |
4 |
Version: 6.14.0 |
5 |
Release: %mkrel 2 |
6 |
Epoch: 1 |
7 |
Summary: X.org driver for ATI Technologies |
8 |
Group: System/X11 |
9 |
URL: http://xorg.freedesktop.org |
10 |
Source: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ati-%{version}.tar.bz2 |
11 |
Patch0: xf86-video-ati-UMS_DCE3.2-fix-segfault.patch |
12 |
Patch1: fix.diff |
13 |
|
14 |
License: MIT |
15 |
BuildRoot: %{_tmppath}/%{name}-root |
16 |
|
17 |
BuildRequires: libdrm-devel >= 2.0 |
18 |
BuildRequires: x11-proto-devel >= 1.0.0 |
19 |
BuildRequires: x11-server-devel >= 1.0.1 |
20 |
BuildRequires: x11-util-macros >= 1.0.1 |
21 |
BuildRequires: GL-devel |
22 |
|
23 |
Requires: x11-server-common %(xserver-sdk-abi-requires videodrv) |
24 |
|
25 |
Conflicts: xorg-x11-server < 7.0 |
26 |
Conflicts: x11-driver-video-ati_6.7 |
27 |
|
28 |
Suggests: x11-driver-video-r128 |
29 |
Suggests: x11-driver-video-mach64 |
30 |
|
31 |
%description |
32 |
x11-driver-video-ati is the X.org driver for ATI Technologies. |
33 |
|
34 |
Support for Evergreen acceleration. |
35 |
What's needed: |
36 |
- "options radeon modeset=1" in /etc/modprobe.conf |
37 |
- kernel >= 2.6.36 |
38 |
- kernel with CONFIG_DRM_RADEON_KMS=y (aka tmb kernels) |
39 |
Status: |
40 |
- KMS works |
41 |
|
42 |
|
43 |
%prep |
44 |
%setup -q -n xf86-video-ati-%{version} |
45 |
%apply_patches |
46 |
|
47 |
%build |
48 |
autoreconf -ifs |
49 |
%configure2_5x |
50 |
%make |
51 |
|
52 |
%install |
53 |
rm -rf %{buildroot} |
54 |
%makeinstall_std |
55 |
|
56 |
%clean |
57 |
rm -rf %{buildroot} |
58 |
|
59 |
%files |
60 |
%defattr(-,root,root) |
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 |
%{_libdir}/xorg/modules/multimedia/theatre200_drv.la |
66 |
%{_libdir}/xorg/modules/multimedia/theatre200_drv.so |
67 |
%{_libdir}/xorg/modules/multimedia/theatre_detect_drv.la |
68 |
%{_libdir}/xorg/modules/multimedia/theatre_detect_drv.so |
69 |
%{_libdir}/xorg/modules/multimedia/theatre_drv.la |
70 |
%{_libdir}/xorg/modules/multimedia/theatre_drv.so |
71 |
%{_mandir}/man4/ati.* |
72 |
%{_mandir}/man4/radeon.* |
73 |
|
74 |
|