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