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