/[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 1093268 - (show annotations) (download)
Fri Mar 17 00:12:23 2017 UTC (7 years, 1 month ago) by tv
Original Path: cauldron/x11-driver-video-ati/current/SPECS/x11-driver-video-ati.spec
File size: 1756 byte(s)
new release
1 %define tarball xf86-video-ati
2 %define git_url git://anongit.freedesktop.org/xorg/driver/xf86-video-ati 6.12-branch
3 #global gitdate 20160928
4 #global gitversion 3fc839ff
5
6 %define rel 1
7 %if 0%{?gitdate}
8 %define gver .%{gitdate}git%{gitversion}
9 %endif
10
11 Name: x11-driver-video-ati
12 Version: 7.9.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 # upstream git:
25
26 # 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
31 License: MIT
32
33 BuildRequires: libdrm-devel >= 2.4.46
34 BuildRequires: x11-proto-devel >= 1.0.0
35 BuildRequires: x11-server-devel >= 1.19.0
36 BuildRequires: x11-util-macros >= 1.0.1
37 BuildRequires: GL-devel
38 BuildRequires: libudev-devel
39
40 Requires: x11-server-common %(xserver-sdk-abi-requires videodrv)
41
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 %make_install
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.*
72 %{_datadir}/X11/xorg.conf.d/10-radeon.conf

  ViewVC Help
Powered by ViewVC 1.1.30