%define majver %(echo %version | cut -d. -f1) %define minver %(echo %version | cut -d. -f2) Name: input-utils Epoch: 1 Version: 1.0 Release: 1mamba Summary: Utilities for the input layer of the Linux kernel Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kraxel.org/releases/input Source: http://www.kraxel.org/releases/input/input-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This is a collection of utilities which are useful when working with the input layer of the Linux kernel (version 2.6 and later). Included are utilities to list the input devices known to the kernel, show the input events that are received by a device, and query or modify keyboard maps. %prep %setup -q -n input-%{version} %build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeoldinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/input-events %{_bindir}/input-kbd %{_bindir}/input-recv %{_bindir}/input-send %{_bindir}/lsinput %{_mandir}/man8/input-events.8.gz %{_mandir}/man8/input-kbd.8.gz %{_mandir}/man8/lsinput.8.gz %doc COPYING %changelog * Thu Jul 11 2013 Silvan Calarco 1.0-1mamba - update to 1.0 * Tue Feb 17 2009 Silvan Calarco 20081014.101501-1mamba - update to 20081014.101501 * Sat Sep 09 2006 Silvan Calarco 143821-1qilnx - package created by autospec