Blame SPECS/readline.spec

8e599c
Summary: A library for editing typed command lines
8e599c
Name: readline
8e599c
Version: 7.0
8e599c
Release: 10%{?dist}
8e599c
License: GPLv3+
8e599c
URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
8e599c
Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
8e599c
8e599c
# Official upstream patches
8e599c
# Patches are converted to apply with '-p1'
8e599c
Patch1: Readline-7.0-patch-1.patch
8e599c
Patch2: Readline-7.0-patch-2.patch
8e599c
Patch3: Readline-7.0-patch-3.patch
8e599c
8e599c
# Other patches
8e599c
# fix file permissions, remove RPATH, use CFLAGS
8e599c
Patch101: readline-7.0-shlib.patch
8e599c
8e599c
Requires(post): info
8e599c
Requires(preun): info
8e599c
BuildRequires: ncurses-devel
8e599c
BuildRequires: git
8e599c
8e599c
%description
8e599c
The Readline library provides a set of functions that allow users to
8e599c
edit command lines. Both Emacs and vi editing modes are available. The
8e599c
Readline library includes additional functions for maintaining a list
8e599c
of previously-entered command lines for recalling or editing those
8e599c
lines, and for performing csh-like history expansion on previous
8e599c
commands.
8e599c
8e599c
%package devel
8e599c
Summary: Files needed to develop programs which use the readline library
8e599c
Requires: %{name}%{?_isa} = %{version}-%{release}
8e599c
Requires: ncurses-devel%{?_isa}
8e599c
Requires(post): info
8e599c
Requires(preun): info
8e599c
8e599c
%description devel
8e599c
The Readline library provides a set of functions that allow users to
8e599c
edit typed command lines. If you want to develop programs that will
8e599c
use the readline library, you need to have the readline-devel package
8e599c
installed. You also need to have the readline package installed.
8e599c
8e599c
%package static
8e599c
Summary: Static libraries for the readline library
8e599c
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
8e599c
8e599c
%description static
8e599c
The readline-static package contains the static version of the readline
8e599c
library.
8e599c
8e599c
%prep
8e599c
%autosetup -p1
8e599c
8e599c
%build
8e599c
export CPPFLAGS="-I%{_includedir}/ncurses"
8e599c
%configure
8e599c
%make_build
8e599c
8e599c
%install
8e599c
%make_install
8e599c
8e599c
rm -rf $RPM_BUILD_ROOT%{_datadir}/readline
8e599c
rm -rf $RPM_BUILD_ROOT%{_docdir}/readline
8e599c
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
8e599c
8e599c
%post
8e599c
/sbin/ldconfig
8e599c
/sbin/install-info %{_infodir}/history.info %{_infodir}/dir || :
8e599c
/sbin/install-info %{_infodir}/rluserman.info %{_infodir}/dir || :
8e599c
8e599c
%postun -p /sbin/ldconfig
8e599c
8e599c
%preun
8e599c
if [ $1 = 0 ]; then
8e599c
  /sbin/install-info --delete %{_infodir}/history.info %{_infodir}/dir || :
8e599c
  /sbin/install-info --delete %{_infodir}/rluserman.info %{_infodir}/dir || :
8e599c
fi
8e599c
8e599c
%post devel
8e599c
/sbin/install-info %{_infodir}/history.info %{_infodir}/dir || :
8e599c
8e599c
%preun devel
8e599c
if [ $1 = 0 ]; then
8e599c
  /sbin/install-info --delete %{_infodir}/readline.info %{_infodir}/dir || :
