]>
Commit | Line | Data |
---|---|---|
50213d88 | 1 | %define rel 20091231 |
4d701919 | 2 | Summary: fake keyboard/mouse input |
3 | Name: xdotool | |
4 | Version: 0 | |
5 | Release: 0.%{rel}.1 | |
6 | License: BSD-like | |
7 | Group: X11/Window Managers/Tools | |
50213d88 | 8 | Source0: http://semicomplete.googlecode.com/files/%{name}-%{rel}.02.tar.gz |
9 | # Source0-md5: faa6f616d33bdd9ec7fbc0d9542a6cc0 | |
4d701919 | 10 | URL: http://www.semicomplete.com/projects/xdotool/ |
b6a1c078 | 11 | BuildRequires: perl-tools-pod |
4d701919 | 12 | BuildRequires: xorg-lib-libX11-devel |
b6a1c078 | 13 | BuildRequires: xorg-lib-libXtst-devel |
4d701919 | 14 | BuildRequires: xorg-proto-xextproto-devel |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | xdotool lets you programatically (or manually) simulate keyboard input | |
19 | and mouse activity, move and resize windows, etc. It does this using | |
20 | X11's XTEST extension and other Xlib functions. | |
21 | ||
22 | %prep | |
50213d88 | 23 | %setup -q -n %{name}-%{rel}.02 |
4d701919 | 24 | |
25 | %build | |
50213d88 | 26 | %{__make} \ |
27 | CC="%{__cc}" | |
4d701919 | 28 | |
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
50213d88 | 31 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}} |
4d701919 | 32 | |
33 | %{__make} install \ | |
34 | INSTALLBIN=$RPM_BUILD_ROOT%{_bindir} \ | |
50213d88 | 35 | INSTALLINCLUDE=$RPM_BUILD_ROOT%{_includedir} \ |
36 | INSTALLLIB=$RPM_BUILD_ROOT%{_libdir} \ | |
4d701919 | 37 | INSTALLMAN=$RPM_BUILD_ROOT%{_mandir} |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc COPYRIGHT CHANGELIST README examples | |
45 | %attr(755,root,root) %{_bindir}/xdotool | |
50213d88 | 46 | %attr(755,root,root) %{_libdir}/libxdo* |
4d701919 | 47 | %{_mandir}/man1/xdotool.1* |
50213d88 | 48 | %{_includedir}/xdo.h |