/[packages]/updates/6/x11-driver-video-ati/current/SPECS/x11-driver-video-ati.spec
ViewVC logotype

Contents of /updates/6/x11-driver-video-ati/current/SPECS/x11-driver-video-ati.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1018227 - (show annotations) (download)
Tue May 24 23:21:39 2016 UTC (7 years, 10 months ago) by joequant
Original Path: cauldron/x11-driver-video-ati/current/SPECS/x11-driver-video-ati.spec
File size: 1782 byte(s)
sync with fedora patches

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

  ViewVC Help
Powered by ViewVC 1.1.30