Reincarate already died package
This commit is contained in:
parent
ed111b624c
commit
c94c5885f7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
File-Fetch-0.14.tar.gz
|
||||
/File-Fetch-0.38.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
Package obsoleted by the base perl package in 5.10.0.
|
||||
72
perl-File-Fetch.spec
Normal file
72
perl-File-Fetch.spec
Normal file
@ -0,0 +1,72 @@
|
||||
Name: perl-File-Fetch
|
||||
Version: 0.38
|
||||
Release: 1%{?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", 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 Mar 15 2013 Petr Pisar <ppisar@redhat.com> 0.38-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user