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