| 1 | Name: perl-Async-MergePoint |
|---|
| 2 | Version: 0.03 |
|---|
| 3 | Release: 1%{?_dist_release} |
|---|
| 4 | Summary: Resynchronise diverged control flow |
|---|
| 5 | License: GPL+ or Artistic |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | URL: http://search.cpan.org/dist/Async-MergePoint/ |
|---|
| 8 | Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Async-MergePoint-%{version}.tar.gz |
|---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|---|
| 10 | BuildArch: noarch |
|---|
| 11 | BuildRequires: perl(Module::Build) |
|---|
| 12 | BuildRequires: perl(Test::Exception) |
|---|
| 13 | BuildRequires: perl(Test::More) |
|---|
| 14 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 15 | |
|---|
| 16 | %description |
|---|
| 17 | Often in program logic, multiple different steps need to be taken that are |
|---|
| 18 | independent of each other, but their total result is needed before the next |
|---|
| 19 | step can be taken. In synchonous code, the usual approach is to do them |
|---|
| 20 | sequentially. |
|---|
| 21 | |
|---|
| 22 | %prep |
|---|
| 23 | %setup -q -n Async-MergePoint-%{version} |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | %build |
|---|
| 27 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
|---|
| 28 | make %{?_smp_mflags} |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | %install |
|---|
| 32 | rm -rf %{buildroot} |
|---|
| 33 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
|---|
| 34 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
|---|
| 35 | |
|---|
| 36 | %{_fixperms} %{buildroot}/* |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | %check |
|---|
| 40 | make test |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | %clean |
|---|
| 44 | rm -rf %{buildroot} |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | %files |
|---|
| 48 | %defattr(-,root,root,-) |
|---|
| 49 | %doc Changes LICENSE README |
|---|
| 50 | %{perl_vendorlib}/Async |
|---|
| 51 | %{_mandir}/man3/* |
|---|
| 52 | |
|---|
| 53 | %changelog |
|---|
| 54 | * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.03-1 |
|---|
| 55 | - initial build for Vine Linux |
|---|
| 56 | |
|---|
| 57 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-7 |
|---|
| 58 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
|---|
| 59 | |
|---|
| 60 | * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-6 |
|---|
| 61 | - Perl mass rebuild |
|---|
| 62 | |
|---|
| 63 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-5 |
|---|
| 64 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 65 | |
|---|
| 66 | * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-4 |
|---|
| 67 | - 661697 rebuild for fixing problems with vendorach/lib |
|---|
| 68 | |
|---|
| 69 | * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-3 |
|---|
| 70 | - Mass rebuild with perl-5.12.0 |
|---|
| 71 | |
|---|
| 72 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-2 |
|---|
| 73 | - rebuild against perl 5.10.1 |
|---|
| 74 | |
|---|
| 75 | * Tue Jul 21 2009 Nicolas Chauvet (kwizart) 0.03-1 |
|---|
| 76 | - Specfile autogenerated by cpanspec 1.78. |
|---|