[suggest] ratpoison & xautomation

Juan Carlos Castro y Castro jcastro at instant.com.br
Fri Jan 25 23:11:43 CET 2008


Here's a better version of the ratpoison spec, along with another little 
package I like: xautomation, which allows you to feed mouse & keyboard 
events to X via scripts.

Are the "Group" settings for those correct? I put ratpoison under 
System/GUI/Other, and xautomation under System/X11/Utilities.

Cheers,
Juan
-------------- next part --------------
Summary: Ratpoison window manager
Name: ratpoison
Version: 1.4.2
Release: 2.el5.rf
Source0: http://savannah.nongnu.org/download/ratpoison/%{name}-%{version}.tar.gz
License: GPL
Group: System/GUI/Other
BuildRoot: %{_builddir}/%{name}-root
URL: http://www.nongnu.org/ratpoison/
Packager: Juan Carlos Castro y Castro <jcastro at instant.com.br>
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info

%description
Ratpoison is a simple Window Manager with no fat library dependencies, no
fancy graphics, no window decorations, and no flashy wank. It is largely
modelled after GNU Screen which has done wonders in virtual terminal market.
All interaction with the window manager is done through keystrokes.
ratpoison has a prefix map to minimize the key clobbering that cripples
EMACS and other quality pieces of software.

%prep
%setup -q

%build
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=%{_infodir} --mandir=%{_mandir}
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT/%{_infodir}/dir

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :

%preun
if [ $1 = 0 ] ; then
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi

%files
%defattr(-,root,root)
%{_bindir}/ratpoison
%{_bindir}/rpws
%{_datadir}/ratpoison/
%doc %{_datadir}/doc/ratpoison/
%{_infodir}/ratpoison.info.gz
%{_mandir}/man1/ratpoison.1.gz
-------------- next part --------------
Summary: xautomation
Name: xautomation
Version: 1.01
Release: 1.el5.rf
Source0: http://www.hoopajoo.net/static/projects/%{name}-%{version}.tar.gz
License: GPL
Group: System/X11/Utilities
BuildRoot: %{_builddir}/%{name}-root
URL: http://www.hoopajoo.net/projects/xautomation.html
Packager: Juan Carlos Castro y Castro <jcastro at instant.com.br>

%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 programs to find buttons etc. on the screen to click on.

%prep
%setup -q

%build
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=%{_infodir} --mandir=%{_mandir}
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/bin/xte
/usr/bin/rgb2pat
/usr/bin/png2pat
/usr/bin/visgrep
/usr/bin/pat2ppm
/usr/bin/patextract
/usr/bin/xmousepos
%doc COPYING AUTHORS README NEWS ChangeLog
%{_mandir}/


More information about the suggest mailing list