Name: xdotool Version: 20090330 Release: 1%{?dist} Summary: Fake keyboard/mouse input Group: User Interface/X License: BSD URL: http://www.semicomplete.com/projects/xdotool/ Source0: http://www.semicomplete.com/files/xdotool/%{name}-%{version}.tar.gz #Patch0: %{name}-%{version}-prefix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libXtst-devel, libX11-devel %description This tool lets you programatically (or manually) simulate keyboard input and mouse activity, move and resize windows, etc. %prep %setup -q #%patch0 -p1 %build export WARNFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT #manual install install -D -m 0755 xdotool $RPM_BUILD_ROOT%{_bindir}/xdotool #fix permissions chmod 0644 examples/ffsp.sh %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGELIST COPYRIGHT README %doc examples %{_bindir}/* %changelog * Wed May 28 2009 Sindre Pedersen Bjørdal - 20090330-1 - New upstream release * Thu May 7 2009 Ville Skyttä - 20090126-2 - Build with $RPM_OPT_FLAGS. * Wed Apr 01 2009 Sindre Pedersen Bjørdal - 20090126-1 - New upstream release * Mon Mar 02 2009 Caolán McNamara - 20071230-4 - add BuildRequires libX11-devel to build * Thu Feb 26 2009 Fedora Release Engineering - 20071230-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed May 28 2008 Sindre Pedersen Bjørdal - 20071230-2 - Add patch to fix prefix - Add CFLAGS to %%build * Tue May 06 2008 Sindre Pedersen Bjørdal - 20071230-1 - Initial build