%define name xinput %define version 1.2 %define release 4mdk Summary: Runtime configuration and test of XInput devices Name: %{name} Version: %{version} Release: %{release} Source0: ftp://ftp.x.org/contrib/utilities/%{name}-%{version}.tar.bz2 Copyright: MIT Group: System/XFree86 BuildRequires: XFree86-devel BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} %description Runtime configuration and test of XInput devices %prep %setup %build xmkmf -a perl -p -i -e "s|CXXDEBUGFLAGS = .*|CXXDEBUGFLAGS = $RPM_OPT_FLAGS|" Makefile perl -p -i -e "s|CDEBUGFLAGS = .*|CDEBUGFLAGS = $RPM_OPT_FLAGS|" Makefile make %install rm -rf $RPM_BUILD_ROOT make install install.man DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/X11R6/bin/xinput /usr/X11R6/man/*/* %doc README COPYRIGHT ChangeLog %changelog * Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.2-4mdk - automatically added BuildRequires * Thu Jul 20 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.2-3mdk - BM * Mon May 15 2000 David BAUDENS <baudens@mandrakesoft.com> 1.2-2mdk - Fix build for i486 - Use %%{_tmppath} for BuildRoot * Tue Mar 28 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.2-1mdk - first mandrake version.