58 lines
1.7 KiB
RPMSpec
58 lines
1.7 KiB
RPMSpec
Name: xautomation
|
|
Version: 1.09
|
|
Release: 2mamba
|
|
Summary: A command line tool for scripts to control X
|
|
Group: System/Tools
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.hoopajoo.net/projects/xautomation.html
|
|
Source: http://hoopajoo.net/static/projects/xautomation-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXi-devel
|
|
BuildRequires: libXtst-devel
|
|
BuildRequires: libpng-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%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.
|
|
|
|
%debug_package
|
|
|
|
%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
|
|
* Tue Jan 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.09-2mamba
|
|
- rebuilt with debug package and specfile fixes
|
|
|
|
* 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
|