From 4dea268b17fad556fc9266e8206a285c11427967 Mon Sep 17 00:00:00 2001 From: Normunds Neimanis <l...@rule.lv> Date: Fri, 22 Feb 2013 20:34:07 +0200 Subject: Initial import (#913481).
--- .gitignore | 1 + perl-Net-SFTP-Foreign.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 90 insertions(+) create mode 100644 perl-Net-SFTP-Foreign.spec diff --git a/.gitignore b/.gitignore index e69de29..22cc0a7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Net-SFTP-Foreign-1.74_05.tar.gz diff --git a/perl-Net-SFTP-Foreign.spec b/perl-Net-SFTP-Foreign.spec new file mode 100644 index 0000000..a12ff90 --- /dev/null +++ b/perl-Net-SFTP-Foreign.spec @@ -0,0 +1,88 @@ +Name: perl-Net-SFTP-Foreign +%global real_version 1.74_05 +Version: 1.74.05 +Release: 1%{?dist} +Summary: SSH File Transfer Protocol client + +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Net-SFTP-Foreign +Source0: http://cpan.metacpan.org/authors/id/S/SA/SALVA/Net-SFTP-Foreign-%{real_version}.tar.gz + + +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings::register) +BuildRequires: perl(Exporter) +BuildRequires: perl(lib) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Cwd) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Carp) +BuildRequires: perl(Symbol) +BuildRequires: perl(Errno) +BuildRequires: perl(Fcntl) +BuildRequires: perl(constant) +BuildRequires: perl(IO::File) +BuildRequires: perl(IO::Dir) +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(Math::BigInt) +BuildRequires: perl(Encode) +BuildRequires: perl(Net::SFTP) +BuildRequires: perl(POSIX) +BuildRequires: perl(Tie::Handle) + + +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:real_version`"; echo $real_version)) +Requires: perl(Encode) +#Requires: perl(bytes) # Needed only in Perl <= 5.8.x +Requires: perl(IO::File) +Requires: perl(IO::Dir) +Requires: openssh-clients + + +%{?perl_default_filter} + + +%description +Net::SFTP::Foreign is a Perl client for the SFTP version 3 as defined in the SSH +File Transfer Protocol IETF draft, draft-ietf-secsh-filexfer-02.txt, included on +this package distribution, on the rfc directory. + +Net::SFTP::Foreign uses any compatible ssh command installed on the system (for +instance, OpenSSH ssh) to establish the secure connection to the remote server. + +A wrapper module Net::SFTP::Foreign::Compat is also provided for compatibility +with Net::SFTP. + + +%prep +%setup -q -n Net-SFTP-Foreign-%{real_version} +rm lib/Net/SFTP/Foreign/Backend/Windows.pm + + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +%{_fixperms} %{buildroot}/* + + +%check +make test + + +%files +%doc LICENSE Changes README debug.txt TODO rfc samples +%{perl_vendorlib}/* +%{_mandir}/man3/* + + +%changelog +* Mon Feb 18 2013 Normunds Neimanis <fedorapkg at rule.lv> 1.74.05-1 +- Package for current Fedora diff --git a/sources b/sources index e69de29..f41077c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c480c757ce2c39e783bb8fda7beaf94f Net-SFTP-Foreign-1.74_05.tar.gz -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Net-SFTP-Foreign.git/commit/?h=epel7&id=4dea268b17fad556fc9266e8206a285c11427967 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org