File rlwrap.spec of Package rlwrap
#
# spec file for package rlwrap (Version 0.30)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: rlwrap
Summary: A Readline Wrapper
Version: 0.30
Release: 1
License: GPL v2 or later
Group: Productivity/Other
Source0: %{name}-%{version}.tar.bz2
Url: http://utopia.knoware.nl/~hlub/uck/rlwrap/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ncurses-devel readline-devel
%description
rlwrap uses the GNU readline library to allow the editing of keyboard
input for any other command. The input history is remembered across
invocations, separately for each command;history completion and search
work as in bash and completion word lists can be specified on the
command line.
Authors:
--------
Chet Ramey <chet at po.cwru.edu>
Hans Lub <hlub at knoware.nl>
Geoff C. Wing <gcw at rxvt.org>
Damian Ivereigh <damian at cisco.com>
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir}
make
%check
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-, root, root)
%doc AUTHORS BUGS ChangeLog NEWS README TODO
%_bindir/rlwrap
%_mandir/man1/rlwrap.1.gz
%_datadir/rlwrap
%changelog
* Wed Jan 16 2008 hvogel@suse.de
- Update to version 0.30:
* EOF on stdin (e.g. by pressing CTRL-D) would end prompt colouring.
* added -q option
* added -A option to handle (ANSI-)coloured prompts
* added -p option to colourise uncoloured prompts
* added -t option to set terminal type for client command
* rlwrap now copies its terminal settings from the client
even when this has put its terminal in single-keypress
(uncooked) mode. A rlwrapped emacs will now respond to CTRL-C
and CTRL-G as it should.
* error messages and warnings now include the rlwrap version number
* added a very simple custom malloc/free debugger for use with the
--debug option. Rather fragile and not well tested, use with care.
* Whenever TERM is not set, rlwrap assumes vt100. Set TERM=dumb if
you really have a dumb terminal.
* rlwrap now leaves the handling of multi-line prompts and edit
buffers to readline (except when in horizontal-scroll mode or when
configured with --enable-homegrown-redisplay).
* whenever --always-readline is set, SIGWINCH not passed to
client command immediately, but only *after* accepting a line.
* --spy-on-readline now enabled by default
* Wed May 16 2007 hvogel@suse.de
- Initial package, Version 0.28