perl-prefork-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Name: perl-prefork
  2. Version: 1.04
  3. Release: 2%{?_dist_release}
  4. Summary: Optimized module loading for forking or non-forking processes
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/prefork/
  8. Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/prefork-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Test::More) >= 0.47
  12. BuildRequires: perl(File::Spec) >= 0.80
  13. BuildRequires: perl(List::Util) >= 0.18
  14. BuildRequires: perl(Scalar::Util) >= 1.18
  15. # Required by tests
  16. BuildRequires: perl(Test::Pod) >= 1.00
  17. BuildRequires: perl(Test::MinimumVersion) >= 0.007
  18. BuildRequires: perl(Perl::MinimumVersion) >= 1.20
  19. BuildRequires: perl(Test::CPAN::Meta) >= 0.12
  20. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. Optimized module loading for forking or non-forking processes
  25. prefork.pm is intended to serve as a central and optional marshalling
  26. point for state detection (are we running in compile-time or run-time
  27. mode) and to act as a relatively light-weight module loader.
  28. %prep
  29. %setup -q -n prefork-%{version}
  30. %build
  31. %{__perl} Makefile.PL INSTALLDIRS=vendor
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf %{buildroot}
  35. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  36. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  37. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  38. chmod -R u+w %{buildroot}/*
  39. %clean
  40. rm -rf %{buildroot}
  41. %check
  42. make test AUTOMATED_TESTING=1
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc Changes README LICENSE
  46. %{perl_vendorlib}/prefork*
  47. %{_mandir}/man3/*
  48. %changelog
  49. * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.04-2
  50. - rebuilt with perl 5.16.3
  51. - added Vendor/Distribution tag
  52. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-1
  53. - initial build for Vine Linux
  54. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-7
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  56. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.04-6
  57. - Perl mass rebuild
  58. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-5
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.04-4
  61. - 661697 rebuild for fixing problems with vendorach/lib
  62. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.04-3
  63. - Mass rebuild with perl-5.12.0
  64. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.04-2
  65. - rebuild against perl 5.10.1
  66. * Wed Jul 29 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.04-1
  67. - Upstream update.
  68. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-2
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  70. * Thu Jun 18 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.03-1
  71. - Upstream update.
  72. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-3
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  74. * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.02-2
  75. - rebuild for new perl
  76. * Sun Nov 25 2007 Ralf Corsépius <rc040203@freenet.de> - 1.02-1
  77. - Upstream update.
  78. - Add BR: perl(Test::MinimumVersion).
  79. * Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.01-3
  80. - Update license tag.
  81. * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.01-2
  82. - Mass rebuild.
  83. * Mon Aug 07 2006 Ralf Corsépius <rc040203@freenet.de> - 1.01-1
  84. - Upstream update.
  85. * Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 1.00-3
  86. - Rebuild for perl-5.8.8.
  87. * Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 1.00-2
  88. - Spec file cleanup.
  89. * Sat Sep 10 2005 Ralf Corsepius <rc040203@freenet.de> - 1.00-1
  90. - FE submission.