3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Drive ssh or other interactive shell, local or remote (like 'expect')
9 Summary(pl.UTF-8): Sterowanie ssh lub inną interaktywną powłoką lokalną lub zdalną (podobnie do expect)
10 Name: perl-IPC-Session
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: aa56a95d08ebfc11edff3d9e9515d93c
17 URL: http://search.cpan.org/dist/IPC-Session/
18 %{?with_tests:BuildRequires: /bin/csh}
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 IPC::Session encapsulates the open3() function call (see the
26 IPC::Open3 manpage) and its associated filehandles. This makes it easy
27 to maintain multiple interactive command sessions, such as multiple
28 persistent 'ssh' and/or 'rsh' sessions, within the same perl script.
30 %description -l pl.UTF-8
31 IPC::Session obudowuje funkcję open3() (zobacz stronę podręcznika
32 systemowego dla IPC::Open3) i związane z nią uchwyty plików. Pozwala
33 to na łatwe zarządzanie wieloma interaktywnymi sesjami, np. w
34 przypadku wielu przezroczystych sesji 'ssh' i/lub 'rsh' w jednym
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/IPC/Session.pm
60 %{_mandir}/man3/*.3pm*