]>
Commit | Line | Data |
---|---|---|
debd4ae5 JB |
1 | # |
2 | # Conditional build: | |
9d11ec0b | 3 | %bcond_with glamor Glamor acceleration |
8b8bec46 | 4 | %bcond_without sna SandyBridge's New Acceleration (also for older generations) |
debd4ae5 | 5 | # |
cb65b7f7 | 6 | %define libdrm_ver 2.4.39 |
50a7f7ea | 7 | %define pixman_ver 0.28.0 |
8cc3fdbc JB |
8 | %if %{with sna} |
9 | %define xserver_ver 1.10 | |
10 | %else | |
11 | %define xserver_ver 1.6.3 | |
12 | %endif | |
ab8deb8e | 13 | Summary: X.org video driver for Intel integrated graphics chipsets |
f1afbe1d | 14 | Summary(pl.UTF-8): Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela |
ab8deb8e | 15 | Name: xorg-driver-video-intel |
3c3ff5ef | 16 | Version: 2.21.2 |
9e950602 | 17 | Release: 1 |
ab8deb8e AM |
18 | License: MIT |
19 | Group: X11/Applications | |
ec4acd45 | 20 | Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-intel-%{version}.tar.bz2 |
3c3ff5ef AM |
21 | # Source0-md5: 8711750cea7e89f967f192ba30546541 |
22 | Patch0: %{name}-libs.patch | |
ab8deb8e AM |
23 | URL: http://xorg.freedesktop.org/ |
24 | BuildRequires: Mesa-libGL-devel | |
45b9e5ac | 25 | #BuildRequires: autoconf >= 2.63 |
e7b96773 | 26 | #BuildRequires: automake >= 1:1.10.2-2 |
9d11ec0b | 27 | %{?with_glamor:BuildRequires: glamor-devel >= 0.3.1} |
aad2e449 | 28 | BuildRequires: libdrm-devel >= %{libdrm_ver} |
45b9e5ac | 29 | #BuildRequires: libtool >= 2:2.2 |
fa71d863 | 30 | BuildRequires: libxcb-devel >= 1.5 |
50a7f7ea | 31 | BuildRequires: pixman-devel >= %{pixman_ver} |
ab8deb8e | 32 | BuildRequires: pkgconfig >= 1:0.19 |
ec4acd45 | 33 | BuildRequires: rpmbuild(macros) >= 1.389 |
c5c8ae34 | 34 | BuildRequires: udev-devel |
704ba022 | 35 | BuildRequires: xcb-util-devel |
e5ba51ef | 36 | BuildRequires: xorg-lib-libX11-devel |
704ba022 | 37 | BuildRequires: xorg-lib-libXfixes-devel |
e5ba51ef | 38 | BuildRequires: xorg-lib-libXrender-devel |
ab8deb8e | 39 | BuildRequires: xorg-lib-libXvMC-devel |
704ba022 | 40 | BuildRequires: xorg-lib-libpciaccess-devel >= 0.10 |
751b46e8 | 41 | BuildRequires: xorg-proto-dri2proto-devel >= 2.6 |
ab8deb8e | 42 | BuildRequires: xorg-proto-fontsproto-devel |
c5336c45 | 43 | BuildRequires: xorg-proto-glproto-devel |
ab8deb8e AM |
44 | BuildRequires: xorg-proto-randrproto-devel |
45 | BuildRequires: xorg-proto-renderproto-devel | |
46 | BuildRequires: xorg-proto-videoproto-devel | |
6fa4b583 | 47 | BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1 |
ab8deb8e | 48 | BuildRequires: xorg-proto-xf86driproto-devel |
704ba022 | 49 | BuildRequires: xorg-proto-xproto-devel >= 7.0.13 |
c5c8ae34 | 50 | BuildRequires: xorg-util-util-macros >= 1.8 |
8cc3fdbc | 51 | BuildRequires: xorg-xserver-server-devel >= %{xserver_ver} |
6fa4b583 | 52 | %{?requires_xorg_xserver_videodrv} |
9d11ec0b | 53 | %{?with_glamor:Requires: glamor >= 0.3.1} |
aad2e449 | 54 | Requires: libdrm >= %{libdrm_ver} |
50a7f7ea | 55 | Requires: pixman >= %{pixman_ver} |
6fa4b583 | 56 | Requires: xorg-lib-libpciaccess >= 0.10 |
8cc3fdbc JB |
57 | Requires: xorg-xserver-libdri >= %{xserver_ver} |
58 | Requires: xorg-xserver-libglx >= %{xserver_ver} | |
59 | Requires: xorg-xserver-server >= %{xserver_ver} | |
fe99b7c9 | 60 | Provides: xorg-driver-video |
223e62e6 | 61 | Provides: xorg-driver-video-i810 |
74b549e7 | 62 | Obsoletes: X11-driver-i810 < 1:7.0.0 |
74b549e7 | 63 | Obsoletes: XFree86-driver-i810 < 1:7.0.0 |
704ba022 | 64 | Obsoletes: XFree86-i810 |
4150262b | 65 | Obsoletes: xorg-driver-video-i810 < 1.7.2 |
ebe82ea4 | 66 | Conflicts: vbetool |
ab8deb8e AM |
67 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
68 | ||
69 | %description | |
6fa4b583 JB |
70 | X.org video driver for Intel integrated graphics chipsets. It |
71 | supports: | |
72 | - i810, i810-DC100, i810e, i815, 830M, 845G, 852GM, 855GM, 865G, 915G, | |
73 | 915GM, 945G, 945GM, 965G, 965Q, 946GZ, 965GM, 945GME, G33, Q33, G35, | |
74 | Q35, GM45, G45, Q45, G43, G41 chipsets, | |
75 | - Pineview-M in Atom N400 series, | |
76 | - Pineview-D in Atom D400/D500 series. | |
ab8deb8e | 77 | |
331efa6b AM |
78 | Requires Kernel Mode Setting (KMS) to be active. |
79 | ||
3db5f01a JR |
80 | %description -l pl.UTF-8 |
81 | Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela. | |
6fa4b583 JB |
82 | Obsługuje: |
83 | - układy i810, i810-DC100, i810e, i815, 830M, 845G, 852GM, 855GM, | |
fe99b7c9 ER |
84 | 865G, 915G, 915GM, 945G, 945GM, 965G, 965Q, 946GZ, 965GM, 945GME, G33, |
85 | Q33, G35, Q35, GM45, G45, Q45, G43, G41, | |
6fa4b583 JB |
86 | - Pineview-M w procesorach Atom z serii N400, |
87 | - Pineview-D w procesorach Atom z serii D400/D500. | |
ab8deb8e | 88 | |
331efa6b AM |
89 | Wymaga aktywnego Kernel Mode Setting (KMS). |
90 | ||
ab8deb8e | 91 | %prep |
daa61ec4 | 92 | %setup -q -n xf86-video-intel-%{version} |
3c3ff5ef | 93 | %patch0 -p1 |
ab8deb8e AM |
94 | |
95 | %build | |
ab8deb8e | 96 | %configure \ |
62a95c43 | 97 | --disable-silent-rules \ |
9d11ec0b | 98 | %{?with_glamor:--enable-glamor} \ |
8b8bec46 AM |
99 | --with-default-accel=%{?with_sna:sna}%{!?with_sna:uxa} \ |
100 | --enable-uxa \ | |
debd4ae5 | 101 | --enable-sna%{!?with_sna:=no} |
ab8deb8e AM |
102 | |
103 | %{__make} | |
104 | ||
105 | %install | |
106 | rm -rf $RPM_BUILD_ROOT | |
107 | ||
108 | %{__make} install \ | |
109 | DESTDIR=$RPM_BUILD_ROOT | |
110 | ||
751b46e8 | 111 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la \ |
6054b6cc | 112 | $RPM_BUILD_ROOT%{_libdir}/lib*XvMC.{la,so} |
ab8deb8e AM |
113 | |
114 | %clean | |
115 | rm -rf $RPM_BUILD_ROOT | |
116 | ||
117 | %post -p /sbin/ldconfig | |
118 | %postun -p /sbin/ldconfig | |
119 | ||
120 | %files | |
121 | %defattr(644,root,root,755) | |
6fa4b583 | 122 | %doc AUTHORS COPYING ChangeLog NEWS README |
39304de3 | 123 | %attr(755,root,root) %{_libdir}/libI810XvMC.so.*.*.* |
704ba022 | 124 | %attr(755,root,root) %ghost %{_libdir}/libI810XvMC.so.1 |
39304de3 | 125 | %attr(755,root,root) %{_libdir}/libIntelXvMC.so.*.*.* |
704ba022 | 126 | %attr(755,root,root) %ghost %{_libdir}/libIntelXvMC.so.1 |
6fa4b583 | 127 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/intel_drv.so |
d35a216c | 128 | %{_mandir}/man4/intel.4* |