%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2) %define filename xf86-video-newport Name: xorg-drv-video-newport Version: 0.2.4 Release: 1mamba Summary: newport 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 Patch0: %{name}-0.2.3-xorg_configure.patch License: MIT BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-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 Provides: xorgdrvvideo Requires: xorg-server >= %{xorg_ver} Requires: xorg-server <= %{xorg_ver}.255 %description newport X.Org video driver. %prep %setup -q -n %{filename}-%{version} #%patch0 -p1 %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/xorg/modules/drivers/newport_drv.la %{_libdir}/xorg/modules/drivers/newport_drv.so %{_mandir}/man4/newport.4.gz %changelog * Tue Mar 05 2013 Silvan Calarco 0.2.4-1mamba - xorg-server 1.12 mass rebuild * Fri Aug 12 2011 Silvan Calarco 0.2.3-4mamba - automatic port from devel * Sat Jun 26 2010 Silvan Calarco 0.2.3-3mamba - added patch to fix missing LoaderRefSymLists symbol with Xorg -configure * Fri Feb 26 2010 Silvan Calarco 0.2.3-2mamba - rebuild with xorg-server 1.7.5 * Sun Nov 22 2009 Silvan Calarco 0.2.3-1mamba - update to 0.2.3 * Sat Jun 06 2009 Ercole 'ercolinux' Carpanetto 0.2.2-1mamba - Package created