Name: rlwrap Version: 0.41 Release: 1 Summary: Wrapper for GNU readline Group: Applications/Text License: GPLv2+ URL: http://utopia.knoware.nl/~hlub/rlwrap/ Source0: http://utopia.knoware.nl/~hlub/rlwrap/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: readline-devel >= 5.2 Requires: readline >= 5.2 %description rlwrap is a 'readline wrapper' that uses the GNU readline library to allow the editing of keyboard input for any other command. 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 \ --prefix=%{_prefix} \ --mandir=%{_mandir} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc AUTHORS COPYING NEWS README %{_bindir}/* %{_mandir}/man?/%{name}.* %{_datadir}/%{name} /usr/bin/* %changelog * Fri Aug 15 2014 Michael Perzl - 0.41-1 - updated to version 0.41 * Fri Aug 15 2014 Michael Perzl - 0.40-1 - updated to version 0.40 * Wed May 05 2010 Michael Perzl - 0.37-1 - updated to version 0.37 * Tue Apr 06 2010 Michael Perzl - 0.36-1 - first version for AIX V5.1 and higher