auto-import perl-File-Fetch-0.07-1 on branch devel from
perl-File-Fetch-0.07-1.src.rpm
This commit is contained in:
parent
eaa8222ab3
commit
e013e6af51
@ -0,0 +1 @@
|
||||
File-Fetch-0.07.tar.gz
|
||||
57
perl-File-Fetch.spec
Normal file
57
perl-File-Fetch.spec
Normal file
@ -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 <steve@kspei.com> 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).
|
||||
Loading…
Reference in New Issue
Block a user