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
8 Group: X11/Applications
9 Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-video-mga-%{version}.tar.xz
10 # Source0-md5: 6eeb624edc4105fcafe73e837c22cdee
11 URL: https://xorg.freedesktop.org/
12 BuildRequires: autoconf >= 2.60
13 BuildRequires: automake
14 BuildRequires: libdrm-devel >= 2.0
15 BuildRequires: libtool
16 BuildRequires: pkgconfig >= 1:0.19
17 BuildRequires: rpmbuild(macros) >= 1.389
18 BuildRequires: tar >= 1:1.22
19 # checked, but not used
20 BuildRequires: xorg-lib-libpciaccess-devel >= 0.8.0
21 BuildRequires: xorg-proto-fontsproto-devel
22 BuildRequires: xorg-proto-randrproto-devel
23 BuildRequires: xorg-proto-renderproto-devel
24 BuildRequires: xorg-proto-videoproto-devel
25 BuildRequires: xorg-proto-xextproto-devel
26 BuildRequires: xorg-proto-xf86driproto-devel
27 BuildRequires: xorg-proto-xproto-devel
28 BuildRequires: xorg-util-util-macros >= 1.8
29 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 < 4
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.md
92 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/mga_drv.so
93 %{_mandir}/man4/mga.4*