Name: perl-File-Fetch Version: 0.42 Release: 2%{?dist} Summary: Generic file fetching mechanism License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-Fetch/ Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/File-Fetch-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Cwd) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) >= 0.82 BuildRequires: perl(File::Spec::Unix) BuildRequires: perl(File::Temp) BuildRequires: perl(FileHandle) BuildRequires: perl(IPC::Cmd) >= 0.42 BuildRequires: perl(Locale::Maketext::Simple) BuildRequires: perl(Module::Load::Conditional) >= 0.04 BuildRequires: perl(Params::Check) >= 0.07 BuildRequires: perl(vars) # Keep all downaloaders optional (LWP, curl, rsync etc.). # Tests: BuildRequires: perl(Data::Dumper) BuildRequires: perl(lib) BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(File::Spec) >= 0.82 Requires: perl(IPC::Cmd) >= 0.42 Requires: perl(Locale::Maketext::Simple) Requires: perl(Module::Load::Conditional) >= 0.04 Requires: perl(Params::Check) >= 0.07 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Spec|IPC::Cmd|Module::Load::Conditional|Params::Check)\\)$ %description File::Fetch allows you to fetch any file pointed to by a "ftp", "http", "file", "git", or "rsync" URI by a number of different means. %prep %setup -q -n File-Fetch-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc CHANGES README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Dec 27 2013 Daniel Mach - 0.42-2 - Mass rebuild 2013-12-27 * Mon Apr 15 2013 Petr Pisar - 0.42-1 - 0.42 bump * Fri Mar 15 2013 Petr Pisar 0.38-1 - Specfile autogenerated by cpanspec 1.78.