]> git.pld-linux.org Git - packages/perl-IO-Mux.git/blame - perl-IO-Mux.spec
- initial version, rel 0.1 (under testing)
[packages/perl-IO-Mux.git] / perl-IO-Mux.spec
CommitLineData
479e4fa7
MP
1#
2# Conditional build:
3%bcond_without autodeps # don't BR packages needed only for resolving deps
4%bcond_without tests # do not perform "make test"
5#
6%include /usr/lib/rpm/macros.perl
7%define pdir IO
8%define pnam Mux
9Summary: IO::MUX - an IO stream multiplexing module
10Summary(pl): IO::MUX - moduł multiplexera dla strumieni IO
11Name: perl-IO-Mux
12Version: 0.07
13Release: 0.1
14# "same as perl"
15License: GPL v1+ or Artistic
16Group: Development/Languages/Perl
17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
18# Source0-md5: 52b58db6366ff287bf2dddecad7d3ce2
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with autodeps} || %{with tests}
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%define _noautoreq 'perl(anything_fake_or_conditional)'
27
28%description
29"IO::Mux" allows you to multiplex several virtual streams over a single pipe or
30socket. This is achieved by creating an "IO::Mux" object on each end of the
31real stream and then creating virtual handles ("IO::Mux::Handle" objects) from
32these "IO::Mux" objects.
33
34%description -l pl
35"IO::Mux" pozwala na utworzenie kilku wirtualnych strumieniu w oparciu o pojedyńczy potok
36lub gniazdo. Jest to osiagane poprzez tworzenie obiektu "IO::Mux" na kazdym koncu rzeczywistego
37strumienia i następnie tworzeniu wirtualnych uchwytów skojarzonych z tymi obiektami.
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45
46%{__make}
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} pure_install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes README TODO
61%{perl_vendorlib}/IO/Mux.pm
62%{perl_vendorlib}/IO/Mux/*.pm
63%{_mandir}/man3/*
This page took 0.030159 seconds and 4 git commands to generate.