]> git.pld-linux.org Git - packages/xorg-driver-video-intel.git/blob - xorg-driver-video-intel.spec
- make sna bcond
[packages/xorg-driver-video-intel.git] / xorg-driver-video-intel.spec
1 %bcond_without  sna     SandyBridge's New Acceleration (also for older generations)
2 %define libdrm_ver      2.4.27
3 Summary:        X.org video driver for Intel integrated graphics chipsets
4 Summary(pl.UTF-8):      Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela
5 Name:           xorg-driver-video-intel
6 Version:        2.16.902
7 Release:        1
8 License:        MIT
9 Group:          X11/Applications
10 Source0:        http://xorg.freedesktop.org/releases/individual/driver/xf86-video-intel-%{version}.tar.bz2
11 # Source0-md5:  3aa80da91f8719bdec07a7b1fe317283
12 URL:            http://xorg.freedesktop.org/
13 BuildRequires:  Mesa-libGL-devel
14 #BuildRequires: autoconf >= 2.63
15 #BuildRequires: automake >= 1:1.10.2-2
16 BuildRequires:  libdrm-devel >= %{libdrm_ver}
17 #BuildRequires: libtool >= 2:2.2
18 BuildRequires:  libxcb-devel >= 1.5
19 BuildRequires:  pixman-devel >= 0.24.0
20 BuildRequires:  pkgconfig >= 1:0.19
21 BuildRequires:  rpmbuild(macros) >= 1.389
22 BuildRequires:  udev-devel
23 BuildRequires:  xcb-util-devel
24 BuildRequires:  xorg-lib-libXfixes-devel
25 BuildRequires:  xorg-lib-libXvMC-devel
26 BuildRequires:  xorg-lib-libpciaccess-devel >= 0.10
27 BuildRequires:  xorg-proto-dri2proto-devel >= 2.6
28 BuildRequires:  xorg-proto-fontsproto-devel
29 BuildRequires:  xorg-proto-glproto-devel
30 BuildRequires:  xorg-proto-randrproto-devel
31 BuildRequires:  xorg-proto-renderproto-devel
32 BuildRequires:  xorg-proto-videoproto-devel
33 BuildRequires:  xorg-proto-xextproto-devel >= 7.0.99.1
34 BuildRequires:  xorg-proto-xf86driproto-devel
35 BuildRequires:  xorg-proto-xproto-devel >= 7.0.13
36 BuildRequires:  xorg-util-util-macros >= 1.8
37 BuildRequires:  xorg-xserver-server-devel >= 1.6.3
38 %{?requires_xorg_xserver_videodrv}
39 Requires:       libdrm >= %{libdrm_ver}
40 Requires:       xorg-lib-libpciaccess >= 0.10
41 Requires:       xorg-xserver-libdri >= 1.6.3
42 Requires:       xorg-xserver-libglx >= 1.6.3
43 Requires:       xorg-xserver-server >= 1.6.3
44 Provides:       xorg-driver-video
45 Provides:       xorg-driver-video-i810
46 Obsoletes:      X11-driver-i810 < 1:7.0.0
47 Obsoletes:      XFree86-driver-i810 < 1:7.0.0
48 Obsoletes:      XFree86-i810
49 Obsoletes:      xorg-driver-video-i810 < 1.7.2
50 Conflicts:      vbetool
51 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52
53 %description
54 X.org video driver for Intel integrated graphics chipsets. It
55 supports:
56 - i810, i810-DC100, i810e, i815, 830M, 845G, 852GM, 855GM, 865G, 915G,
57   915GM, 945G, 945GM, 965G, 965Q, 946GZ, 965GM, 945GME, G33, Q33, G35,
58   Q35, GM45, G45, Q45, G43, G41 chipsets,
59 - Pineview-M in Atom N400 series,
60 - Pineview-D in Atom D400/D500 series.
61
62 Requires Kernel Mode Setting (KMS) to be active.
63
64 %description -l pl.UTF-8
65 Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela.
66 Obsługuje:
67 - układy i810, i810-DC100, i810e, i815, 830M, 845G, 852GM, 855GM,
68   865G, 915G, 915GM, 945G, 945GM, 965G, 965Q, 946GZ, 965GM, 945GME, G33,
69   Q33, G35, Q35, GM45, G45, Q45, G43, G41,
70 - Pineview-M w procesorach Atom z serii N400,
71 - Pineview-D w procesorach Atom z serii D400/D500.
72
73 Wymaga aktywnego Kernel Mode Setting (KMS).
74
75 %prep
76 %setup -q -n xf86-video-intel-%{version}
77
78 %build
79 %configure \
80         --disable-silent-rules \
81         --%{?with_sna:en}%{!?with_sna:dis}able-sna
82
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la \
92         $RPM_BUILD_ROOT%{_libdir}/lib*XvMC.{la,so}
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files
101 %defattr(644,root,root,755)
102 %doc AUTHORS COPYING ChangeLog NEWS README
103 %attr(755,root,root) %{_libdir}/libI810XvMC.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libI810XvMC.so.1
105 %attr(755,root,root) %{_libdir}/libIntelXvMC.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libIntelXvMC.so.1
107 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/intel_drv.so
108 %{_mandir}/man4/intel.4*
This page took 0.034481 seconds and 4 git commands to generate.