Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > f3243d2c1d4e03a5620bb9b560d3b6f1 > files > 2

xinput-1.2-5mdk.src.rpm

%define	name	xinput
%define version	1.2
%define release	5mdk

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

License:	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
* Fri Sep  7 2001 Frederic Lepied <flepied@mandrakesoft.com> 1.2-5mdk
- rebuild

* 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.