perl-Async-MergePoint-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Name: perl-Async-MergePoint
  2. Version: 0.03
  3. Release: 2%{?_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. %description
  16. Often in program logic, multiple different steps need to be taken that are
  17. independent of each other, but their total result is needed before the next
  18. step can be taken. In synchonous code, the usual approach is to do them
  19. sequentially.
  20. %prep
  21. %setup -q -n Async-MergePoint-%{version}
  22. %build
  23. %{__perl} Makefile.PL INSTALLDIRS=vendor
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf %{buildroot}
  27. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  28. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  29. %{_fixperms} %{buildroot}/*
  30. %check
  31. make test
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc Changes LICENSE README
  37. %{perl_vendorlib}/Async
  38. %{_mandir}/man3/*
  39. %changelog
  40. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.03-2
  41. - build with Perl 5.16
  42. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.03-1
  43. - initial build for Vine Linux
  44. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-7
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  46. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-6
  47. - Perl mass rebuild
  48. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-5
  49. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  50. * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-4
  51. - 661697 rebuild for fixing problems with vendorach/lib
  52. * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-3
  53. - Mass rebuild with perl-5.12.0
  54. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-2
  55. - rebuild against perl 5.10.1
  56. * Tue Jul 21 2009 Nicolas Chauvet (kwizart) 0.03-1
  57. - Specfile autogenerated by cpanspec 1.78.