af2c18
Name:           perl-File-Fetch
af2c18
Version:        1.00
af2c18
Release:        1%{?dist}
af2c18
Summary:        Generic file fetching mechanism
af2c18
License:        GPL+ or Artistic
af2c18
URL:            https://metacpan.org/release/File-Fetch
af2c18
Source0:        https://cpan.metacpan.org/authors/id/B/BI/BINGOS/File-Fetch-%{version}.tar.gz
af2c18
BuildArch:      noarch
af2c18
BuildRequires:  coreutils
af2c18
BuildRequires:  make
af2c18
BuildRequires:  perl-generators
af2c18
BuildRequires:  perl-interpreter
af2c18
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
af2c18
BuildRequires:  perl(strict)
af2c18
# Run-time:
af2c18
BuildRequires:  perl(Carp)
af2c18
BuildRequires:  perl(constant)
af2c18
BuildRequires:  perl(Cwd)
af2c18
BuildRequires:  perl(File::Basename)
af2c18
BuildRequires:  perl(File::Copy)
af2c18
BuildRequires:  perl(File::Path)
af2c18
BuildRequires:  perl(File::Spec) >= 0.82
af2c18
BuildRequires:  perl(File::Spec::Unix)
af2c18
BuildRequires:  perl(File::Temp)
af2c18
BuildRequires:  perl(FileHandle)
af2c18
BuildRequires:  perl(IPC::Cmd) >= 0.42
af2c18
BuildRequires:  perl(Locale::Maketext::Simple)
af2c18
BuildRequires:  perl(Module::Load::Conditional) >= 0.66
af2c18
BuildRequires:  perl(Params::Check) >= 0.07
af2c18
BuildRequires:  perl(vars)
af2c18
# Keep all downaloaders optional (LWP, curl, rsync etc.).
af2c18
# Tests:
af2c18
BuildRequires:  perl(Data::Dumper)
af2c18
BuildRequires:  perl(IO::Socket::INET)
af2c18
BuildRequires:  perl(lib)
af2c18
BuildRequires:  perl(Test::More)
af2c18
BuildRequires:  perl(warnings)
af2c18
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
af2c18
Requires:       perl(File::Spec) >= 0.82
af2c18
Requires:       perl(IPC::Cmd) >= 0.42
af2c18
Requires:       perl(Locale::Maketext::Simple)
af2c18
Requires:       perl(Module::Load::Conditional) >= 0.66
af2c18
Requires:       perl(Params::Check) >= 0.07
af2c18
# Keep all downaloaders optional (LWP, curl, rsync etc.).
af2c18
Suggests:       git-core
af2c18
Suggests:       perl(LWP)
af2c18
Suggests:       perl(LWP::Protocol::https)
af2c18
Suggests:       rsync
af2c18
af2c18
# Remove under-specified dependencies
af2c18
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Spec|IPC::Cmd|Module::Load::Conditional|Params::Check)\\)$
af2c18
af2c18
%description
af2c18
File::Fetch allows you to fetch any file pointed to by a "ftp", "http",
af2c18
"file", "git", or "rsync" URI by a number of different means.
af2c18
af2c18
%prep
af2c18
%setup -q -n File-Fetch-%{version}
af2c18
af2c18
%build
af2c18
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
af2c18
%{make_build}
af2c18
af2c18
%install
af2c18
%{make_install}
af2c18
%{_fixperms} $RPM_BUILD_ROOT/*
af2c18
af2c18
%check
af2c18
make test
af2c18
af2c18
%files
af2c18
%doc CHANGES README
af2c18
%{perl_vendorlib}/*
af2c18
%{_mandir}/man3/*
af2c18
af2c18
%changelog
af2c18
* Thu Nov 12 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.00-1
af2c18
- 1.00 bump
af2c18
af2c18
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.56-457
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
af2c18
af2c18
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.56-456
af2c18
- Increase release to favour standalone package
af2c18
af2c18
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.56-440
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
af2c18
af2c18
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.56-439
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
af2c18
af2c18
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.56-438
af2c18
- Increase release to favour standalone package
af2c18
af2c18
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.56-418
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
af2c18
af2c18
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.56-417
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
af2c18
af2c18
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.56-416
af2c18
- Increase release to favour standalone package
af2c18
af2c18
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.56-2
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
af2c18
af2c18
* Fri Dec 01 2017 Petr Pisar <ppisar@redhat.com> - 0.56-1
af2c18
- 0.56 bump
af2c18
af2c18
* Mon Sep 25 2017 Petr Pisar <ppisar@redhat.com> - 0.54-1
af2c18
- 0.54 bump
af2c18
af2c18
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.52-394
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
af2c18
af2c18
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-393
af2c18
- Perl 5.26 rebuild
af2c18
af2c18
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.52-2
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
af2c18
af2c18
* Mon Aug 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-1
af2c18
- 0.52 bump
af2c18
af2c18
* Tue Aug 09 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.50-1
af2c18
- 0.50 bump
af2c18
af2c18
* Tue Aug 02 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-366
af2c18
- Avoid loading optional modules from default . (CVE-2016-1238)
af2c18
af2c18
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-365
af2c18
- Increase release to favour standalone package
af2c18
af2c18
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.48-347
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
af2c18
af2c18
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.48-346
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
af2c18
af2c18
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-345
af2c18
- Increase release to favour standalone package
af2c18
af2c18
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-311
af2c18
- Perl 5.22 rebuild
af2c18
af2c18
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-310
af2c18
- Increase release to favour standalone package
af2c18
af2c18
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-3
af2c18
- Perl 5.20 rebuild
af2c18
af2c18
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.48-2
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
af2c18
af2c18
* Mon Jan 27 2014 Petr Pisar <ppisar@redhat.com> - 0.48-1
af2c18
- 0.48 bump
af2c18
af2c18
* Thu Nov 28 2013 Petr Pisar <ppisar@redhat.com> - 0.46-1
af2c18
- 0.46 bump
af2c18
af2c18
* Tue Oct 01 2013 Petr Pisar <ppisar@redhat.com> - 0.44-1
af2c18
- 0.44 bump
af2c18
af2c18
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.42-3
af2c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
af2c18
af2c18
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 0.42-2
af2c18
- Perl 5.18 rebuild
af2c18
af2c18
* Mon Apr 15 2013 Petr Pisar <ppisar@redhat.com> - 0.42-1
af2c18
- 0.42 bump
af2c18
af2c18
* Fri Mar 15 2013 Petr Pisar <ppisar@redhat.com> 0.38-1
af2c18
- Specfile autogenerated by cpanspec 1.78.