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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1379142 - (show annotations) (download)
Wed Mar 20 07:46:05 2019 UTC (5 years, 1 month ago) by tv
File size: 1781 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 3
7 %if 0%{?gitdate}
8 %define gver .%{gitdate}git%{gitversion}
9 %endif
10
11 Name: x11-driver-video-ati
12 Version: 19.0.1
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 Patch10: radeon-6.12.2-lvds-default-modes.patch
28 Patch13: fix-default-modes.patch
29
30 License: MIT
31
32 BuildRequires: pkgconfig(libdrm) >= 2.4.46
33 BuildRequires: x11-proto-devel >= 1.0.0
34 BuildRequires: pkgconfig(xorg-server) >= 1.19.0
35 BuildRequires: x11-util-macros >= 1.0.1
36 BuildRequires: GL-devel
37 BuildRequires: pkgconfig(libudev)
38 BuildRequires: pkgconfig(gbm) >= 10.6
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