2024-01-05 19:32:28 +01:00
|
|
|
Name: xautomation
|
2024-01-05 19:32:28 +01:00
|
|
|
Version: 1.09
|
2024-01-05 19:32:28 +01:00
|
|
|
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
|
2024-01-05 19:32:28 +01:00
|
|
|
* Fri Sep 12 2014 Automatic Build System <autodist@mambasoft.it> 1.09-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:32:28 +01:00
|
|
|
* Thu Sep 26 2013 openmamba WebBuild System <webbuild@openmamba.org> 1.07-1mamba
|
|
|
|
- package created by stefano using the webbuild interface
|