%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2) %define filename xf86-video-s3 Name: xorg-drv-video-s3 Version: 0.6.5 Release: 3mamba Summary: s3 X.Org video driver 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 s3 X.Org video drivers. %prep %setup -q -n %{filename}-%{version} %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/xorg/modules/drivers/s3_drv.la %{_libdir}/xorg/modules/drivers/s3_drv.so %{_mandir}/man4/s3.4.gz %changelog * Tue Mar 05 2013 Silvan Calarco 0.6.5-3mamba - xorg-server 1.12 mass rebuild * Thu Dec 06 2012 Silvan Calarco 0.6.5-2mamba - mass rebuild: xorg-server 1.10 backport from devel-xorg * Mon Aug 13 2012 Automatic Build System 0.6.5-1mamba - automatic version update by autodist * Thu Jun 07 2012 Silvan Calarco 0.6.4-1mamba - automatic update by autodist * Fri Feb 17 2012 Silvan Calarco 0.6.3-3mamba - automatic update by autodist * Fri Aug 12 2011 Silvan Calarco 0.6.3-2mamba - automatic port from devel * Sun Nov 22 2009 Silvan Calarco 0.6.3-1mamba - update to 0.6.3 * Sat Jun 06 2009 Ercole 'ercolinux' Carpanetto 0.6.1-1mamba - Package created