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