%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2) %define filename xf86-input-acecad Name: xorg-drv-input-acecad Version: 1.5.0 Release: 4mamba Summary: X.Org input drivers for acecad Group: System/X11 Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://x.org Source: ftp://ftp.freedesktop.org/pub/individual/driver/%{filename}-%{version}.tar.bz2 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 >= %{xorg_ver} BuildRequires: dri3proto-devel BuildRequires: presentproto-devel %description X.Org input drivers for acecad. %prep %setup -c -q -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/input/acecad_drv.la %{_libdir}/xorg/modules/input/acecad_drv.so %{_mandir}/man4/acecad.4.gz %changelog * Fri Aug 21 2015 Silvan Calarco 1.5.0-4mamba - rebuilt with xorg-server 1.17.2 * Sat Jun 14 2014 Automatic Build System 1.5.0-3mamba - xorg 1.15 rebuild * Tue Mar 05 2013 Silvan Calarco 1.5.0-2mamba - X.org 1.12 mass rebuild * Sat May 07 2011 Automatic Build System 1.5.0-1mamba - automatic update by autodist * Wed Sep 16 2009 Automatic Build System 1.4.0-1mamba - automatic update by autodist * Fri Jun 05 2009 Ercole 'ercolinux' Carpanetto 1.3.0-1mamba - update to 1.3.0 * Fri Jun 05 2009 Ercole 'ercolinux' Carpanetto 1.2.2-1mamba - Package created