Name: xdotool
Summary: Simulate X keyboard/mouse input
Version: 20071230
Release: 1
Group: User Interface/X
License: Copyright
Source0: http://www.semicomplete.com/files/xdotool/xdotool-%{version}.tar.gz
BuildRoot: %{_builddir}/%{name}-%{version}-root
BuildRequires: libXtst-devel
Requires: libXtst
%description
This tool lets you programatically (or manually) simulate keyboard input and
mouse activity, move and resize windows, etc. It does this using X11's XTEST
extension and other Xlib functions.
%prep
%setup -q
%build
make
%install
rm -fr ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
cp xdotool ${RPM_BUILD_ROOT}%{_bindir}
cp xdotool.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
%clean
rm -fr ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
%{_bindir}/xdotool
%doc
%{_mandir}/man1/xdotool.1.gz
%changelog
* Thu Mar 06 2008 Justin L Graham <jgraham@math.ku.edu>
- SPEC build