/[packages]/cauldron/perl-Coro/current/SPECS/perl-Coro.spec
ViewVC logotype

Diff of /cauldron/perl-Coro/current/SPECS/perl-Coro.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 33648 by jquelin, Sun Jan 23 09:49:19 2011 UTC revision 37010 by jquelin, Mon Jan 24 12:53:41 2011 UTC
# Line 1  Line 1 
1  %define upstream_name    Coro  %define upstream_name    Coro
2  %define upstream_version 5.25  %define upstream_version 5.25
3    
4    %define _requires_exceptions perl(Exporter::)\\|perl(Coro::Socket::)
5  #define _without_check 1  #define _without_check 1
6    
7  Name:           perl-%{upstream_name}  Name:           perl-%{upstream_name}
# Line 13  Group:         Development/Perl Line 15  Group:         Development/Perl
15  Url:            http://search.cpan.org/dist/%{upstream_name}  Url:            http://search.cpan.org/dist/%{upstream_name}
16  Source0:    http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{upstream_name}-%{upstream_version}.tar.gz  Source0:    http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{upstream_name}-%{upstream_version}.tar.gz
17    
 BuildRequires:  perl-devel  
 BuildRequires:  perl-IO-AIO  
18  BuildRequires:  perl-AnyEvent >= 1:4.05  BuildRequires:  perl-AnyEvent >= 1:4.05
 BuildRequires:  perl-Guard  
19  BuildRequires:  perl-common-sense  BuildRequires:  perl-common-sense
20    BuildRequires:  perl-devel
21  #gw the test EV/t/01_unblock fails in 4.37:  BuildRequires:  perl-EV >= 2.0
22  # http://rt.cpan.org/Ticket/Display.html?id=32475  BuildRequires:  perl-Guard
23  #BuildRequires:  perl-EV >= 2.0  BuildRequires:  perl-IO-AIO
 %define _requires_exceptions perl(Exporter::)\\|perl(Coro::Socket::)  
24    
25  %description  %description
26  This module collection manages coroutines. Coroutines are similar to  This module collection manages coroutines. Coroutines are similar to
# Line 49  Each BDB request that could block and do Line 47  Each BDB request that could block and do
47  will normally block all coroutines. after loading this module, this  will normally block all coroutines. after loading this module, this
48  will no longer be the case.  will no longer be the case.
49    
50    %package EV
51    Summary: Use Coro within an EV environment
52    Group: Development/Perl
53    
54    %description EV
55    This module integrates coroutines into any event loop supported by EV,
56    combining event-based programming with coroutine-based programming in a
57    natural way.
58    
59    
60  %prep  %prep
61  %setup -q -n %{upstream_name}-%{upstream_version}  %setup -q -n %{upstream_name}-%{upstream_version}
62    # remove failing test - http://rt.cpan.org/Ticket/Display.html?id=32475
63    rm EV/t/01_unblock.t
64    
65  %build  %build
66  echo -e  "n\nu\n" | %{__perl} Makefile.PL INSTALLDIRS=vendor  echo -e  "n\nu\n" | %{__perl} Makefile.PL INSTALLDIRS=vendor
# Line 123  rm -rf $RPM_BUILD_ROOT Line 132  rm -rf $RPM_BUILD_ROOT
132  %files AnyEvent  %files AnyEvent
133  %defattr(-,root,root)  %defattr(-,root,root)
134  %{perl_vendorarch}/Coro/AnyEvent.pm  %{perl_vendorarch}/Coro/AnyEvent.pm
 %{_mandir}/man3/Coro::AnyEvent*  
135    %{_mandir}/man3/Coro::AnyEvent*
136    
137    %files EV
138    %defattr(-,root,root)
139    %{perl_vendorarch}/Coro/EV.pm
140    %{_mandir}/man3/Coro::EV*

Legend:
Removed from v.33648  
changed lines
  Added in v.37010

  ViewVC Help
Powered by ViewVC 1.1.30