perl-Package-Generator-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Name: perl-Package-Generator
  2. Version: 1.106
  3. Release: 2%{?_dist_release}
  4. Summary: Generate new packages quickly and easily
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Package-Generator/
  8. Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Package-Generator-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
  10. BuildArch: noarch
  11. BuildRequires: perl(Carp)
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Params::Util)
  14. BuildRequires: perl(Scalar::Util)
  15. BuildRequires: perl(Symbol)
  16. BuildRequires: perl(Test::More)
  17. # Test::Perl::Critic -> Perl::Critic -> Exception::Class -> Test::EOL ->
  18. # Pod::Coverage::TrustPod -> Pod::Eventual -> Mixin::Linewise ->
  19. # Sub::Exporter -> Package::Generator
  20. %if 0%{!?perl_bootstrap:1}
  21. #BuildRequires: perl(Test::Perl::Critic)
  22. %endif
  23. BuildRequires: perl(Test::Pod)
  24. BuildRequires: perl(Test::Pod::Coverage)
  25. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. %description
  29. This module lets you quickly and easily construct new packages. It gives
  30. them unused names and sets up their package data, if provided.
  31. %prep
  32. %setup -q -n Package-Generator-%{version}
  33. %build
  34. perl Makefile.PL INSTALLDIRS=vendor
  35. make %{?_smp_mflags}
  36. %install
  37. rm -rf %{buildroot}
  38. make pure_install DESTDIR=%{buildroot}
  39. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  40. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  41. %{_fixperms} %{buildroot}
  42. %check
  43. make test %{!?perl_bootstrap:PERL_TEST_CRITIC=1}
  44. %clean
  45. rm -rf %{buildroot}
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc Changes README
  49. %{perl_vendorlib}/Package/
  50. %{_mandir}/man3/Package::Generator.3pm*
  51. %{_mandir}/man3/Package::Reaper.3pm*
  52. %changelog
  53. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.106-2
  54. - rebuilt with perl-5.26.
  55. * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.106-1
  56. - updated to 1.106
  57. - built with perl 5.16.3
  58. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.103-1
  59. - initial build for Vine Linux
  60. * Tue Feb 7 2012 Paul Howarth <paul@city-fan.org> - 0.103-9
  61. - Don't BR: perl(Test::Perl::Critic) if we're bootstrapping
  62. * Wed Feb 1 2012 Paul Howarth <paul@city-fan.org> - 0.103-8
  63. - Run Perl::Critic test in %%check too
  64. - BR: perl(Test::Perl::Critic)
  65. - BR: perl(Carp) and perl(Symbol), which might be dual-lived
  66. - Use DESTDIR rather than PERL_INSTALL_ROOT
  67. - Drop version requirement for perl(ExtUtils::MakeMaker); older versions work
  68. without problems, e.g. version 6.17 on EL-4
  69. - Make %%files list more explicit
  70. - Don't use macros for commands
  71. - Use tabs
  72. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-7
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  74. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.103-6
  75. - Perl mass rebuild
  76. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-5
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  78. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.103-4
  79. - Rebuild to fix problems with vendorarch/lib (#661697)
  80. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.103-3
  81. - Mass rebuild with perl-5.12.0
  82. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.103-2
  83. - Rebuild against perl 5.10.1
  84. * Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.103-1
  85. - Auto-update to 0.103 (by cpan-spec-update 0.01)
  86. - Added a new br on perl(ExtUtils::MakeMaker) (version 6.42)
  87. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-4
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  89. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-3
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  91. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.102-2
  92. - Rebuild for perl 5.10 (again)
  93. * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.102-1
  94. - Rebuild for new perl
  95. - Update to 0.102
  96. - Fix license tag
  97. * Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.100-2
  98. - Bump
  99. * Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.100-1
  100. - Specfile autogenerated by cpanspec 1.69.1