From 183c67cfaf26d2f868f40dca70527cf57d008f2f Mon Sep 17 00:00:00 2001 From: openmamba WebBuild System Date: Fri, 5 Jan 2024 19:32:28 +0100 Subject: [PATCH] package created by stefano using the webbuild interface [release 1.07-1mamba;Thu Sep 26 2013] --- README.md | 4 ++++ xautomation.spec | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 xautomation.spec diff --git a/README.md b/README.md index e9b2ac2..6a710db 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # xautomation +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. + diff --git a/xautomation.spec b/xautomation.spec new file mode 100644 index 0000000..b08c62f --- /dev/null +++ b/xautomation.spec @@ -0,0 +1,49 @@ +Name: xautomation +Version: 1.07 +Release: 1mamba +Summary: A command line tool for scripts to control X +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: openmamba WebBuild System +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 +* Thu Sep 26 2013 openmamba WebBuild System 1.07-1mamba +- package created by stefano using the webbuild interface