%define name perl-Term-Readline-Gnu %define real_name Term-ReadLine-Gnu %define version 1.09 %define release 3mdk Summary: Implementation of Internet protocols for Perl Name: %{name} Version: %{version} Release: %{release} Source0: %{real_name}-%{version}.tar.bz2 Copyright: GPL Group: Development/Perl 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 * 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.