File xdotool.spec of Package xdotool

#
# spec file for package xdotool
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           xdotool
Version:        20090330
Release:        1
#
License:        as-is
Group:          System/X11/Utilities 
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++ xorg-x11-devel
#
Url:            http://www.semicomplete.com/projects/xdotool
# http://semicomplete.googlecode.com/files/%{name}-%{version}.tar.gz
Source:         %{name}-%{version}.tar.bz2
#
Summary:        Fake keyboard/mouse input

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

Author:
-------
   Jordan Sissel <jls@semicomplete.com>

%prep
%setup

%build
%{__make} %{?jobs:-j%jobs} xdotool

%install
mkdir -p %{buildroot}%{_bindir}
install -m 0755 xdotool %{buildroot}%{_bindir}

%clean
%{__rm} -rfv %{buildroot}

%files
%defattr(-,root,root,-)
%doc CHANGELIST COPYRIGHT README
%{_bindir}/xdotool

%changelog
openSUSE Build Service is sponsored by