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

# 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
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  ncurses-devel readline-devel

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.

    Chet Ramey <chet at>
    Hans Lub <hlub at>
    Geoff C. Wing  <gcw at>
    Damian Ivereigh <damian at>

%setup -q

CFLAGS="$RPM_OPT_FLAGS" ./configure \
                       --prefix=%{_prefix} \

make test


rm -rf ${RPM_BUILD_ROOT}

%defattr(-, root, root)

* Wed Jan 16 2008
- 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
- Initial package, Version 0.28