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