Name: xdotool Version: 2.20100602.2915 Epoch: 1 Release: 1%{?dist} Summary: Fake keyboard/mouse input Group: User Interface/X License: BSD URL: http://www.semicomplete.com/projects/xdotool/ Source0: http://semicomplete.googlecode.com/files/%{name}-%{version}.tar.gz Patch0: xdotool-prog-segfault.patch BuildRequires: libXtst-devel, libX11-devel %description This tool lets you programmatically (or manually) simulate keyboard input and mouse activity, move and re-size windows, etc. %package -n libxdo Group: System Environment/Libraries Summary: Keyboard input simulation library %description -n libxdo This library contains functions to simulate keyboard and mouse input %package -n libxdo-devel Summary: Development files for libxdo Group: Development/Libraries Requires: libxdo = %{epoch}:%{version}-%{release} %description -n libxdo-devel The libxdo-devel package contains libraries and header files for developing applications that use libxdo %prep %setup -q %patch0 %build export WARNFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make PREFIX=$RPM_BUILD_ROOT/%{_prefix} INSTALLMAN=$RPM_BUILD_ROOT%{_mandir} INSTALLLIB=$RPM_BUILD_ROOT%{_libdir} install #fix permissions chmod 0644 examples/ffsp.sh %clean rm -rf $RPM_BUILD_ROOT %post -n libxdo -p /sbin/ldconfig %postun -n libxdo -p /sbin/ldconfig %files -n libxdo %defattr(-,root,root,-) %doc CHANGELIST COPYRIGHT README %{_libdir}/*.so.* %files -n libxdo-devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %files %defattr(-,root,root,-) %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %doc examples %changelog * Sun Mar 28 2010 Sven Lankes - 1:2.20100602.2915-1 - new upstream release - add patch from Bruce Jerrick to not segfault when called with unknown command (bz #602946) * Sun Mar 28 2010 Sven Lankes - 1:1.20100318.2737-1 - new upstream release * Sun Feb 07 2010 Sven Lankes - 0.20100118.2605-2 - fix requires for libxdo-devel * Fri Feb 05 2010 Sven Lankes - 0.20100118.2605-1 - New upstream release - remove BuildRoot from spec - add subpackages for libxdo - ship manpage - bump Epoch as upstream changed the versioning - use make install (with a makefile-patch) instead of manual install in spec * Thu Sep 17 2009 Sven Lankes - 20090815-1 - New upstream release (fixes #521765) * Mon Jul 27 2009 Fedora Release Engineering - 20090330-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed May 28 2009 Sindre Pedersen Bjørdal - 20090330-2 - 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