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