%define real_name WWW-Mechanize-Shell Summary: WWW::Mechanize::Shell - An interactive shell for WWW::Mechanize Name: perl-%{real_name} Version: 0.36 Release: 1mdk License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: %{real_name}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRequires: perl-WWW-Mechanize-FormFiller BuildRequires: perl-HTML-TokeParser-Simple BuildRequires: perl-Term-Shell BuildRequires: perl-Hook-LexWrap BuildRequires: perl-Test-Without-Module BuildRequires: perl-File-Modified BuildRequires: perl-Pod-Constants BuildRequires: perl-Test-Inline BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description This module implements a www-like shell above WWW::Mechanize and also has the capability to output crude Perl code that recreates the recorded session. Its main use is as an interactive starting point for automating a session through WWW::Mechanize. %prep %setup -q -n %{real_name}-%{version} # pod2test is gone in perl-Test-Inline perl -pi -e "s|pod2test|/bin/true|g" Makefile.PL %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make # make test don't work... #make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/WWW/Mechanize/Shell.pm %{perl_vendorlib}/HTML/*.pm %{perl_vendorlib}/HTML/Display/*.pm %{perl_vendorlib}/HTML/Display/OSX/*.pm %{perl_vendorlib}/HTML/Display/Win32/*.pm %{_mandir}/*/* %changelog * Wed Jul 20 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.36-1mdk - 0.36 * Fri Jul 15 2005 Oden Eriksson <oeriksson@mandriva.com> 0.34-1mdk - initial Mandriva package