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