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