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