File rlwrap.spec of Package rlwrap

#
# spec file for package rlwrap
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           rlwrap
Summary:        A Readline Wrapper
License:        GPL-2.0+
Group:          Productivity/Other
Version:        0.42
Release:        0
Source0:        http://utopia.knoware.nl/~hlub/rlwrap/%{name}-%{version}.tar.gz
Url:            http://utopia.knoware.nl/~hlub/uck/rlwrap/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  ncurses-devel
BuildRequires:  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.

%prep
%setup -q

%build
%configure
make

%check
make test

%install
%makeinstall

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-, root, root)
%doc AUTHORS BUGS ChangeLog NEWS README TODO
%_bindir/rlwrap
%_mandir/man1/rlwrap.1.gz
%_mandir/man3/RlwrapFilter.3pm.gz
%_datadir/rlwrap

%changelog
openSUSE Build Service is sponsored by