Summary: A library for editing typed in command lines. Summary(ja): Readline ライブラリ Name: readline6 Version: 6.3 Release: 2%{?_dist_release} License: GPLv3+ Group: System Environment/Libraries URL: http://tiswww.tis.case.edu/~chet/readline/rltop.html Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz # upstream patches Patch1: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-001 Patch2: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-002 Patch3: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-003 Patch4: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-004 Patch5: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-005 Patch6: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-006 Patch7: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-007 Patch8: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-008 # add workaround for problem in gdb # in new version of readline needs to be deleted # bz701131 Patch9: readline-6.2-gdb.patch # fix file permissions, remove RPATH, use CFLAGS Patch10: readline-6.2-shlib.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: sed BuildRequires: ncurses-devel Requires(post): /sbin/install-info, /sbin/ldconfig Requires(preun): /sbin/install-info Requires(postun): /sbin/ldconfig Vendor: Project Vine Distribution: Vine Linux %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} %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. %description -l ja Readline ライブラリは、ユーザーがコマンドラインを編集する機能を提供します。 Emacs と vi の編集モードが利用可能です。Readline ライブラリはさらに、 これまで入力されたコマンドライン履歴を保持し、再利用する機能も備えています。 %package devel Summary: Files needed to develop programs which use the readline library. Summary(ja): Readline ライブラリを使うプログラムための開発用ライブラリ Group: Development/Libraries Requires: readline = %{version} Requires: ncurses-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. %package -n compat32-%{name} Summary: A library for editing typed in command lines. Summary(ja): Readline ライブラリ Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description -n compat32-%{name} 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. %description -n compat32-%{name} -l ja Readline ライブラリは、ユーザーがコマンドラインを編集する機能を提供します。 Emacs と vi の編集モードが利用可能です。Readline ライブラリはさらに、 これまで入力されたコマンドライン履歴を保持し、再利用する機能も備えています。 %package -n compat32-%{name}-devel Summary: Files needed to develop programs which use the readline library. Summary(ja): Readline ライブラリを使うプログラムための開発用ライブラリ Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: %{name}-devel = %{version}-%{release} Requires: compat32-ncurses-devel %description -n compat32-%{name}-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 -n readline-%{version} # upstream patches %patch1 -p0 -b .001 %patch2 -p0 -b .002 %patch3 -p0 -b .003 %patch4 -p0 -b .004 %patch5 -p0 -b .005 %patch6 -p0 -b .006 %patch7 -p0 -b .007 %patch8 -p0 -b .008 %patch9 -p1 -b .gdb %patch10 -p1 -b .shlib %build export CPPFLAGS="-I%{_includedir}/ncurses" %configure make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_libdir} make DESTDIR=$RPM_BUILD_ROOT install mkdir $RPM_BUILD_ROOT/%{_lib} mv $RPM_BUILD_ROOT%{_libdir}/libreadline.so.* $RPM_BUILD_ROOT/%{_lib} for l in $RPM_BUILD_ROOT%{_libdir}/libreadline.so; do ln -sf $(echo %{_libdir} | \ sed 's,\(^/\|\)[^/][^/]*,..,g')/%{_lib}/$(readlink $l) $l done rm -rf $RPM_BUILD_ROOT%{_datadir} rm -rf $RPM_BUILD_ROOT%{_includedir} rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,so} %clean [ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT} %post /sbin/ldconfig %if 0 /sbin/install-info %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null /sbin/install-info %{_infodir}/rluserman.info.gz %{_infodir}/dir &> /dev/null : %endif %postun -p /sbin/ldconfig %post -n compat32-%{name} -p /sbin/ldconfig %postun -n compat32-%{name} -p /sbin/ldconfig %if 0 %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null /sbin/install-info --delete %{_infodir}/rluserman.info.gz %{_infodir}/dir &> /dev/null fi : %post devel /sbin/install-info %{_infodir}/readline.info.gz %{_infodir}/dir &> /dev/null : %preun devel if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/readline.info.gz %{_infodir}/dir &> /dev/null fi : %endif %files %defattr(-,root,root) %license COPYING %doc CHANGES NEWS README USAGE /%{_lib}/libreadline*.so.* %{_libdir}/libhistory*.so.* %if 0 %files devel %defattr(-,root,root) %doc examples/*.c examples/*.h examples/rlfe %{_includedir}/readline %{_libdir}/lib*.a %{_libdir}/lib*.so %{_infodir}/readline.info* %{_mandir}/man*/* %endif %if %{build_compat32} %files -n compat32-%{name} %defattr(-,root,root) /%{_lib}/libreadline*.so.* %{_libdir}/libhistory*.so.* %if 0 %files -n compat32-%{name}-devel %defattr(-,root,root) %{_libdir}/lib*.a %{_libdir}/lib*.so %endif %endif %changelog * Fri Aug 30 2019 Tomohiro "Tomo-p" KATO 6.3-2 - changed %%name for compatibility. * Sat Mar 21 2015 Ryoichi INAGAKI 6.3-1 - new upstream release - update upstream patches (patch1-8) * Fri Dec 27 2013 Yoji TOYODA 5.2-5 - rebuild with VineSeed environment * Sun Apr 17 2011 IWAI, Masaharu 5.2-4 - add upstream patches 13,14 (Patch13,14) * Fri Mar 5 2010 MATSUBAYASHI Kohji - 5.2-3 - rebuilt with new toolchain - add Requires(post,pre): /sbin/ldconfig * Tue Aug 19 2008 Daisuke SUZUKI 5.2-2vl5 - build with ncurses-devel - spec in utf8 - move libncurses.so.* to %%_lib from %%_libdir * Sat Apr 19 2008 Ryoichi INAGAKI 5.2-1vl5 - added upstream patches (patch8-12) * Fri Oct 19 2007 Ryoichi INAGAKI 5.2-0vl1 - new upstream release - update upstream patches (patch1-7) * Sun Mar 19 2006 KAZUKI SHIMURA 5.1-0vl1 - new upstream release - update upstream patches (patch1-4) - add doc/*.{html,pdf} instead of doc/ * Sun Mar 19 2006 KAZUKI SHIMURA 4.3-5vl3 - s/Copyright/License/ - add URL - update source URL - add PreReq: ldconfig - move outdated.patch (patch1) to patch10 - add upstream patches (patch1-5) - add no_rpath.patch (patch11) * Fri Oct 28 2005 NAKAMURA Kenta 4.3-5vl2 - added compat32- packages for x86_64 architecture support - fixed %files section (TODO* has been removed) * Sat Mar 8 2003 Daisuke SUZUKI 4.3-5vl1 - new upstream release 4.3 - merged with rawhide package. * 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 Glomsrod 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) * Tue Sep 4 2001 Jun Nishii 4.1-6vl5 - remove texi2dvi and texi2html from doc/ * Fri Jun 29 2001 Jun Nishii 4.1-6vl4 - added doc and examples * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji - 4.1-6vl3 - rebuilt for VineSeed * Wed Dec 13 2000 MATSUBAYASHI 'Shaolin' Kohji - 4.1-6vl2 - Oops, spec was written in SJIS... * Sat Dec 9 2000 Jun Nishii - 4.1-6vl1 - got i18n patch from Kondara * 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