%include /usr/lib/rpm/macros.perl %define pdir IPC %define pnam Run Summary: IPC-Run perl module Summary(pl): Moduł perla IPC-Run Name: perl-IPC-Run Version: 0.74 Release: 1 License: Artistic Group: Development/Languages/Perl Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz BuildRequires: perl >= 5 BuildRequires: perl-IO-Tty BuildRequires: rpm-perlprov >= 3.0.3-16 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _noautoreq 'perl(IO::Pty)' %description IPC::Run allows you run and interact with child processes using files, pipes, and pseudo-ttys. Both system()-style and scripted usages are supported and may be mixed. Likewise, functional and OO API styles are both supported and may be mixed. Various redirection operators reminiscent of those seen on common Unix and DOS command lines are provided. %description -l pl IPC::Run pozwala na uruchamianie i interakcję z procesami potomnymi przy użyciu plików, potoków, i pseudo-tty. Obsługuje zarówno interfejs w stylu system(), jak i skryptowy; można także je mieszać. Można stosować API obiektowy i/lub proceduralny. Udostępniane są różne operatory przekierowania, podobne do spotykanych w linii poleceń popularnych Uniksów i DOS-a. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build perl Makefile.PL %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Changes %{perl_sitelib}/IPC/Run.pm %dir %{perl_sitelib}/IPC/Run %{perl_sitelib}/IPC/Run/* %{_mandir}/man3/*