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