%define upstream_name File-Slurp-Remote %define upstream_version 0.44 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Discover canonical hostnames, sometimes with `hostname` License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/File/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Slurp) BuildRequires: perl(File::Temp) BuildRequires: perl(Sys::Hostname::FQDN) BuildRequires: perl(Tie::Hash) BuildArch: noarch %description This is similar to the File::Slurp manpage, but it reads and writes files on remote systems using 'ssh' to get there. It uses ssh/scp to get to the remote systems. You can override the copy command by redefining '$File::Slurp::Remote::scp'. You can override the remote shell command by redefining '$File::Slurp::Remote::SmartOpen::ssh'. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc CHANGELOG META.yml MYMETA.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Mon Mar 05 2012 jquelin <jquelin> 0.440.0-1.mga2 + Revision: 218831 - update to 0.44 * Thu Jun 30 2011 jquelin <jquelin> 0.420.0-1.mga2 + Revision: 116678 - imported package perl-File-Slurp-Remote * Thu Jun 30 2011 cpan2dist 0.42-1mga - initial mageia release, generated with cpan2dist