1 Summary: X.org video driver for Matrox video adapters
2 Summary(pl.UTF-8): Sterownik obrazu X.org dla kart graficznych Matrox
3 Name: xorg-driver-video-mga
4 # NOTE: 1.9.100 is older than 1.6.2
9 Group: X11/Applications
10 Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-video-mga-%{version}.tar.bz2
11 # Source0-md5: 3ee2549247e01de3e7bce52c27483118
12 URL: https://xorg.freedesktop.org/
13 BuildRequires: Mesa-libGL-devel
14 BuildRequires: autoconf >= 2.60
15 BuildRequires: automake
16 BuildRequires: libdrm-devel >= 2.0
17 BuildRequires: libtool
18 BuildRequires: pkgconfig >= 1:0.19
19 BuildRequires: rpmbuild(macros) >= 1.389
20 # checked, but not used
21 BuildRequires: xorg-lib-libpciaccess-devel >= 0.8.0
22 BuildRequires: xorg-proto-fontsproto-devel
23 BuildRequires: xorg-proto-glproto-devel
24 BuildRequires: xorg-proto-randrproto-devel
25 BuildRequires: xorg-proto-renderproto-devel
26 BuildRequires: xorg-proto-videoproto-devel
27 BuildRequires: xorg-proto-xextproto-devel
28 BuildRequires: xorg-proto-xf86driproto-devel
29 BuildRequires: xorg-util-util-macros >= 1.8
30 BuildRequires: xorg-xserver-server-devel >= 1.3.0
31 %{?requires_xorg_xserver_videodrv}
32 Requires: xorg-xserver-libdri >= 1.3.0
33 Requires: xorg-xserver-libglx >= 1.3.0
34 Requires: xorg-xserver-server >= 1.3.0
35 Provides: xorg-driver-video
36 Obsoletes: X11-driver-mga < 1:7.0.0
37 Obsoletes: XFree86-driver-mga < 1:7.0.0
38 Obsoletes: XFree86-mga
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 X.org video driver for Matrox video adapters. It supports PCI and AGP
43 video cards based on the following Matrox chips:
45 - MGA1064SG (Mystique),
46 - MGA2164W (Millennium II),
47 - G100 (Productiva G100),
48 - G200 (Millennium G200 and Mystique G200),
49 - G400 (Millenium G400, Millenium G400 MAX, Millenium G450 and Marvel
51 - G550 (Milenium G550 and Millenium G500 Dual DVI).
53 %description -l pl.UTF-8
54 Sterownik obrazu X.org dla kart graficznych Matrox. Obsługuje karty
55 PCI i AGP oparte na następujących układach Matroksa:
57 - MGA1064SG (Mystique),
58 - MGA2164W (Millennium II),
59 - G100 (Productiva G100),
60 - G200 (Millennium G200 i Mystique G200),
61 - G400 (Millenium G400, Millenium G400 MAX, Millenium G450 i Marvel
63 - G550 (Milenium G550 i Millenium G500 Dual DVI).
66 %setup -q -n xf86-video-mga-%{version}
79 rm -rf $RPM_BUILD_ROOT
82 DESTDIR=$RPM_BUILD_ROOT
84 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
87 rm -rf $RPM_BUILD_ROOT
90 %defattr(644,root,root,755)
91 %doc COPYING ChangeLog README
92 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/mga_drv.so
93 %{_mandir}/man4/mga.4*