From 97b492d04d61f99af15b9861b2b90509c5492d1c Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 11:10:18 +0000 Subject: [PATCH] auto-import changelog data from readline-4.1-5.src.rpm Thu Aug 17 2000 Jeff Johnson - summaries from specspo. Wed Aug 02 2000 Florian La Roche - use "rm -f" in specfile Wed Jul 12 2000 Prospector - automatic rebuild Mon Jun 05 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 --- .cvsignore | 1 + readline.spec | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 144 insertions(+) create mode 100644 readline.spec diff --git a/.cvsignore b/.cvsignore index e69de29..847786f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +readline-4.1.tar.gz diff --git a/readline.spec b/readline.spec new file mode 100644 index 0000000..ea5984c --- /dev/null +++ b/readline.spec @@ -0,0 +1,142 @@ +Summary: A library for editing typed in command lines. +Name: readline +Version: 4.1 +Release: 5 +Copyright: GPL +Group: System Environment/Libraries +Source: ftp://ftp.gnu.org/gnu/readline-%{version}.tar.gz +Patch0: readline-2.2.1-guard.patch +Prereq: /sbin/install-info /sbin/ldconfig +Prefix: %{_prefix} +Buildroot: %{_tmppath}/%{name}-root +BuildRequires: sed + +%description +The readline library reads a line from the terminal and returns it, +allowing the user to edit the line with standard emacs editing keys. +The readline library allows programmers to provide an easy to use and +more intuitive interface for users. + +If you want to develop programs that will use the readline library, +you'll also need to install the readline-devel package. + +%package devel +Summary: Files needed to develop programs which use the readline library. +Group: Development/Libraries +Requires: readline = %{version} + +%description devel +The readline library will read a line from the terminal and return it. +Use of the readline library allows programmers to provide an easy +to use and more intuitive interface for users. + +If you want to develop programs which will use the readline library, +you'll need to have the readline-devel package installed. You'll also +need to have the readline package installed. + +%prep +%setup -q +%patch0 -p1 -b .guard + +%build +%configure +make all shared + +%install +[ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} +mkdir -p ${RPM_BUILD_ROOT}%{_libdir} + +%makeinstall install install-shared + +chmod 755 ${RPM_BUILD_ROOT}/%{prefix}/lib/*.so* + +{ cd ${RPM_BUILD_ROOT} + ln -sf libreadline.so.%{version} .%{_libdir}/libreadline.so + ln -sf libhistory.so.%{version} .%{_libdir}/libhistory.so + ln -sf libreadline.so.%{version} \ + .%{_libdir}/libreadline.so.`echo %{version} | sed 's^\..*^^g'` + ln -sf libhistory.so.%{version} \ + .%{_libdir}/libhistory.so.`echo %{version} | sed 's^\..*^^g'` + 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 +* 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 diff --git a/sources b/sources index e69de29..ccdd141 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d0c31936fb627237275fdfd991fe3873 readline-4.1.tar.gz