diff --git a/IO-Multiplex-1.16.tar.gz b/IO-Multiplex-1.16.tar.gz new file mode 100644 index 0000000..1d16884 Binary files /dev/null and b/IO-Multiplex-1.16.tar.gz differ diff --git a/perl-IO-Multiplex.spec b/perl-IO-Multiplex.spec new file mode 100644 index 0000000..6c83449 --- /dev/null +++ b/perl-IO-Multiplex.spec @@ -0,0 +1,46 @@ +Name: perl-IO-Multiplex +Summary: Manage IO on many file handles +Version: 1.16 +Release: 12 +License: GPL+ or Artistic +URL: https://metacpan.org/release/IO-Multiplex +Source0: https://cpan.metacpan.org/authors/id/B/BB/BBB/IO-Multiplex-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(Carp) +BuildRequires: perl(constant) perl(Fcntl) perl(FileHandle) perl(IO::Handle) +BuildRequires: perl(POSIX) perl(Socket) perl(strict) perl(Tie::Handle) +BuildRequires: perl(Time::HiRes) perl(vars) perl(warnings) perl(IO::Socket) perl(Test) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Time::HiRes) + +%description +IO::Multiplex is designed to take the effort out of managing +multiple file handles. It is essentially a really fancy front end to +the C +loop, it buffers all input and output to/from the file handles. It +can also accept incoming connections on one or more listen sockets. + +%prep +%autosetup -n IO-Multiplex-%{version} -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} %{buildroot} + +%check +make test + +%files +%doc Changes README TODO +%{perl_vendorlib}/IO/ +%{_mandir}/man3/IO::Multiplex.3* + +%changelog +* Fri Dec 13 2019 Jiangping Hu - 1.16-12 +- Package init