Group :: System/X11
RPM: xorg-drv-sis
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _modulesdir %_libdir/X11/modules
%define _hwdatadir %_datadir/hwdatabase/videoaliases
%define _fdidir %_datadir/hal/fdi/policy/20thirdparty
Name: xorg-drv-sis
Version: 0.10.1
Release: alt2
Serial: 1
Summary: SiS and XGI video driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Requires: XORG_ABI_VIDEODRV = %get_xorg_abi_videodrv
Requires: xorg-dri-sis xorg-extensions-glx
Obsoletes: xorg-x11-drv-xgi xorg-x11-drv-sis
Provides: xorg-x11-drv-xgi = %serial:%version xorg-x11-drv-sis = %serial:%version-%release
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires(Pre): xorg-sdk
BuildRequires: libGL-devel xorg-proto-devel
%description
sis is an Xorg driver for SiS (Silicon Integrated Systems)
and XGI video chips. The driver is accelerated and provides support for
colordepths of 8, 16 and 24 bpp. XVideo, Render and other extensions
are supported as well.
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
--with-xorg-module-dir=%_modulesdir \
--enable-dri \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
install -pD -m644 xf86-video-sis.xinf %buildroot%_hwdatadir/sis.xinf
install -pD -m644 11-x11-video-sis.fdi %buildroot%_fdidir/20-x11-video-sis.fdi
%triggerin -- xorg-x11-drv-xgi
subst 's|Driver\(.*\)\"\(xgi\)\"|Driver\1"sis"|' %_sysconfdir/X11/xorg.conf
%files
%_modulesdir/drivers/*.so
%dir %_hwdatadir
%_hwdatadir/*.xinf
%_fdidir/20-x11-video-sis.fdi
%_man4dir/*
%changelog
…
Full changelog you can see here
%define _hwdatadir %_datadir/hwdatabase/videoaliases
%define _fdidir %_datadir/hal/fdi/policy/20thirdparty
Name: xorg-drv-sis
Version: 0.10.1
Release: alt2
Serial: 1
Summary: SiS and XGI video driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Requires: XORG_ABI_VIDEODRV = %get_xorg_abi_videodrv
Requires: xorg-dri-sis xorg-extensions-glx
Obsoletes: xorg-x11-drv-xgi xorg-x11-drv-sis
Provides: xorg-x11-drv-xgi = %serial:%version xorg-x11-drv-sis = %serial:%version-%release
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires(Pre): xorg-sdk
BuildRequires: libGL-devel xorg-proto-devel
%description
sis is an Xorg driver for SiS (Silicon Integrated Systems)
and XGI video chips. The driver is accelerated and provides support for
colordepths of 8, 16 and 24 bpp. XVideo, Render and other extensions
are supported as well.
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
--with-xorg-module-dir=%_modulesdir \
--enable-dri \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
install -pD -m644 xf86-video-sis.xinf %buildroot%_hwdatadir/sis.xinf
install -pD -m644 11-x11-video-sis.fdi %buildroot%_fdidir/20-x11-video-sis.fdi
%triggerin -- xorg-x11-drv-xgi
subst 's|Driver\(.*\)\"\(xgi\)\"|Driver\1"sis"|' %_sysconfdir/X11/xorg.conf
%files
%_modulesdir/drivers/*.so
%dir %_hwdatadir
%_hwdatadir/*.xinf
%_fdidir/20-x11-video-sis.fdi
%_man4dir/*
%changelog
…
Full changelog you can see here