perl-File-Find-Rule-Perl-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Name: perl-File-Find-Rule-Perl
  2. Version: 1.12
  3. Release: 2%{?_dist_release}
  4. Summary: Common rules for searching for Perl things
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/File-Find-Rule-Perl/
  8. Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Find-Rule-Perl-%{version}.tar.gz
  9. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  10. BuildArch: noarch
  11. BuildRequires: perl(File::Find::Rule) >= 0.20
  12. BuildRequires: perl(File::Spec) >= 0.82
  13. BuildRequires: perl(Test::More) >= 0.47
  14. BuildRequires: perl(Params::Util) >= 0.38
  15. BuildRequires: perl(Parse::CPAN::Meta) >= 0.04
  16. # For improved tests
  17. %if !%{defined perl_bootstrap}
  18. BuildRequires: perl(Perl::MinimumVersion) >= 1.27
  19. BuildRequires: perl(Test::MinimumVersion) >= 0.101080
  20. BuildRequires: perl(Test::Pod) >= 1.44
  21. BuildRequires: perl(Test::CPAN::Meta) >= 0.17
  22. %endif
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: shaolin
  26. %description
  27. Common rules for searching for Perl things.
  28. %prep
  29. %setup -q -T -c
  30. %setup -q -T -D -a0
  31. %build
  32. cd File-Find-Rule-Perl-%{version}
  33. %{__perl} Makefile.PL INSTALLDIRS=vendor
  34. make %{?_smp_mflags}
  35. cd ..
  36. %install
  37. rm -rf ${RPM_BUILD_ROOT}
  38. cd File-Find-Rule-Perl-%{version}
  39. make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
  40. cd ..
  41. find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';'
  42. find ${RPM_BUILD_ROOT} -type d -depth -exec rmdir {} 2>/dev/null ';'
  43. chmod -R u+w ${RPM_BUILD_ROOT}/*
  44. %clean
  45. rm -rf ${RPM_BUILD_ROOT}
  46. %check
  47. %if !%{defined perl_bootstrap}
  48. cd File-Find-Rule-Perl-%{version}
  49. make test AUTOMATED_TESTING=1
  50. cd ..
  51. %endif
  52. %files
  53. %defattr(-,root,root,-)
  54. %doc File-Find-Rule-Perl-%{version}/Changes File-Find-Rule-Perl-%{version}/LICENSE
  55. %{perl_vendorlib}/File
  56. %{_mandir}/man3/*
  57. %changelog
  58. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.12-2
  59. - rebuild
  60. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.12-1
  61. - initial build for Vine Linux
  62. - define perl_boostrap until things get done...
  63. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  65. * Fri Nov 25 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12-1
  66. - Upstream update.
  67. - Update BRs.
  68. - Spec file cleanup.
  69. * Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.10-3
  70. - rebuild with Perl 5.14.1
  71. - add perl_bootstrap macro for test BR
  72. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  74. * Wed Nov 03 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.10-1
  75. - Upstream update.
  76. * Sun May 09 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.09-5
  77. - Re-enable pmv-test.
  78. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-4
  79. - Mass rebuild with perl-5.12.0
  80. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-3
  81. - Mass rebuild with perl-5.12.0
  82. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.09-2
  83. - rebuild against perl 5.10.1
  84. * Fri Aug 07 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.09-1
  85. - Upstream update.
  86. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  88. * Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-1
  89. - Upstream update.
  90. * Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1
  91. - Upstream update.
  92. - Build in subdir to work-around rpm disturbing testsuite.
  93. - Rework BRs.
  94. * Fri Feb 27 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.04-4
  95. - Adjust minimum perl version in META.yml (Add File-Find-Rule-Perl-1.04.diff).
  96. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-3
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  98. * Tue Jun 24 2008 Ralf Corsépius <rc040203@freenet.de> - 1.04-2
  99. - Unconditionally BR: perl(Test::CPAN::Meta).
  100. * Tue Jun 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.04-1
  101. - Upstream update.
  102. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-3
  103. - Rebuild for perl 5.10 (again)
  104. * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-2
  105. - rebuild for new perl
  106. * Mon Nov 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.03-1
  107. - Initial version.