]>
Commit | Line | Data |
---|---|---|
fa71d863 | 1 | %bcond_with xvmc |
ea405518 | 2 | %define libdrm_ver 2.4.21 |
ab8deb8e | 3 | Summary: X.org video driver for Intel integrated graphics chipsets |
f1afbe1d | 4 | Summary(pl.UTF-8): Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela |
ab8deb8e | 5 | Name: xorg-driver-video-intel |
ea405518 | 6 | Version: 2.12.0 |
4d989d42 | 7 | Release: 2 |
ab8deb8e AM |
8 | License: MIT |
9 | Group: X11/Applications | |
ec4acd45 | 10 | Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-intel-%{version}.tar.bz2 |
ea405518 | 11 | # Source0-md5: 8314def847dcdc4f2970e2d193054f96 |
ab8deb8e AM |
12 | URL: http://xorg.freedesktop.org/ |
13 | BuildRequires: Mesa-libGL-devel | |
a89c903a | 14 | #BuildRequires: autoconf >= 2.57 |
15 | #BuildRequires: automake >= 1.10.2-2 | |
aad2e449 | 16 | BuildRequires: libdrm-devel >= %{libdrm_ver} |
a89c903a | 17 | #BuildRequires: libtool |
fa71d863 | 18 | BuildRequires: libxcb-devel >= 1.5 |
ab8deb8e | 19 | BuildRequires: pkgconfig >= 1:0.19 |
ec4acd45 | 20 | BuildRequires: rpmbuild(macros) >= 1.389 |
704ba022 | 21 | BuildRequires: xcb-util-devel |
22 | BuildRequires: xorg-lib-libXfixes-devel | |
ab8deb8e | 23 | BuildRequires: xorg-lib-libXvMC-devel |
704ba022 | 24 | BuildRequires: xorg-lib-libpciaccess-devel >= 0.10 |
ab8deb8e | 25 | BuildRequires: xorg-proto-fontsproto-devel |
c5336c45 | 26 | BuildRequires: xorg-proto-glproto-devel |
ab8deb8e AM |
27 | BuildRequires: xorg-proto-randrproto-devel |
28 | BuildRequires: xorg-proto-renderproto-devel | |
29 | BuildRequires: xorg-proto-videoproto-devel | |
8c49eb87 | 30 | BuildRequires: xorg-proto-xextproto-devel >= 7.0.3 |
ab8deb8e | 31 | BuildRequires: xorg-proto-xf86driproto-devel |
704ba022 | 32 | BuildRequires: xorg-proto-xproto-devel >= 7.0.13 |
39304de3 | 33 | BuildRequires: xorg-util-util-macros >= 1.1.3 |
c585c045 | 34 | BuildRequires: xorg-xserver-server-devel >= 1.6.3 |
d3e36b88 | 35 | %requires_xorg_xserver_videodrv |
aad2e449 | 36 | Requires: libdrm >= %{libdrm_ver} |
38236379 AM |
37 | Requires: xorg-xserver-libdri >= 1.6.3 |
38 | Requires: xorg-xserver-libglx >= 1.6.3 | |
c585c045 | 39 | Requires: xorg-xserver-server >= 1.6.3 |
223e62e6 | 40 | Provides: xorg-driver-video-i810 |
74b549e7 | 41 | Obsoletes: X11-driver-i810 < 1:7.0.0 |
74b549e7 | 42 | Obsoletes: XFree86-driver-i810 < 1:7.0.0 |
704ba022 | 43 | Obsoletes: XFree86-i810 |
578953c4 | 44 | Obsoletes: xorg-driver-video-i810 |
ab8deb8e AM |
45 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
46 | ||
47 | %description | |
48 | X.org video driver for Intel integrated graphics chipsets. It supports | |
578953c4 | 49 | the i810, i810-DC100, i810e, i815, 830M, 845G, 852GM, 855GM, 865G, |
ad7b5cab JB |
50 | 915G, 915GM, 945G, 945GM, 965G, 965Q, 946GZ, 965GM, 945GME, G33, Q33 |
51 | and Q35 chipsets. | |
ab8deb8e | 52 | |
331efa6b AM |
53 | Requires Kernel Mode Setting (KMS) to be active. |
54 | ||
3db5f01a JR |
55 | %description -l pl.UTF-8 |
56 | Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela. | |
578953c4 | 57 | Obsługuje układy i810, i810-DC100, i810e, i815, 830M, 845G, 852GM, |
ad7b5cab JB |
58 | 855GM, 865G, 915G, 915GM, 945G, 945GM, 965G, 965Q, 946GZ, 965GM, |
59 | 945GME, G33, Q33 i Q35. | |
ab8deb8e | 60 | |
331efa6b AM |
61 | Wymaga aktywnego Kernel Mode Setting (KMS). |
62 | ||
ab8deb8e | 63 | %prep |
daa61ec4 | 64 | %setup -q -n xf86-video-intel-%{version} |
ab8deb8e AM |
65 | |
66 | %build | |
ab8deb8e | 67 | %configure \ |
0a3b3e36 | 68 | --enable-xvmc \ |
ab8deb8e AM |
69 | --disable-static |
70 | ||
71 | %{__make} | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
e4b418f8 | 79 | rm $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la \ |
6054b6cc | 80 | $RPM_BUILD_ROOT%{_libdir}/lib*XvMC.{la,so} |
ab8deb8e AM |
81 | |
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %post -p /sbin/ldconfig | |
86 | %postun -p /sbin/ldconfig | |
87 | ||
88 | %files | |
89 | %defattr(644,root,root,755) | |
90 | %doc COPYING README | |
d35a216c | 91 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/intel_drv.so |
39304de3 | 92 | %attr(755,root,root) %{_libdir}/libI810XvMC.so.*.*.* |
704ba022 | 93 | %attr(755,root,root) %ghost %{_libdir}/libI810XvMC.so.1 |
39304de3 | 94 | %attr(755,root,root) %{_libdir}/libIntelXvMC.so.*.*.* |
704ba022 | 95 | %attr(755,root,root) %ghost %{_libdir}/libIntelXvMC.so.1 |
d35a216c | 96 | %{_mandir}/man4/intel.4* |