%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2) %define filename xf86-video-sis Name: xorg-drv-video-sis Version: 0.10.7 Release: 3mamba Summary: sis X.Org video drivers Group: System/X11 Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://x.org Source: ftp://x.org/pub/individual/driver/%{filename}-%{version}.tar.bz2 License: MIT BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libdrm-devel ## AUTOBUILDREQ-END BuildRequires: xorg-server-devel >= 1.1.0 BuildRequires: xorg-proto-devel BuildRequires: libXvMC-devel >= 1.0.2 BuildRequires: libXrender >= 0.9.1 BuildRequires: libXrandr >= 1.1.1 BuildRequires: libXv >= 1.0.1 BuildRequires: libdrm-devel >= 2.3.0 BuildRequires: libXinerama-devel >= 1.0.1 BuildRequires: libpthread-stubs-devel Requires: xorg-server >= %{xorg_ver} Requires: xorg-server <= %{xorg_ver}.255 %description sis X.Org video drivers. %prep %setup -q -c -a0 %build cd %{filename}-%{version} %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" cd %{filename}-%{version} %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/xorg/modules/drivers/sis_drv.la %{_libdir}/xorg/modules/drivers/sis_drv.so %{_mandir}/man4/sis.4.gz %changelog * Tue Mar 05 2013 Silvan Calarco 0.10.7-3mamba - xorg-server 1.12 mass rebuild * Thu Dec 06 2012 Silvan Calarco 0.10.7-2mamba - mass rebuild: xorg-server 1.10 backport from devel-xorg * Mon Aug 13 2012 Automatic Build System 0.10.7-1mamba - automatic version update by autodist * Thu Jun 07 2012 Silvan Calarco 0.10.4-1mamba - automatic update by autodist * Fri Feb 17 2012 Silvan Calarco 0.10.3-3mamba - automatic update by autodist * Fri Aug 12 2011 Silvan Calarco 0.10.3-2mamba - automatic port from devel * Wed Jul 07 2010 Automatic Build System 0.10.3-1mamba - automatic update by autodist * Fri Feb 26 2010 Silvan Calarco 0.10.2-2mamba - rebuilt for xorg-server 1.7.5 * Sat Oct 24 2009 Silvan Calarco 0.10.2-1mamba - update to 0.10.2 * Sat Jun 06 2009 Ercole 'ercolinux' Carpanetto 0.10.1-1mamba - Package created