]> git.pld-linux.org Git - packages/perl-IO-Multiplex.git/blame - perl-IO-Multiplex.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-IO-Multiplex.git] / perl-IO-Multiplex.spec
CommitLineData
a8d8116c 1#
2# Conditional build:
839736f2 3%bcond_without tests # do not perform "make test"
a8d8116c 4#
998b71ee 5%define pdir IO
6%define pnam Multiplex
d58922f8 7Summary: IO::Multiplex - manage IO on many file handles
a2cc02e5 8Summary(pl.UTF-8): IO::Multiplex - zarządzanie operacjami we/wy na wielu uchwytach plików
09472a14 9Name: perl-IO-Multiplex
a57603ad 10Version: 1.13
05db88d3 11Release: 1
a8d8116c 12License: Artistic
09472a14 13Group: Development/Languages/Perl
f21f6e87 14Source0: http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
a57603ad 15# Source0-md5: a74f4c07a543cbf06ba3b24fe1be94e9
f21f6e87 16URL: http://search.cpan.org/dist/IO-Multiplex/
50cd7996 17BuildRequires: perl-devel >= 1:5.8.0
6dae94f0 18BuildRequires: rpm-perlprov >= 4.1-13
09472a14
JR
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
a8d8116c 23IO::Multiplex is designed to take the effort out of managing multiple
15fe86fe
JB
24file handles. It is essentially a really fancy front end to the select
25system call. In addition to maintaining the select loop, it buffers
26all input and output to/from the file handles. It can also accept
27incoming connections on one or more listen sockets.
28
39edadf4
JR
29%description -l pl.UTF-8
30Moduł IO::Multiplex został zaprojektowany jako próba zarządzania
31wieloma uchwytami plików. Jest przede wszystkim naprawdę fantazyjnym
32frontendem do wywołania systemowego select. Oprócz zarządzania pętlą
33wywołań select, buforuje całe wejście i wyjście do/z uchwytów plików.
34Może także akceptować przychodzące połączenia z jednego lub więcej
35nasłuchujących gniazd.
09472a14
JR
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
6dae94f0 41%{__perl} Makefile.PL \
42614589 42 INSTALLDIRS=vendor
09472a14
JR
43%{__make}
44
839736f2 45%{?with_tests:%{__make} test}
a8d8116c 46
09472a14
JR
47%install
48rm -rf $RPM_BUILD_ROOT
49
05db88d3
JB
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
09472a14
JR
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
a8d8116c 58%doc Changes README TODO
6dae94f0 59%{perl_vendorlib}/IO/Multiplex.pm
09472a14 60%{_mandir}/man3/*
This page took 0.06239 seconds and 4 git commands to generate.