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

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