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