Mathieu Bridon 2e6e6e8
Name:           perl-Net-Server-Coro
6b3cbf8
Version:        1.3
dbc0e2b
Release:        6%{?dist}
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
Summary:        Co-operative multithreaded server using Coro
Mathieu Bridon 2e6e6e8
License:        MIT
Mathieu Bridon 2e6e6e8
URL:            http://search.cpan.org/dist/Net-Server-Coro/
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
Source0:        http://www.cpan.org/authors/id/A/AL/ALEXMV/Net-Server-Coro-%{version}.tar.gz
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
BuildArch:      noarch
Mathieu Bridon 2e6e6e8
7815cd8
BuildRequires:  perl-generators
Mathieu Bridon 2e6e6e8
BuildRequires:  perl(ExtUtils::MakeMaker)
Mathieu Bridon 917f3a0
BuildRequires:  perl(inc::Module::Install)
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
# This one is not automatically caught by RPM
Mathieu Bridon 2e6e6e8
Requires:       perl(Net::SSLeay)
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
%description
Mathieu Bridon 2e6e6e8
Net::Server::Coro implements multithreaded server for the Net::Server
Mathieu Bridon 2e6e6e8
architecture, using Coro and Coro::Socket to make all reads and writes non-
Mathieu Bridon 2e6e6e8
blocking. Additionally, it supports non-blocking SSL negotiation.
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
%prep
Mathieu Bridon 2e6e6e8
%setup -q -n Net-Server-Coro-%{version}
Mathieu Bridon 2e6e6e8
Mathieu Bridon 917f3a0
# Build using the system-provided module, not the bundled one
Mathieu Bridon 917f3a0
rm -fr inc
Mathieu Bridon 917f3a0
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
%build
Mathieu Bridon 2e6e6e8
%{__perl} Makefile.PL INSTALLDIRS=vendor
Mathieu Bridon 2e6e6e8
make %{?_smp_mflags}
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
%install
Mathieu Bridon 2e6e6e8
make pure_install PERL_INSTALL_ROOT=%{buildroot}
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
Mathieu Bridon 2e6e6e8
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
%{_fixperms} %{buildroot}/*
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
%files
Mathieu Bridon 2e6e6e8
%doc Changes
Mathieu Bridon 2e6e6e8
%{_mandir}/man?/Net::Server::Coro*.gz
Mathieu Bridon 2e6e6e8
%{perl_vendorlib}/Net
Mathieu Bridon 2e6e6e8
Mathieu Bridon 2e6e6e8
Mathieu Bridon 663a645
%check
Mathieu Bridon 663a645
make test
Mathieu Bridon 663a645
Mathieu Bridon 663a645
Mathieu Bridon 2e6e6e8
%changelog
dbc0e2b
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-6
dbc0e2b
- Perl 5.24 rebuild
dbc0e2b
80bef7f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-5
80bef7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
80bef7f
76c7b4f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
76c7b4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
76c7b4f
1fc5904
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-3
1fc5904
- Perl 5.22 rebuild
1fc5904
13b5c7f
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-2
13b5c7f
- Perl 5.20 rebuild
13b5c7f
6b3cbf8
* Sun Aug 31 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 1.3-1
6b3cbf8
- Update to 1.3
6b3cbf8
0481b9d
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.2-9
0481b9d
- Perl 5.20 rebuild
0481b9d
9a5d0f5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
9a5d0f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9a5d0f5
f37ea62
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
f37ea62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f37ea62
f5f867f
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 1.2-6
f5f867f
- Perl 5.18 rebuild
f5f867f
1c17725
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
1c17725
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1c17725
c14ddec
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
c14ddec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c14ddec
a8ed9a0
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 1.2-3
a8ed9a0
- Perl 5.16 rebuild
a8ed9a0
Mathieu Bridon 917f3a0
* Mon Feb 06 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 1.2-2
Mathieu Bridon 917f3a0
- Build using the system-provided module, not the bundled one.
Mathieu Bridon 917f3a0
  This fixes the issue raised by Petr:
Mathieu Bridon 917f3a0
      https://bugzilla.redhat.com/show_bug.cgi?id=785057#c5
Mathieu Bridon 663a645
- Run the unit tests, even if there's none. Ther emight be some in the future,
Mathieu Bridon 663a645
  so this makes the package better prepared.
Mathieu Bridon 663a645
Mathieu Bridon 2e6e6e8
* Fri Jan 27 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 1.2-1
Mathieu Bridon 2e6e6e8
- Initial packaging, with a little help from my friend cpanspec.