]> git.pld-linux.org Git - packages/perl-IPC-ChildSafe.git/blame - perl-IPC-ChildSafe.spec
- rebuild with perl 5.28.0
[packages/perl-IPC-ChildSafe.git] / perl-IPC-ChildSafe.spec
CommitLineData
b5cc9906 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
7636c7ea 5%include /usr/lib/rpm/macros.perl
f8aa04a9 6%define pdir IPC
7%define pnam ChildSafe
ef167090
JB
8Summary: IPC::ChildSafe - control a child process without blocking
9Summary(pl.UTF-8): IPC::ChildSafe - sterowanie procesem potomnym bez blokowania
cfaf7aa7 10Name: perl-IPC-ChildSafe
3a551b22 11Version: 3.16
f24e9db2 12Release: 13
5171e0de 13# same as perl
14License: GPL v1+ or Artistic
cfaf7aa7 15Group: Development/Languages/Perl
ef167090 16Source0: http://www.cpan.org/modules/by-module/IPC/%{pdir}-%{pnam}-%{version}.tar.gz
3a551b22 17# Source0-md5: 68f9ae8be45c7399272a26bbe86d12ba
ef167090 18URL: http://search.cpan.org/dist/IPC-ChildSafe/
60ac94d4 19BuildRequires: perl-devel >= 1:5.8.0
0ee992ce 20BuildRequires: rpm-perlprov >= 4.1-13
e4e882ce 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cfaf7aa7 22
23%description
ef167090
JB
24IPC::ChildSafe Perl module allows to control a child process without
25blocking. It addresses the "blocking problem" inherent in most
26coprocessing designs such as IPC::Open3.
cfaf7aa7 27
30813597 28%description -l pl.UTF-8
ef167090
JB
29Moduł Perla IPC::ChildSafe umożliwia sterowanie procesem potomnym bez
30blokowania. Rozwiązuje "problem blokowania" dziedziczony przez
31większość rozwiązań wieloprocesowych, takich jak IPC::Open3.
cfaf7aa7 32
33%prep
7636c7ea 34%setup -q -n %{pdir}-%{pnam}-%{version}
cfaf7aa7 35
36%build
0ee992ce 37%{__perl} Makefile.PL \
145c139b 38 INSTALLDIRS=vendor
b5cc9906 39%{__make} \
b0c62995 40 CC="%{__cc}" \
b5cc9906 41 OPTIMIZE="%{rpmcflags}"
42
43%{?with_tests:%{__make} test}
cfaf7aa7 44
45%install
46rm -rf $RPM_BUILD_ROOT
c890071e 47install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cfaf7aa7 48
b5cc9906 49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
cfaf7aa7 51
c890071e 52install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cfaf7aa7 53
cfaf7aa7 54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
4bccae22 59%doc Changes README
0ee992ce 60%{perl_vendorarch}/IPC/*.pm
61%dir %{perl_vendorarch}/auto/IPC/ChildSafe
0ee992ce 62%attr(755,root,root) %{perl_vendorarch}/auto/IPC/ChildSafe/ChildSafe.so
cfaf7aa7 63%{_mandir}/man3/*
c890071e 64%{_examplesdir}/%{name}-%{version}
This page took 0.055612 seconds and 4 git commands to generate.