]> git.pld-linux.org Git - packages/xorg-driver-video-sis.git/blame - xorg-driver-video-sis.spec
- fix for xserver 1.20
[packages/xorg-driver-video-sis.git] / xorg-driver-video-sis.spec
CommitLineData
7728099f 1Summary: X.org video driver for SiS and XGI video chips
f0db71c6 2Summary(pl.UTF-8): Sterownik obrazu X.org dla układów graficznych SiS i XGI
7728099f 3Name: xorg-driver-video-sis
6c5805e4 4Version: 0.10.9
529f01a9 5Release: 2
7728099f
JB
6License: MIT
7Group: X11/Applications
6c5805e4
JB
8Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-video-sis-%{version}.tar.bz2
9# Source0-md5: 1d0f425b84988edf8d144803860c9bde
512be1d7 10Patch0: %{name}-x32.patch
529f01a9 11Patch1: xorg-abi24.patch
6c5805e4 12URL: https://xorg.freedesktop.org/
c2e8e998 13BuildRequires: Mesa-libGL-devel
7bf80f22 14BuildRequires: autoconf >= 2.60
7728099f 15BuildRequires: automake
5db5ce83 16BuildRequires: cpp
6e9d5e05 17BuildRequires: libdrm-devel >= 2.0
7728099f
JB
18BuildRequires: libtool
19BuildRequires: pkgconfig >= 1:0.19
5db5ce83 20BuildRequires: rpmbuild(macros) >= 1.389
7bf80f22 21BuildRequires: xorg-lib-libpciaccess-devel >= 0.12.901
c2e8e998 22BuildRequires: xorg-proto-fontsproto-devel
6c5805e4 23BuildRequires: xorg-proto-glproto-devel
c2e8e998
JB
24BuildRequires: xorg-proto-randrproto-devel
25BuildRequires: xorg-proto-renderproto-devel
7728099f 26BuildRequires: xorg-proto-videoproto-devel
5db5ce83 27BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
7bf80f22 28BuildRequires: xorg-proto-xf86dgaproto-devel >= 2.1
7728099f 29BuildRequires: xorg-proto-xf86driproto-devel
7728099f 30BuildRequires: xorg-proto-xineramaproto-devel
6c5805e4 31BuildRequires: xorg-proto-xproto-devel
7bf80f22 32BuildRequires: xorg-util-util-macros >= 1.8
0dc3b794 33BuildRequires: xorg-xserver-server-devel >= 1.0.99.901
5db5ce83 34%{?requires_xorg_xserver_videodrv}
7bf80f22 35Requires: xorg-lib-libpciaccess >= 0.12.901
1d174ae5
JB
36Requires: xorg-xserver-libdri >= 1.0.99.901
37Requires: xorg-xserver-libglx >= 1.0.99.901
0dc3b794 38Requires: xorg-xserver-server >= 1.0.99.901
e2e2955e 39Provides: xorg-driver-video
d7ca6eeb
JB
40Obsoletes: X11-driver-sis < 1:7.0.0
41Obsoletes: XFree86-SiS
42Obsoletes: XFree86-driver-sis < 1:7.0.0
94320389 43Obsoletes: XFree86-driver-xgi < 1:7.0.0
7728099f
JB
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%description
47X.org video driver for SiS and XGI video chips. It supports PCI, AGP
48and PCIe video cards based on the following chipsets: SiS5597/5598,
49SiS530/620, SiS6326/AGP/DVD (called old series), SiS300/305, SiS540,
50SiS630/730 (called 300 series), SiS315/E/H/PRO, SiS550/551/552,
51SiS650/651/661/741, SiS330 (Xabre), SiS760/761, XGI Volari V3/V5/V8,
52XGI Volari Z7 (called 315/330/340 series).
53
596e657f
JR
54%description -l pl.UTF-8
55Sterownik obrazu X.org dla układów graficznych SiS i XGI. Obsługuje
56karty PCI, AGP i PCIe oparte na następujących układach: SiS5597/5598,
57SiS530/620, SiS6326/AGP/DVD (zwanych starą serią), SiS300/305, SiS540,
58SiS630/730 (zwanych serią 300), SiS315/E/H/PRO, SiS550/551/552,
7728099f 59SiS650/651/661/741, SiS330 (Xabre), SiS760/761, XGI Volari V3/V5/V8,
596e657f 60XGI 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
82rm -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
90rm -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*
This page took 0.11411 seconds and 4 git commands to generate.