[suggest] ratpoison

Juan Carlos Castro y Castro jcastro at instant.com.br
Fri Jan 25 22:57:44 CET 2008


This is a spec for the ratpoison window manager, shamelessly leeched 
from the Fedora one and with some changes to make it build cleanly under 
CentOS 5. I humbly propose it for inclusion.

Cheers
Juan
-------------- next part --------------
Summary: Ratpoison window manager
Name: ratpoison
Version: 1.4.2
Release: 1.%{_vendor}.rf
Source0: http://savannah.nongnu.org/download/ratpoison/%{name}-%{version}.tar.gz
License: GPL
Group: System/GUI/Other
BuildRoot: %{_builddir}/%{name}-root
Vendor: Instant Solutions
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


More information about the suggest mailing list