X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;ds=inline;f=perl-Net-SCP-Expect.spec;h=8982563542e9ff43028a1ea2324f611b05459a99;hb=HEAD;hp=4e41978ecebbd0ffbe50dff8321a8344c22b1a0c;hpb=41324a2c06f31ae3ff0bd2f18fa461316edb640d;p=packages%2Fperl-Net-SCP-Expect.git diff --git a/perl-Net-SCP-Expect.spec b/perl-Net-SCP-Expect.spec index 4e41978..8982563 100644 --- a/perl-Net-SCP-Expect.spec +++ b/perl-Net-SCP-Expect.spec @@ -1,23 +1,24 @@ # # Conditional build: -%bcond_without tests # do not perform "make test" +%bcond_without tests # do not perform "make test" # -%include /usr/lib/rpm/macros.perl -%define pdir Net -%define pnam SCP-Expect +%define pdir Net +%define pnam SCP-Expect Summary: Net::SCP::Expect - Wrapper for scp that allows passwords via Expect -Summary(pl): Net::SCP::Expect - wrapper dla scp umo¿liwiaj±cy podawanie hase³ przez Expect +Summary(pl.UTF-8): Net::SCP::Expect - wrapper dla scp umożliwiający podawanie haseł przez Expect Name: perl-Net-SCP-Expect -Version: 0.10 +Version: 0.16 Release: 1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl -Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: 272080e0abdcf7e8b70cb61f51d05a35 +Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: a3d8f5e6a34ba3df8527aea098f64a58 +URL: http://search.cpan.org/dist/Net-SCP-Expect/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} +BuildRequires: perl(Net::IPv6Addr) >= 0.2 BuildRequires: perl-Expect >= 1.14 BuildRequires: perl-Term-ReadPassword >= 0.01 %endif @@ -25,15 +26,15 @@ BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -This module is simply a wrapper around the scp call. The primary -difference between this module and Net::SCP is that you may send -a password programmatically, instead of being forced to deal with +This module is simply a wrapper around the scp call. The primary +difference between this module and Net::SCP is that you may send a +password programmatically, instead of being forced to deal with interactive sessions. -%description -l pl -Ten modu³ jest prostym wrapperem dla wywo³añ scp. G³ówna ró¿nica -miêdzy tym modu³em a Net::SCP jest taka, ¿e mo¿na programowo wys³aæ -has³o zamiast byæ zmuszonym do obs³ugi interaktywnych sesji. +%description -l pl.UTF-8 +Ten moduł jest prostym wrapperem dla wywołań scp. Główna różnica +między tym modułem a Net::SCP jest taka, że można programowo wysłać +hasło zamiast być zmuszonym do obsługi interaktywnych sesji. %prep %setup -q -n %{pdir}-%{pnam}-%{version} @@ -56,6 +57,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc CHANGES -%{perl_vendorlib}/Net/*/*.pm +%doc CHANGES README +%dir %{perl_vendorlib}/Net/SCP +%{perl_vendorlib}/Net/SCP/Expect.pm %{_mandir}/man3/*