Name: perl-Net-SFTP-Foreign %global real_version 1.74_05 Version: 1.74.5 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) 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: perl(lib) Requires: perl(Cwd) Requires: openssh-clients %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} %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 Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Feb 18 2013 Normunds Neimanis 1.74.5-1 - Package for current Fedora