diff --git a/.cvsignore b/.cvsignore index e69de29..b29503f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +LWP-Online-1.07.tar.gz diff --git a/perl-LWP-Online.spec b/perl-LWP-Online.spec new file mode 100644 index 0000000..c55727d --- /dev/null +++ b/perl-LWP-Online.spec @@ -0,0 +1,55 @@ +Name: perl-LWP-Online +Version: 1.07 +Release: 1%{?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 +* Wed Nov 18 2009 Marcela Mašláňová 1.07-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..e98f484 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d45c35bd3592546cabc6222b501a0274 LWP-Online-1.07.tar.gz