perl-ExtUtils-Helpers-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. Name: perl-ExtUtils-Helpers
  2. Version: 0.026
  3. Release: 10%{?_dist_release}
  4. Summary: Various portability utilities for module builders
  5. License: GPL+ or Artistic
  6. URL: https://metacpan.org/release/ExtUtils-Helpers
  7. Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-%{version}.tar.gz
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. BuildArch: noarch
  11. # Build
  12. BuildRequires: coreutils
  13. BuildRequires: findutils
  14. BuildRequires: make
  15. BuildRequires: perl >= 2:5.26.2
  16. BuildRequires: perl(ExtUtils::MakeMaker)
  17. # Module (File::Copy only needed for VMS support, not packaged)
  18. BuildRequires: perl(Carp)
  19. BuildRequires: perl(Config)
  20. BuildRequires: perl(Exporter)
  21. BuildRequires: perl(File::Basename)
  22. BuildRequires: perl(File::Spec::Functions)
  23. BuildRequires: perl(strict)
  24. BuildRequires: perl(Text::ParseWords)
  25. BuildRequires: perl(warnings)
  26. # Test Suite
  27. BuildRequires: perl(Cwd)
  28. BuildRequires: perl(lib)
  29. BuildRequires: perl(Test::More)
  30. # Runtime
  31. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  32. %description
  33. This module provides various portable helper functions for module building
  34. modules.
  35. %prep
  36. %setup -q -n ExtUtils-Helpers-%{version}
  37. # Don't include VMS and Windows helpers, which may pull in unwelcome dependencies
  38. rm -f lib/ExtUtils/Helpers/{VMS,Windows}.pm
  39. perl -ni -e 'print unless /^lib\/ExtUtils\/Helpers\/(VMS|Windows)\.pm$/;' MANIFEST
  40. %build
  41. perl Makefile.PL INSTALLDIRS=vendor
  42. make %{?_smp_mflags}
  43. %install
  44. make pure_install DESTDIR=%{buildroot}
  45. find %{buildroot} -type f -name .packlist -delete
  46. %{_fixperms} -c %{buildroot}
  47. %check
  48. make test
  49. %files
  50. %if 0%{?_licensedir:1}
  51. %license LICENSE
  52. %else
  53. %doc LICENSE
  54. %endif
  55. %doc Changes README
  56. %{perl_vendorlib}/ExtUtils/
  57. %{_mandir}/man3/ExtUtils::Helpers.3*
  58. %{_mandir}/man3/ExtUtils::Helpers::Unix.3*
  59. %changelog
  60. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.026-10
  61. - initial build for Vine Linux.
  62. * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-9
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  64. * Mon Nov 19 2018 Paul Howarth <paul@city-fan.org> - 0.026-8
  65. - Drop EL-5 support
  66. - Drop BuildRoot: and Group: tags
  67. - Drop explicit buildroot cleaning in %%install section
  68. - Drop explicit %%clean section
  69. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-7
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  71. * Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.026-6
  72. - Perl 5.28 rebuild
  73. * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-5
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  75. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-4
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  77. * Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.026-3
  78. - Perl 5.26 rebuild
  79. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-2
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  81. * Sat Sep 10 2016 Paul Howarth <paul@city-fan.org> - 0.026-1
  82. - Update to 0.026
  83. - Fix Win32 dependency
  84. * Fri Sep 2 2016 Paul Howarth <paul@city-fan.org> - 0.025-1
  85. - Update to 0.025
  86. - Make split_like_shell always unixy
  87. - Remove Module::Load dependency
  88. - Remove done_testing; it requires Test::More 0.88
  89. - Drop VMS and Windows versions to avoid unwelcome dependencies
  90. - Drop now-redundant patch for building with Test::More < 0.88
  91. - Use %%license where possible
  92. - Simplify find command using -delete
  93. * Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.022-10
  94. - Perl 5.24 re-rebuild of bootstrapped packages
  95. * Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.022-9
  96. - Perl 5.24 rebuild
  97. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.022-8
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  99. * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.022-7
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  101. * Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.022-6
  102. - Perl 5.22 re-rebuild of bootstrapped packages
  103. * Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.022-5
  104. - Perl 5.22 rebuild
  105. * Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.022-4
  106. - Perl 5.20 re-rebuild of bootstrapped packages
  107. * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.022-3
  108. - Perl 5.20 rebuild
  109. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.022-2
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  111. * Fri Mar 7 2014 Paul Howarth <paul@city-fan.org> - 0.022-1
  112. - Update to 0.022
  113. - Cleaned up remains of former functions
  114. - Skip IO layers on <5.8 for 5.6 compatibility
  115. - Don't swallow pl2bat exceptions
  116. - Drop patch for using Text::ParseWords < 3.24; even EL-5 has it
  117. * Wed Sep 4 2013 Paul Howarth <paul@city-fan.org> - 0.021-4
  118. - Skip the release tests when bootstrapping
  119. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.021-3
  120. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  121. * Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 0.021-2
  122. - Perl 5.18 rebuild
  123. * Tue May 7 2013 Paul Howarth <paul@city-fan.org> - 0.021-1
  124. - Update to 0.021
  125. - Always use the right environmental variable for home directory
  126. - Use configuration provided manpage extension
  127. - Update patch for building with Test::More < 0.88
  128. * Mon Apr 29 2013 Paul Howarth <paul@city-fan.org> - 0.020-1
  129. - Update to 0.020
  130. - Fix man3_pagename for top level domains
  131. - Update patch for building with Test::More < 0.88
  132. * Wed Apr 24 2013 Paul Howarth <paul@city-fan.org> - 0.019-1
  133. - Update to 0.019
  134. - Fix make_executable for '#!/usr/bin/perl'
  135. * Tue Apr 16 2013 Paul Howarth <paul@city-fan.org> - 0.018-1
  136. - Update to 0.018
  137. - Don't need Pod::Man
  138. - Drop BR: perl(Pod::Man), no longer used
  139. * Mon Apr 15 2013 Paul Howarth <paul@city-fan.org> - 0.017-1
  140. - Update to 0.017
  141. - Fix man3_pagename to properly split dirs
  142. - Update patch for building with Test::More < 0.88
  143. * Sat Apr 13 2013 Paul Howarth <paul@city-fan.org> - 0.016-1
  144. - Update to 0.016
  145. - Made man3_pagename more flexible with paths
  146. - Reverted pl2bat to a more original state
  147. - Rewrote fixin code
  148. - Re-added detildefy
  149. - Add some fixes to batch file generation
  150. - BR: perl(Carp) and perl(Module::Load), now required by the module
  151. - Drop BR: perl(Test::Kwalitee), no longer used
  152. - Update patch for using Test::ParseWords 3.22
  153. - Drop now-redundant POD encoding patch
  154. * Mon Apr 1 2013 Paul Howarth <paul@city-fan.org> - 0.014-2
  155. - Sanitize for Fedora submission
  156. * Sun Mar 31 2013 Paul Howarth <paul@city-fan.org> - 0.014-1
  157. - Initial RPM version