2010-11-07 07:10:18 +00:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
2012-02-15 20:55:39 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-File-Fetch
|
|
|
|
#
|
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2010-11-07 07:10:18 +00:00
|
|
|
|
|
|
|
Name: perl-File-Fetch
|
2012-02-15 20:55:39 +00:00
|
|
|
Version: 0.32
|
2010-11-07 07:10:18 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Generic file fetching code
|
2012-02-15 20:55:39 +00:00
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2010-11-07 07:10:18 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2012-02-15 20:55:39 +00:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/File-Fetch-%{version}.tar.gz
|
|
|
|
Url: http://search.cpan.org/dist/File-Fetch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-11-30 19:25:41 +00:00
|
|
|
%{perl_requires}
|
2012-02-15 20:55:39 +00:00
|
|
|
BuildRequires: make
|
2010-11-07 07:10:18 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:04:56 +00:00
|
|
|
BuildRequires: perl-macros
|
2010-11-07 07:10:18 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2012-02-15 20:55:39 +00:00
|
|
|
BuildRequires: perl(File::Basename)
|
2010-11-07 07:10:18 +00:00
|
|
|
BuildRequires: perl(File::Copy)
|
2012-02-15 20:55:39 +00:00
|
|
|
BuildRequires: perl(File::Path)
|
2010-11-07 07:10:18 +00:00
|
|
|
BuildRequires: perl(File::Spec) >= 0.82
|
|
|
|
BuildRequires: perl(IPC::Cmd) >= 0.42
|
2012-02-15 20:55:39 +00:00
|
|
|
BuildRequires: perl(Locale::Maketext::Simple)
|
|
|
|
BuildRequires: perl(Module::Load::Conditional) >= 0.04
|
2010-11-07 07:10:18 +00:00
|
|
|
BuildRequires: perl(Params::Check) >= 0.07
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(File::Copy)
|
|
|
|
Requires: perl(Locale::Maketext::Simple)
|
|
|
|
Requires: perl(File::Spec) >= 0.82
|
|
|
|
Requires: perl(IPC::Cmd) >= 0.42
|
|
|
|
Requires: perl(Params::Check) >= 0.07
|
|
|
|
Requires: perl(File::Path)
|
|
|
|
Requires: perl(File::Basename)
|
|
|
|
Requires: perl(Module::Load::Conditional) >= 0.04
|
|
|
|
|
|
|
|
%description
|
|
|
|
File::Fetch is a generic file fetching mechanism.
|
|
|
|
It 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}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
# don't run tests, need an internet connection
|
|
|
|
#%check
|
|
|
|
#%__make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGES README
|
|
|
|
%dir %{perl_vendorlib}/File
|
2010-11-07 07:25:36 +00:00
|
|
|
%{perl_vendorlib}/File/Fetch.pm
|
2010-11-07 07:10:18 +00:00
|
|
|
%dir %{perl_vendorarch}/auto/File
|
|
|
|
%{perl_vendorarch}/auto/File/Fetch
|
|
|
|
%doc %{perl_man3dir}/File::Fetch.%{perl_man3ext}%{ext_man}
|
|
|
|
|
2012-02-15 20:55:39 +00:00
|
|
|
%changelog
|