Name: libreadline Version: 6.1 Release: 2mamba Summary: Lets users edit command lines as they are typed in Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnu.org/directory/GNU/readline.html Source0: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz Source1: ftp://ftp.gnu.org/gnu/readline/readline-doc-5.0.tar.gz Patch0: readline-5.2-fixes-3.patch License: LGPL PreReq: %{__install_info} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{version}-%{release} %description devel The Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands. This package contains static libraries and header files need for development. %package doc Summary: Documentation for the readline GNU library Group: Documentation %description doc The Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands. This package includes manuals for %{name} in pdf and HTML format. %prep %setup -q -n readline-%{version} -a1 %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall # fixup strange shared library permissions chmod 755 %{buildroot}%{_libdir}/*.so* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post /sbin/ldconfig %install_info readline.info %install_info history.info %install_info rluserman.info %postun -p /sbin/ldconfig %preun %uninstall_info readline.info %uninstall_info history.info %uninstall_info rluserman.info exit 0 %files %defattr(-,root,root) %{_libdir}/*.so.* %{_infodir}/* %{_mandir}/man3/* %doc CHANGELOG CHANGES COPYING NEWS README %files devel %defattr(-,root,root) %{_datadir}/readline/*.c %{_libdir}/*.a %{_libdir}/*.so %dir %{_includedir}/readline %{_includedir}/readline/*.h %files doc %defattr(-,root,root) %doc doc/*.pdf doc/*.html %changelog * Mon Jun 07 2010 gil 6.1-2mamba - rebuilt (milestone 1) * Wed Jan 13 2010 Automatic Build System 6.1-1mamba - automatic update by autodist * Sun Mar 22 2009 Silvan Calarco 6.0-1mamba - automatic update by autodist * Fri Sep 14 2007 Silvan Calarco 5.2-2mamba - added patch with various fixes * Fri Oct 13 2006 Davide Madrisan 5.2-1qilnx - update to version 5.2 by autospec * Tue Dec 13 2005 Davide Madrisan 5.1-1qilnx - update to version 5.1 by autospec - new compatibility package %{name}43 * Fri Sep 09 2005 Davide Madrisan 5.0-2qilnx - fixed dynamic libraries permissions * Thu Sep 08 2005 Davide Madrisan 5.0-1qilnx - update to version 5.0 by autospec - several specfile fixes - new package %{name}.doc * Thu Jul 17 2003 Silvan Calarco 4.3-1qilnx - first build for readline