Blame compat-readline6.spec

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