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
|
Summary: X.org video driver for VIA chipsets with onboard unichrome graphics
Summary(pl): Sterownik obrazu X.org dla układów zintegrowanych VIA
Name: xorg-driver-video-via
Version: 0.1.31.1
Release: 0.1
License: MIT
Group: X11/Applications
Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC1/driver/xf86-video-via-%{version}.tar.bz2
# Source0-md5: 99cac6b163b0010b75e976908df80407
URL: http://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: libdrm-devel >= 1.0.4-1.20051022
BuildRequires: libtool
BuildRequires: pkgconfig >= 1:0.19
BuildRequires: xorg-lib-libXvMC-devel
BuildRequires: xorg-proto-videoproto-devel
BuildRequires: xorg-proto-xf86driproto-devel
BuildRequires: xorg-util-util-macros >= 0.99.1
BuildRequires: xorg-xserver-server-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
X.org video driver for VIA chipsets with onboard unichrome graphics.
It supports VIA CLE266, KM400/KN400 chipsets. K8M800/K8N800, PM8X0 and
CN400 support is still under development.
%description -l pl
Sterownik obrazu X.org dla zintegrowanych układów graficznych VIA.
Obsługuje układy VIA CLE266, KM400/KN400. Obsługa K8M800/K8N800, PM8X0
i CN400 jest jeszcze w trakcie pisania.
%prep
%setup -q -n xf86-video-via-%{version}
%build
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
# hack (source needs update for new libdrm)
CPPFLAGS="-DVIDEO=VIA_MEM_VIDEO"
%configure \
--disable-static
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
drivermandir=%{_mandir}/man4
rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la \
$RPM_BUILD_ROOT%{_libdir}/libviaXvMC*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/xorg/modules/drivers/via_drv.so
%attr(755,root,root) %{_libdir}/libviaXvMC.so.*.*.*
%attr(755,root,root) %{_libdir}/libviaXvMCPro.so.*.*.*
%{_mandir}/man4/via.4x*
|