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

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