8e599c
fi
8e599c
8e599c
%files
8e599c
%license COPYING USAGE
8e599c
%{_libdir}/libreadline.so.*
8e599c
%{_libdir}/libhistory.so.*
8e599c
%{_infodir}/history.info*
8e599c
%{_infodir}/rluserman.info*
8e599c
8e599c
%files devel
8e599c
%doc CHANGES NEWS README
8e599c
%doc examples/*.c examples/*.h examples/rlfe
8e599c
%{_includedir}/readline/
8e599c
%{_libdir}/libreadline.so
8e599c
%{_libdir}/libhistory.so
8e599c
%{_mandir}/man3/readline.3*
8e599c
%{_mandir}/man3/history.3*
8e599c
%{_infodir}/readline.info*
8e599c
8e599c
%files static
8e599c
%{_libdir}/libreadline.a
8e599c
%{_libdir}/libhistory.a
8e599c
8e599c
%changelog
8e599c
* Tue Apr  3 2018 Peter Robinson <pbrobinson@fedoraproject.org> 7.0-10
8e599c
- Move USAGE to %%license as it describes usage in a licensing context
8e599c
8e599c
* Mon Mar 26 2018 Siteshwar Vashisht <svashisht@redhat.com> - 7.0-9
8e599c
- Update to readline-7.0 patchlevel 3
8e599c
  Resolves: #1547804
8e599c
8e599c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-8
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8e599c
8e599c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-7
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8e599c
8e599c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-6
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8e599c
8e599c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-5
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8e599c
8e599c
* Mon Jan 16 2017 Igor Gnatenko <ignatenko@redhat.com> - 7.0-4
8e599c
- fix requires in static subpkg
8e599c
8e599c
* Mon Jan 16 2017 Siteshwar Vashisht <svashisht@redhat.com> - 7.0-3
8e599c
- Update to readline-7.0 patchlevel 1
8e599c
8e599c
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 7.0-2
8e599c
- Rebuild for readline 7.x
8e599c
8e599c
* Thu Jan 12 2017 Siteshwar Vashisht <svashisht@redhat.com> - 7.0-1
8e599c
- Rebase to Readline-7.0
8e599c
  Resolves: #1376611
8e599c
8e599c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.3-8
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8e599c
8e599c
* Thu Aug 13 2015 Miroslav Lichvar <mlichvar@redhat.com> 6.3-7
8e599c
- fix building with new rpm
8e599c
- rebuild for new ncurses
8e599c
8e599c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-6
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8e599c
8e599c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-5
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8e599c
8e599c
* Mon Aug  4 2014 Tom Callaway <spot@fedoraproject.org> - 6.3-4
8e599c
- fix license handling
8e599c
8e599c
* Tue Jul 22 2014 jchaloup <jchaloup@redhat.com> - 6.3-3
8e599c
- related: #1071336
8e599c
  new rebase for readline 6.3
8e599c
8e599c
* Wed Jul  2 2014 Paul Howarth <paul@city-fan.org> - 6.3-2
8e599c
- resolves: #1115432
8e599c
  fix 0003-add-TTY-input-audit-support.patch not to revert readline version
8e599c
  number to 6.2
8e599c
8e599c
* Thu Jun 19 2014 Jan Chaloupka <jchaloup@redhat.com> - 6.3-1
8e599c
- resolves: #1071336
8e599c
  rebase 6.3
8e599c
8e599c
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2-10
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8e599c
8e599c
* Mon May 26 2014 jchaloup <jchaloup@redhat.com> - 6.2-9
8e599c
- resolves: #1077026
8e599c
  Security patch for debug functions
8e599c
8e599c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2-8
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8e599c
8e599c
* Thu Mar 28 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 6.2-7
8e599c
- fix aarch64 build (#926433)
8e599c
8e599c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2-6
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8e599c
8e599c
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2-5
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8e599c
8e599c
* Wed Jan 11 2012 Lukas Nykryn <lnykryn@redhat.com> 6.2-4
8e599c
- temporary fix for problem with gdb, wait for y/n (#701131)
8e599c
8e599c
* Wed Aug 31 2011 Lukas Nykryn <lnykryn@redhat.com> 6.2-3
8e599c
- isxdigit is no longer defined as macro ic c++ (#723299)
8e599c
8e599c
* Tue Mar 01 2011 Miroslav Lichvar <mlichvar@redhat.com> 6.2-2
8e599c
- include patch 001
8e599c
8e599c
* Tue Feb 15 2011 Miroslav Lichvar <mlichvar@redhat.com> 6.2-1
8e599c
- update to 6.2
8e599c
8e599c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1-4
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8e599c
8e599c
* Tue Jan 18 2011 Miroslav Lichvar <mlichvar@redhat.com> 6.1-3
8e599c
- include patches 001, 002 (#657758)
8e599c
- add TTY input audit support (#244350)
8e599c
8e599c
* Wed Feb 17 2010 Lubomir Rintel <lkundrak@v3.sk> 6.1-2
8e599c
- fix the version number in header
8e599c
8e599c
* Tue Jan 12 2010 Miroslav Lichvar <mlichvar@redhat.com> 6.1-1
8e599c
- update to 6.1
8e599c
8e599c
* Tue Aug 25 2009 Miroslav Lichvar <mlichvar@redhat.com> 6.0-3
8e599c
- include patch 004
8e599c
- suppress install-info errors (#515910)
8e599c
- remove dir* in infodir after install (#492097)
8e599c
8e599c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0-2
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8e599c
8e599c
* Tue Jul 14 2009 Miroslav Lichvar <mlichvar@redhat.com> 6.0-1
8e599c
- update to 6.0
8e599c
- include patches 001, 002, 003
8e599c
8e599c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-14
8e599c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8e599c
8e599c
* Sun Mar 23 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 5.2-13
8e599c
- Fix the previous %%changelog entry authorship.
8e599c
8e599c
* Sun Mar 23 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 5.2-12
8e599c
- Fix excessive prompts on CTRL-C abort while the prompt is being printed.
8e599c
8e599c
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.2-11
8e599c
- Autorebuild for GCC 4.3
8e599c
8e599c
* Fri Jan 18 2008 Miroslav Lichvar <mlichvar@redhat.com> 5.2-10
8e599c
- move libreadline to /lib
8e599c
8e599c
* Thu Jan 03 2008 Miroslav Lichvar <mlichvar@redhat.com> 5.2-9
8e599c
- include upstream patches 008-011
8e599c
8e599c
* Mon Nov 05 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-8
8e599c
- fix cursor position when prompt has one invisible character (#358231)
8e599c
- merge review fixes (#226361)
8e599c
- fix source URL
8e599c
8e599c
* Mon Aug 27 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-7
8e599c
- include patches 005, 006, 007
8e599c
8e599c
* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-6
8e599c
- update license tag
8e599c
8e599c
* Tue May 29 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-5
8e599c
- include patches 5.2-003, 5.2-004
8e599c
8e599c
* Thu Mar 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-4
8e599c
- apply 5.2-002 patch
8e599c
8e599c
* Thu Mar 15 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-3
8e599c
- link libreadline with libtinfo (#232277)
8e599c
- include upstream 5.2-001 patch
8e599c
- move static libraries to -static subpackage, spec cleanup
8e599c
8e599c
* Thu Nov 30 2006 Miroslav Lichvar <mlichvar@redhat.com> 5.2-2
8e599c
- require ncurses-devel instead of libtermcap-devel
8e599c
8e599c
* Mon Nov 13 2006 Miroslav Lichvar <mlichvar@redhat.com> 5.2-1
8e599c
- update to 5.2 (#213795)
8e599c
- use CFLAGS when linking (#199374)
8e599c
- package docs and examples (#172497)
8e599c
- spec cleanup
8e599c
8e599c
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.1-1.1
8e599c
- rebuild
8e599c
8e599c
* Mon Jul 10 2006 Jindrich Novy <jnovy@redhat.com> 5.1-1
8e599c
- update to readline-5.1
8e599c
- apply new proposed upstream patches for 5.1 (001-004)
8e599c
- drop "read -e" patch, applied upstream
8e599c
8e599c
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.0-3.2.1
8e599c
- bump again for double-long bug on ppc(64)
8e599c
8e599c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.0-3.2
8e599c
- rebuilt for new gcc4.1 snapshot and glibc changes
8e599c
8e599c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
8e599c
- rebuilt
8e599c
8e599c
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 5.0-3
8e599c
- Rebuild for new GCC.
8e599c
8e599c
* Tue Jan 18 2005 Tim Waugh <twaugh@redhat.com> 5.0-2
8e599c
- Fix line-wrapping (bug #145329).
8e599c
- Apply "read -e" patch from bash package.
8e599c
8e599c
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 5.0-1
8e599c
- 5.0 (bug #144835).
8e599c
8e599c
* Mon Nov 29 2004 Tim Waugh <twaugh@redhat.com> 4.3-14
8e599c
- Added URL tag (bug #141106).
8e599c
8e599c
* Thu Sep  2 2004 Jeremy Katz <katzj@redhat.com> - 4.3-13
8e599c
- rebuild so that static linking against readline will work on ppc64 
8e599c
  without dot symbols
8e599c
8e599c
* Mon Jun 28 2004 Tim Waugh <twaugh@redhat.com> 4.3-12
8e599c
- Build requires libtool (bug #126589).
8e599c
8e599c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
8e599c
- rebuilt
8e599c
8e599c
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
8e599c
- rebuilt
8e599c
8e599c
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
8e599c
- rebuilt
8e599c
8e599c
* Fri Nov 28 2003 Thomas Woerner <twoerner@redhat.com> 4.3-9
8e599c
- removed rpath
8e599c
8e599c
* Thu Nov  6 2003 Tim Waugh <twaugh@redhat.com> 4.3-8
8e599c
- Apply upstream patches (bug #109240 among others).
8e599c
8e599c
* Wed Jun 25 2003 Tim Waugh <twaugh@redhat.com>
8e599c
- devel package requires libtermcap-devel (bug #98015).
8e599c
8e599c
* Wed Jun 25 2003 Tim Waugh <twaugh@redhat.com> 4.3-7
8e599c
- Fixed recursion loop (bug #92372).
8e599c
8e599c
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
8e599c
- rebuilt
8e599c
8e599c
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
8e599c
- rebuilt
8e599c
8e599c
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
8e599c
- rebuild in current collinst
8e599c
- BuildRequires autoconf only
8e599c
8e599c
* Wed Aug 07 2002 Phil Knirsch <pknirsch@redhat.com> 4.3-3
8e599c
- Fixed Esc-O-M stack overflow bug.
8e599c
8e599c
* Mon Jul 22 2002 Phil Knirsch <pknirsch@redhat.com> 4.3-1
8e599c
- Updated to latest readline release 4.3
8e599c
8e599c
* Thu Jul 11 2002 Phil Knirsch <pknirsch@redhat.com> 4.2a-7
8e599c
- Fixed problem with alpha build.
8e599c
8e599c
* Wed Jul 10 2002 Phil Knirsch <pknirsch@redhat.com>
8e599c
- Fixed utf8 problem (originally observed in bash).
8e599c
8e599c
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 4.2a-6
8e599c
- automated rebuild
8e599c
8e599c
* Thu May 23 2002 Tim Powers <timp@redhat.com> 4.2a-5
8e599c
- automated rebuild
8e599c
8e599c
* Wed Mar 20 2002 Trond Eivind Glomsrød <teg@redhat.com> 4.2a-4
8e599c
- Use autoconf 2.53, not 2.52
8e599c
8e599c
* Mon Mar  4 2002 Bernhard Rosenkraenzer <bero@redhat.com> 4.2a-3
8e599c
- Rebuild
8e599c
8e599c
* Mon Nov 26 2001 Matt Wilson <msw@redhat.com> 4.2a-2
8e599c
- removed the manual symlinking of .so, readline handles this by itself
8e599c
- call only %%makeinstall, not %%makeinstall install install-shared as
8e599c
  this makes bogus .old files in the buildroot
8e599c
8e599c
* Tue Nov 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2a-1
8e599c
- 4.2a
8e599c
8e599c
* Tue Oct  2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-4
8e599c
- Work around autoconf bug
8e599c
8e599c
* Mon Oct  1 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-3
8e599c
- Don't use readline's internal re-implementation of strpbrk on systems
8e599c
  that have strpbrk - the system implementation is faster and better maintained.
8e599c
8e599c
* Tue Aug  7 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-2
8e599c
- Make sure headers can be included from C++ applications (#51131)
8e599c
  (Patch based on Debian's with the bugs removed ;) )
8e599c
8e599c
* Wed May 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
8e599c
- update to 4.2 and adapt patches
8e599c
8e599c
* Fri Apr  6 2001 Nalin Dahyabhai <nalin@redhat.com>
8e599c
- change the paths listed for the header files in the man page to reflect
8e599c
  the location changes from previous versions (#35073)
8e599c
- note that "on" is acceptable instead of "On" in the man page (#21327)
8e599c
8e599c
* Thu Mar  8 2001 Preston Brown <pbrown@redhat.com>
8e599c
- fix reading of end key termcap value (@7 is correct, was kH) (#30884)
8e599c
8e599c
* Tue Jan 30 2001 Nalin Dahyabhai <nalin@redhat.com>
8e599c
- mark the man page as currently out-of-date (#25294)
8e599c
8e599c
* Thu Sep  7 2000 Jeff Johnson <jbj@redhat.com>
8e599c
- FHS packaging (64bit systems need to use libdir).
8e599c
8e599c
* Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
8e599c
- summaries from specspo.
8e599c
8e599c
* Wed Aug  2 2000 Florian La Roche <Florian.LaRoche@redhat.com>
8e599c
- use "rm -f" in specfile
8e599c
8e599c
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
8e599c
- automatic rebuild
8e599c
8e599c
* Mon Jun  5 2000 Jeff Johnson <jbj@redhat.com>
8e599c
- FHS packaging.
8e599c
8e599c
* Tue Mar 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
8e599c
- 4.1
8e599c
8e599c
* Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
8e599c
- update to 4.0
8e599c
8e599c
* Fri Apr 09 1999 Michael K. Johnson <johnsonm@redhat.com>
8e599c
- added guard patch from Taneli Huuskonen <huuskone@cc.helsinki.fi>
8e599c
8e599c
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
8e599c
- auto rebuild in the new build environment (release 4)
8e599c
8e599c
* Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
8e599c
- updated to 2.2.1
8e599c
8e599c
* Wed May 06 1998 Prospector System <bugs@redhat.com>
8e599c
- translations modified for de, fr, tr
8e599c
8e599c
* Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
8e599c
- don't package /usr/info/dir
8e599c
8e599c
* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
8e599c
- devel package moved to Development/Libraries
8e599c
8e599c
* Tue Apr 21 1998 Cristian Gafton <gafton@redhat.com>
8e599c
- updated to 2.2
8e599c
8e599c
* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
8e599c
- spec file cleanups
8e599c
8e599c
* Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
8e599c
- added proper sonames
8e599c
8e599c
* Tue Jul 08 1997 Erik Troan <ewt@redhat.com>
8e599c
- updated to readline 2.1
8e599c
8e599c
* Tue Jun 03 1997 Erik Troan <ewt@redhat.com>
8e599c
- built against glibc