Name: perl-WWW-Babelfish
Version: 0.16
Release: 1%{?dist}
Summary: Perl extension for translation via Babelfish or Google
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/WWW-Babelfish/
Source0: http://www.cpan.org/authors/id/D/DU/DURIST/WWW-Babelfish-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(HTML::TokeParser)
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(IO::String)
BuildRequires: perl(LWP::UserAgent)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Perl interface to the WWW babelfish translation server.
%prep
%setup -q -n WWW-Babelfish-%{version}
%build
# nix internet-based tests
echo n | %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sat Dec 16 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.16-1
- update to 0.16
* Mon Nov 13 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.15-2
- bump
* Thu Oct 26 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.15-1
- Specfile autogenerated by cpanspec 1.69.1.