From e013e6af519fefb997b659b1b90729b9aab6cfe3 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Fri, 21 Apr 2006 21:55:57 +0000 Subject: [PATCH] auto-import perl-File-Fetch-0.07-1 on branch devel from perl-File-Fetch-0.07-1.src.rpm --- .cvsignore | 1 + perl-File-Fetch.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+) create mode 100644 perl-File-Fetch.spec diff --git a/.cvsignore b/.cvsignore index e69de29..9bdb71a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +File-Fetch-0.07.tar.gz diff --git a/perl-File-Fetch.spec b/perl-File-Fetch.spec new file mode 100644 index 0000000..0e78258 --- /dev/null +++ b/perl-File-Fetch.spec @@ -0,0 +1,57 @@ +Name: perl-File-Fetch +Version: 0.07 +Release: 1%{?dist} +Summary: A 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/K/KA/KANE/File-Fetch-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(IPC::Cmd) >= 0.04 +BuildRequires: perl(Locale::Maketext::Simple) +BuildRequires: perl(Module::Load::Conditional) >= 0.04 +BuildRequires: perl(Params::Check) >= 0.07 +Requires: perl(IPC::Cmd) >= 0.04 +Requires: perl(Module::Load::Conditional) >= 0.04 +Requires: perl(Params::Check) >= 0.07 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +File::Fetch is a generic file fetching mechanism. + +%prep +%setup -q -n File-Fetch-%{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 -type d -depth -exec rmdir {} 2>/dev/null \; + +chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* + +%check +%{?_with_check:make test} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Mar 23 2006 Steven Pritchard 0.07-1 +- Specfile autogenerated by cpanspec 1.62. +- Fix License. +- Drop explicit Requires: perl(Locale::Maketext::Simple). +- Disable "make test" by default (requires Internet connectivity). diff --git a/sources b/sources index e69de29..dd21967 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +53135c09fa15e9cb0a980b153b9634e0 File-Fetch-0.07.tar.gz