c869b20
Name:           perl-LWP-Online
c869b20
Version:        1.07
c47a2eb
Release:        2%{?dist}
c869b20
Summary:        Module for accessing web by proccess
c869b20
License:        GPL+ or Artistic
c869b20
Group:          Development/Libraries
c869b20
URL:            http://search.cpan.org/dist/LWP-Online/
c869b20
Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/LWP-Online-%{version}.tar.gz
c869b20
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c869b20
BuildArch:      noarch
c869b20
BuildRequires:  perl(ExtUtils::MakeMaker)
c869b20
BuildRequires:  perl(LWP::Simple)
c869b20
BuildRequires:  perl(Test::More) >= 0.42
c869b20
BuildRequires:  perl(URI)
c869b20
Requires:       perl(LWP::Simple)
c869b20
Requires:       perl(URI)
c869b20
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
c869b20
c869b20
%description
c869b20
This module attempts to answer, as accurately as it can, one of the
c869b20
nastiest technical questions there is.
c869b20
c869b20
%prep
c869b20
%setup -q -n LWP-Online-%{version}
c869b20
c869b20
%build
c869b20
%{__perl} Makefile.PL INSTALLDIRS=vendor
c869b20
make %{?_smp_mflags}
c869b20
c869b20
%install
c869b20
rm -rf $RPM_BUILD_ROOT
c869b20
c869b20
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
c869b20
c869b20
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
c869b20
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
c869b20
c869b20
%{_fixperms} $RPM_BUILD_ROOT/*
c869b20
c869b20
%check
c869b20
%{?!_with_network_tests: rm t/02_main.t }
c869b20
make test
c869b20
c869b20
%clean
c869b20
rm -rf $RPM_BUILD_ROOT
c869b20
c869b20
%files
c869b20
%defattr(-,root,root,-)
c869b20
%doc Changes LICENSE README
c869b20
%{perl_vendorlib}/*
c869b20
%{_mandir}/man3/*
c869b20
c869b20
%changelog
c47a2eb
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.07-2
c47a2eb
- rebuild against perl 5.10.1
c47a2eb
c869b20
* Wed Nov 18 2009 Marcela Mašláňová <mmaslano@redhat.com> 1.07-1
c869b20
- Specfile autogenerated by cpanspec 1.78.