%define name perl-Term-Readline-Gnu %define real_name Term-ReadLine-Gnu %define version 1.11 %define release 1mdk Summary: GNU Readline for perl. Name: %{name} Version: %{version} Release: %{release} Source0: %{real_name}-%{version}.tar.bz2 License: GPL Group: Development/Perl URL: http://www.cpan.org BuildRequires: libtermcap-devel perl-devel readline-devel BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} Requires: perl >= 5.004 %description This is an implementation of the interface to the GNU Readline Library. This module gives you input line editing facility, input history management facility, word completion facility, etc. It uses the real GNU Readline Library. And this module has the interface with the almost all variables and functions which are documented in the GNU Readline/History Library. So you can program your custom editing function, your custom completion function, and so on with Perl. This may be useful for prototyping before programming with C. %prep %setup -n %{real_name}-%{version} %build %{__perl} Makefile.PL PREFIX=%{prefix} %make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{prefix} %install rm -rf $RPM_BUILD_ROOT %makeinstall PREFIX=$RPM_BUILD_ROOT%{prefix} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %{_libdir}/perl5/man/*/* %{perl_sitearch}/Term %dir %{perl_sitearch}/auto/Term %dir %{perl_sitearch}/auto/Term/ReadLine %dir %{perl_sitearch}/auto/Term/ReadLine/Gnu %{perl_sitearch}/auto/Term/ReadLine/Gnu/Gnu.* %{perl_sitearch}/auto/Term/ReadLine/Gnu/XS %changelog * Wed Nov 07 2001 François Pons <fpons@mandrakesoft.com> 1.11-1mdk - removed patch now integrated for filename completion in perl db. - 1.11. * Mon Oct 15 2001 Stefan van der Eijk <stefan@eijk.nu> 1.10-3mdk - BuildRequires: libtermcap-devel perl-devel readline-devel * Mon Sep 03 2001 François Pons <fpons@mandrakesoft.com> 1.10-2mdk - created patch for filename completion (in perl db). * Fri Aug 24 2001 François Pons <fpons@mandrakesoft.com> 1.10-1mdk - 1.10. * Sun Jun 17 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.09-4mdk - Correct the definitely misleading summary aka oh gee someone is on drugs? ;) - Rebuild for the latest perl. * Tue Aug 29 2000 François Pons <fpons@mandrakesoft.com> 1.09-3mdk - build release. * Thu Aug 03 2000 François Pons <fpons@mandrakesoft.com> 1.09-2mdk - macroszifications. - add doc. * Tue Jul 18 2000 François Pons <fpons@mandrakesoft.com> 1.09-1mdk - 1.09. - removed patch for compilation with perl 5.6.0. * Mon Apr 04 2000 François Pons <fpons@mandrakesoft.com> 1.08-2mdk - added patch for compilation with perl 5.6.0. - updated spec file and Group. * Tue Jan 4 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> - First package needed for perl-debug.