# RPM spec file for rlwrap Name: rlwrap Version: 0.24 Release: 1.fc4 License: GPL URL: http://utopia.knoware.nl/~hlub/uck/rlwrap Source: http://utopia.knoware.nl/~hlub/uck/rlwrap/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: readline-devel Requires: readline Group: Utilities/Console Summary: readline wrapper for arbitrary commands %description %{name} is a readline wrapper for arbitrary shell commands requiring input from the controlling terminal. It adds readline's input line editing capabilities as well as a persistent input history for each command and supports user-defined completion. %prep %setup -q %build # Special "configure" options: # --enable-debug enable debugging # --enable-homegrown-redisplay # do our own redisplay (enable only if necessary!) # --enable-spy-on-readline # keep screen tidy when resizing terminal (needs # private readline variable) CFLAGS="${CFLAGS-$RPM_OPT_FLAGS}" \ ./configure \ --prefix=%{_prefix} \ --exec-prefix=%{_exec_prefix} \ --bindir=%{_bindir} \ --datadir=%{_datadir} \ --mandir=%{_mandir} \ --infodir=%{_infodir} make make -k check %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/* %{_datadir}/%{name} %doc %{_mandir}/man1/*.1* %doc AUTHORS BUGS COPYING NEWS README TODO test/testclient %changelog * Sat Dec 03 2005 Christian Cornelssen - Upgrade to rlwrap-0.24 * Wed Jul 07 2004 Christian Cornelssen - initial specfile for rlwrap-0.18