Summary: A library for editing typed command lines. Name: readline Version: 5.0 Release: 3.2.1 License: GPL Group: System Environment/Libraries URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html Source: ftp://ftp.gnu.org/gnu/readline-%{version}.tar.gz Patch0: readline-4.1-outdated.patch Patch1: ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/readline50-001 Patch2: ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/readline50-002 Patch3: ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/readline50-003 Patch4: ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/readline50-004 Patch5: ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/readline50-005 Patch6: readline-4.3-no_rpath.patch Patch7: readline-read-e-segfault.patch Patch8: readline-wrap.patch Prereq: /sbin/install-info /sbin/ldconfig Buildroot: %{_tmppath}/%{name}-root BuildRequires: sed autoconf libtool %description The Readline library provides a set of functions that allow users to edit command lines. Both Emacs and vi editing modes are available. The Readline library includes additional functions for maintaining a list of previously-entered command lines for recalling or editing those lines, and for performing csh-like history expansion on previous commands. %package devel Summary: Files needed to develop programs which use the readline library. Group: Development/Libraries Requires: readline = %{version} Requires: libtermcap-devel %description devel The Readline library provides a set of functions that allow users to edit typed command lines. If you want to develop programs that will use the readline library, you need to have the readline-devel package installed. You also need to have the readline package installed. %prep %setup -q %patch0 -p1 -b .outdated %patch1 -p0 -b .001 %patch2 -p0 -b .002 %patch3 -p0 -b .003 %patch4 -p0 -b .004 %patch5 -p0 -b .005 %patch6 -p1 -b .no_rpath %patch7 -p1 -b .read-e-segfault %patch8 -p1 -b .wrap libtoolize --copy --force autoconf || autoconf-2.53 %build %configure make all shared %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_libdir} %makeinstall chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/*.so* { cd ${RPM_BUILD_ROOT} gzip -9nf .%{_infodir}/*.info* rm -f .%{_infodir}/dir } %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %post /sbin/ldconfig /sbin/install-info %{_infodir}/history.info.gz %{_infodir}/dir /sbin/install-info %{_infodir}/readline.info.gz %{_infodir}/dir %postun -p /sbin/ldconfig %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/history.info.gz %{_infodir}/dir /sbin/install-info --delete %{_infodir}/readline.info.gz %{_infodir}/dir fi %files %defattr(-,root,root) %{_mandir}/man*/* %{_infodir}/*.info* %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) %{_includedir}/readline %{_libdir}/lib*.a %{_libdir}/lib*.so %changelog * Fri Feb 10 2006 Jesse Keating - 5.0-3.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 5.0-3.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Wed Mar 2 2005 Tim Waugh 5.0-3 - Rebuild for new GCC. * Tue Jan 18 2005 Tim Waugh 5.0-2 - Fix line-wrapping (bug #145329). - Apply "read -e" patch from bash package. * Wed Jan 12 2005 Tim Waugh 5.0-1 - 5.0 (bug #144835). * Mon Nov 29 2004 Tim Waugh 4.3-14 - Added URL tag (bug #141106). * Thu Sep 2 2004 Jeremy Katz - 4.3-13 - rebuild so that static linking against readline will work on ppc64 without dot symbols * Mon Jun 28 2004 Tim Waugh 4.3-12 - Build requires libtool (bug #126589). * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Fri Nov 28 2003 Thomas Woerner 4.3-9 - removed rpath * Thu Nov 6 2003 Tim Waugh 4.3-8 - Apply upstream patches (bug #109240 among others). * Wed Jun 25 2003 Tim Waugh - devel package requires libtermcap-devel (bug #98015). * Wed Jun 25 2003 Tim Waugh 4.3-7 - Fixed recursion loop (bug #92372). * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Nov 20 2002 Tim Powers - rebuild in current collinst - BuildRequires autoconf only * Wed Aug 07 2002 Phil Knirsch 4.3-3 - Fixed Esc-O-M stack overflow bug. * Mon Jul 22 2002 Phil Knirsch 4.3-1 - Updated to latest readline release 4.3 * Thu Jul 11 2002 Phil Knirsch 4.2a-7 - Fixed problem with alpha build. * Wed Jul 10 2002 Phil Knirsch - Fixed utf8 problem (originally observed in bash). * Fri Jun 21 2002 Tim Powers 4.2a-6 - automated rebuild * Thu May 23 2002 Tim Powers 4.2a-5 - automated rebuild * Wed Mar 20 2002 Trond Eivind Glomsrød 4.2a-4 - Use autoconf 2.53, not 2.52 * Mon Mar 4 2002 Bernhard Rosenkraenzer 4.2a-3 - Rebuild * Mon Nov 26 2001 Matt Wilson 4.2a-2 - removed the manual symlinking of .so, readline handles this by itself - call only %%makeinstall, not %%makeinstall install install-shared as this makes bogus .old files in the buildroot * Tue Nov 20 2001 Bernhard Rosenkraenzer 4.2a-1 - 4.2a * Tue Oct 2 2001 Bernhard Rosenkraenzer 4.2-4 - Work around autoconf bug * Mon Oct 1 2001 Bernhard Rosenkraenzer 4.2-3 - Don't use readline's internal re-implementation of strpbrk on systems that have strpbrk - the system implementation is faster and better maintained. * Tue Aug 7 2001 Bernhard Rosenkraenzer 4.2-2 - Make sure headers can be included from C++ applications (#51131) (Patch based on Debian's with the bugs removed ;) ) * Wed May 09 2001 Florian La Roche - update to 4.2 and adapt patches * Fri Apr 6 2001 Nalin Dahyabhai - change the paths listed for the header files in the man page to reflect the location changes from previous versions (#35073) - note that "on" is acceptable instead of "On" in the man page (#21327) * Thu Mar 8 2001 Preston Brown - fix reading of end key termcap value (@7 is correct, was kH) (#30884) * Tue Jan 30 2001 Nalin Dahyabhai - mark the man page as currently out-of-date (#25294) * Thu Sep 7 2000 Jeff Johnson - FHS packaging (64bit systems need to use libdir). * Thu Aug 17 2000 Jeff Johnson - summaries from specspo. * Wed Aug 2 2000 Florian La Roche - use "rm -f" in specfile * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 5 2000 Jeff Johnson - FHS packaging. * Tue Mar 21 2000 Bernhard Rosenkraenzer - 4.1 * Thu Feb 03 2000 Nalin Dahyabhai - update to 4.0 * Fri Apr 09 1999 Michael K. Johnson - added guard patch from Taneli Huuskonen * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 4) * Sun Jul 26 1998 Jeff Johnson - updated to 2.2.1 * Wed May 06 1998 Prospector System - translations modified for de, fr, tr * Wed May 06 1998 Cristian Gafton - don't package /usr/info/dir * Thu Apr 30 1998 Cristian Gafton - devel package moved to Development/Libraries * Tue Apr 21 1998 Cristian Gafton - updated to 2.2 * Tue Oct 14 1997 Donnie Barnes - spec file cleanups * Fri Oct 10 1997 Erik Troan - added proper sonames * Tue Jul 08 1997 Erik Troan - updated to readline 2.1 * Tue Jun 03 1997 Erik Troan - built against glibc