Report abuse
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
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
|