xautomation/xautomation.spec

53 lines
1.6 KiB
RPMSpec

Name: xautomation
Version: 1.09
Release: 1mamba
Summary: A command line tool for scripts to control X
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: openmamba WebBuild System <webbuild@openmamba.org>
URL: http://hoopajoo.net/projects/xautomation.html
Source: http://hoopajoo.net/static/projects/xautomation-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpng-devel
BuildRequires: libX11-devel
BuildRequires: libXi-devel
BuildRequires: libXtst-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Control X from the command line for scripts, and do "visual scraping" to find things on the screen.
The conrol interface allows mouse movement, clicking, button up/down, key up/down, etc, and uses the XTest extension so you don't have the annoying problems that xse has when apps ignore sent events.
The visgrep program find images inside of images and reports the coordinates, allowing progams to find buttons, etc, on the screen to click on.
%prep
%setup -q
%build
export LDFLAGS="-lXi"
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man?/*
%doc AUTHORS COPYING ChangeLog README
%changelog
* Fri Sep 12 2014 Automatic Build System <autodist@mambasoft.it> 1.09-1mamba
- automatic version update by autodist
* Thu Sep 26 2013 openmamba WebBuild System <webbuild@openmamba.org> 1.07-1mamba
- package created by stefano using the webbuild interface