033acd7
Summary:	Manage IO on many file handles
018da94
Name:		perl-IO-Multiplex
6cf54b3
Version:	1.13
03c5878
Release:	2%{?dist}
018da94
License:	GPL+ or Artistic
018da94
Group:		Development/Libraries
018da94
URL:		http://search.cpan.org/dist/IO-Multiplex/
033acd7
Source0:	http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/IO-Multiplex-%{version}.tar.gz
6cf54b3
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
018da94
BuildArch:	noarch
018da94
BuildRequires:	perl(ExtUtils::MakeMaker)
6cf54b3
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
%description
018da94
IO::Multiplex is designed to take the effort out of managing multiple file
033acd7
handles. It is essentially a really fancy front end to the select system call.
033acd7
In addition to maintaining the select loop, it buffers all input and output
033acd7
to/from the file handles. It can also accept incoming connections on one or
033acd7
more listen sockets.
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
%prep
018da94
%setup -q -n IO-Multiplex-%{version}
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
%build
6cf54b3
perl Makefile.PL INSTALLDIRS=vendor
6cf54b3
make %{?_smp_mflags}
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
%install
6cf54b3
rm -rf %{buildroot}
6cf54b3
make pure_install DESTDIR=%{buildroot}
6cf54b3
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
6cf54b3
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
033acd7
%{_fixperms} %{buildroot}
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
%check
6cf54b3
make test
Leif O M Bergman 0e28b02
033acd7
%clean
6cf54b3
rm -rf %{buildroot}
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
%files
018da94
%defattr(-,root,root,-)
018da94
%doc Changes README TODO
Leif O M Bergman 0e28b02
%{perl_vendorlib}/IO/
018da94
%{_mandir}/man3/IO::Multiplex.3pm*
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
%changelog
03c5878
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.13-2
03c5878
- Perl mass rebuild
03c5878
6cf54b3
* Fri Apr 15 2011 Paul Howarth <paul@city-fan.org> - 1.13-1
6cf54b3
- Update to 1.13
6cf54b3
  - Fix handling of outbuf that contains '0' (CPAN RT#67458)
6cf54b3
- Nobody else likes macros for commands
6cf54b3
6cf54b3
* Thu Feb 24 2011 Paul Howarth <paul@city-fan.org> - 1.12-1
35446dd
- Update to 1.12
35446dd
  - Fixes for Windows (CPAN RT#66096)
35446dd
033acd7
* Mon Feb 21 2011 Paul Howarth <paul@city-fan.org> - 1.11-1
033acd7
- Update to 1.11
033acd7
  - Avoid warning while adding pipe (CPAN RT#16259, CPAN RT#60068)
033acd7
  - Add EWOULDBLOCK and non-blocking mode for windows (CPAN RT#23982)
033acd7
  - Fix typo in documentation (CPAN RT#21085)
033acd7
  - Avoid shutdown after close (CPAN RT#5885, CPAN RT#5715)
033acd7
  - Use length of outbuf, not exists to see if it is empty
033acd7
  - Turn "use warnings" on
033acd7
- This release by MARKOV -> update source URL
033acd7
- Use %%{_fixperms} rather than our own chmod incantation
033acd7
- Tidy up %%summary and %%description
033acd7
49eb83c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-9
49eb83c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
49eb83c
e702d16
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.10-8
7a89d34
- Rebuild to fix problems with vendorarch/lib (#661697)
e702d16
2ccedbe
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.10-7
1ca60a7
- Mass rebuild with perl 5.12.0
2ccedbe
ae1ff69
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.10-6
1ca60a7
- Rebuild against perl 5.10.1
ae1ff69
664b885
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-5
664b885
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
664b885
018da94
* Mon May 11 2009 Paul Howarth <paul@city-fan.org> - 1.10-4
018da94
- Fix argument order for find with -depth
018da94
- Include TODO
018da94
- Cosmetic changes
018da94
7d086c4
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3
7d086c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7d086c4
d8151ac
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
d8151ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d8151ac
adf679c
* Mon Sep 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.10-1
018da94
- Update to 1.10, upstream found and relicensing has happened!
adf679c
402bd94
* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.09-1
018da94
- Rebuild for new perl
402bd94
- 1.09
402bd94
b0da3cc
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.08-5.1
018da94
- Add BR: perl(ExtUtils::MakeMaker)
b0da3cc
Leif O M Bergman f8f263a
* Fri Sep 15 2006 Leif O M Bergman <lmb@biosci.ki.se> - 1.08-5
Leif O M Bergman f8f263a
- Add dist tag
Leif O M Bergman f8f263a
Leif O M Bergman 0e28b02
* Tue Dec 13 2005 Leif O M Bergman <lmb@biosci.ki.se> - 1.08-4
Leif O M Bergman 0e28b02
- Changes for fedora xtras compliance
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
* Mon Dec 12 2005 Leif O M Bergman <lmb@biosci.ki.se> - 1.08-3
Leif O M Bergman 0e28b02
- Cosmetic changes for fedora xtras
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
* Sun Feb 20 2005 Dag Wieers <dag@wieers.com> - 1.08-2
1ca60a7
- Cosmetic changes
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
* Thu Mar 18 2004 Dag Wieers <dag@wieers.com> - 1.08-1
1ca60a7
- Updated to release 1.08
Leif O M Bergman 0e28b02
Leif O M Bergman 0e28b02
* Mon Jul 14 2003 Dag Wieers <dag@wieers.com> - 1.04-0
1ca60a7
- Initial package (using DAR)