]> git.pld-linux.org Git - packages/perl-IO-Mux.git/blame - perl-IO-Mux.spec
use generic url
[packages/perl-IO-Mux.git] / perl-IO-Mux.spec
CommitLineData
479e4fa7
MP
1#
2# Conditional build:
479e4fa7 3%bcond_without tests # do not perform "make test"
b763b795 4
479e4fa7
MP
5%define pdir IO
6%define pnam Mux
b763b795 7%include /usr/lib/rpm/macros.perl
479e4fa7 8Summary: IO::MUX - an IO stream multiplexing module
4fb9ce0a 9Summary(pl.UTF-8): IO::MUX - moduł multipleksera dla strumieni we/wy
479e4fa7 10Name: perl-IO-Mux
cb6a99cc 11Version: 0.08
479e4fa7
MP
12Release: 0.1
13# "same as perl"
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
cb6a99cc 17# Source0-md5: 6cd0d7d9b5a4b5a3caeb610dabaaf5d8
b763b795 18URL: http://search.cpan.org/dist/IO-Mux/
479e4fa7
MP
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
479e4fa7
MP
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
479e4fa7 24%description
02ebac03
JB
25"IO::Mux" allows you to multiplex several virtual streams over a
26single pipe or socket. This is achieved by creating an "IO::Mux"
27object on each end of the real stream and then creating virtual
28handles ("IO::Mux::Handle" objects) from these "IO::Mux" objects.
479e4fa7 29
608b78fb 30%description -l pl.UTF-8
02ebac03 31"IO::Mux" pozwala na utworzenie kilku wirtualnych strumieni w oparciu
608b78fb
JR
32o pojedynczy potok lub gniazdo. Jest to osiągane poprzez tworzenie
33obiektu "IO::Mux" na każdym końcu rzeczywistego strumienia, a
34następnie tworzenie wirtualnych uchwytów skojarzonych z tymi
02ebac03 35obiektami.
479e4fa7
MP
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43
44%{__make}
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} pure_install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes README TODO
59%{perl_vendorlib}/IO/Mux.pm
02ebac03 60%dir %{perl_vendorlib}/IO/Mux
479e4fa7
MP
61%{perl_vendorlib}/IO/Mux/*.pm
62%{_mandir}/man3/*
This page took 0.080838 seconds and 4 git commands to generate.