]>
Commit | Line | Data |
---|---|---|
1 | Summary: X.org video driver for SiS and XGI video chips | |
2 | Summary(pl.UTF-8): Sterownik obrazu X.org dla układów graficznych SiS i XGI | |
3 | Name: xorg-driver-video-sis | |
4 | Version: 0.10.0 | |
5 | Release: 4 | |
6 | License: MIT | |
7 | Group: X11/Applications | |
8 | Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-sis-%{version}.tar.bz2 | |
9 | # Source0-md5: 331d432dccccca91ec7da39ff6bf1218 | |
10 | URL: http://xorg.freedesktop.org/ | |
11 | BuildRequires: Mesa-libGL-devel | |
12 | BuildRequires: autoconf >= 2.57 | |
13 | BuildRequires: automake | |
14 | BuildRequires: libdrm-devel >= 2.0 | |
15 | BuildRequires: libtool | |
16 | BuildRequires: pkgconfig >= 1:0.19 | |
17 | BuildRequires: xorg-proto-fontsproto-devel | |
18 | BuildRequires: xorg-proto-randrproto-devel | |
19 | BuildRequires: xorg-proto-renderproto-devel | |
20 | BuildRequires: xorg-proto-videoproto-devel | |
21 | BuildRequires: xorg-proto-xextproto-devel | |
22 | BuildRequires: xorg-proto-xf86dgaproto-devel | |
23 | BuildRequires: xorg-proto-xf86driproto-devel | |
24 | BuildRequires: xorg-proto-xf86miscproto-devel | |
25 | BuildRequires: xorg-proto-xineramaproto-devel | |
26 | BuildRequires: xorg-util-util-macros >= 0.99.2 | |
27 | BuildRequires: xorg-xserver-server-devel >= 1.0.99.901 | |
28 | BuildRequires: rpmbuild(macros) >= 1.389 | |
29 | %requires_xorg_xserver_videodrv | |
30 | Requires: xorg-xserver-server >= 1.0.99.901 | |
31 | Obsoletes: X11-driver-sis < 1:7.0.0 | |
32 | Obsoletes: XFree86-SiS | |
33 | Obsoletes: XFree86-driver-sis < 1:7.0.0 | |
34 | Obsoletes: XFree86-driver-xgi < 1:7.0.0 | |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
38 | X.org video driver for SiS and XGI video chips. It supports PCI, AGP | |
39 | and PCIe video cards based on the following chipsets: SiS5597/5598, | |
40 | SiS530/620, SiS6326/AGP/DVD (called old series), SiS300/305, SiS540, | |
41 | SiS630/730 (called 300 series), SiS315/E/H/PRO, SiS550/551/552, | |
42 | SiS650/651/661/741, SiS330 (Xabre), SiS760/761, XGI Volari V3/V5/V8, | |
43 | XGI Volari Z7 (called 315/330/340 series). | |
44 | ||
45 | %description -l pl.UTF-8 | |
46 | Sterownik obrazu X.org dla układów graficznych SiS i XGI. Obsługuje | |
47 | karty PCI, AGP i PCIe oparte na następujących układach: SiS5597/5598, | |
48 | SiS530/620, SiS6326/AGP/DVD (zwanych starą serią), SiS300/305, SiS540, | |
49 | SiS630/730 (zwanych serią 300), SiS315/E/H/PRO, SiS550/551/552, | |
50 | SiS650/651/661/741, SiS330 (Xabre), SiS760/761, XGI Volari V3/V5/V8, | |
51 | XGI Volari Z7 (zwanych serią 315/330/340). | |
52 | ||
53 | %prep | |
54 | %setup -q -n xf86-video-sis-%{version} | |
55 | ||
56 | # https://bugs.freedesktop.org/show_bug.cgi?id=18304 | |
57 | sed -i -e 's|#define.*SIS_USE_BIOS_SCRATCH.*|#undef SIS_USE_BIOS_SCRATCH|g' src/sis.h | |
58 | ||
59 | %build | |
60 | %{__libtoolize} | |
61 | %{__aclocal} | |
62 | %{__autoconf} | |
63 | %{__autoheader} | |
64 | %{__automake} | |
65 | %configure \ | |
66 | --disable-static | |
67 | ||
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %files | |
82 | %defattr(644,root,root,755) | |
83 | %doc COPYING ChangeLog README | |
84 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/sis_drv.so | |
85 | %{_mandir}/man4/sis.4* |