perl-Sub-Exporter-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. Name: perl-Sub-Exporter
  2. Version: 0.987
  3. Release: 2%{?_dist_release}
  4. Summary: Sophisticated exporter for custom-built routines
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Sub-Exporter/
  8. Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. # Build
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. # Module
  14. BuildRequires: perl(Carp)
  15. BuildRequires: perl(Data::OptList)
  16. BuildRequires: perl(Package::Generator)
  17. BuildRequires: perl(Params::Util)
  18. BuildRequires: perl(Sub::Install)
  19. # Test suite
  20. BuildRequires: perl(Test::More)
  21. # Runtime
  22. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  23. Requires: perl(Package::Generator)
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. %description
  27. Sub::Exporter provides a sophisticated alternative to Exporter.pm. It allows
  28. for renaming, currying/sub-generation, and other cool stuff.
  29. ACHTUNG! If you're not familiar with Exporter or exporting, read
  30. Sub::Exporter::Tutorial first!
  31. %prep
  32. %setup -q -n Sub-Exporter-%{version}
  33. # Fix shellbangs
  34. find t/ -type f -exec sed -i -e 's|^#!perl|#!/usr/bin/perl|' {} \;
  35. %build
  36. perl Makefile.PL INSTALLDIRS=vendor
  37. make %{?_smp_mflags}
  38. %install
  39. rm -rf %{buildroot}
  40. make pure_install DESTDIR=%{buildroot}
  41. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  42. %{_fixperms} %{buildroot}
  43. %check
  44. make test
  45. %clean
  46. rm -rf %{buildroot}
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc Changes README t/
  50. %dir %{perl_vendorlib}/Sub/
  51. %dir %{perl_vendorlib}/Sub/Exporter/
  52. %{perl_vendorlib}/Sub/Exporter.pm
  53. %{perl_vendorlib}/Sub/Exporter/Util.pm
  54. %doc %{perl_vendorlib}/Sub/Exporter/Cookbook.pod
  55. %doc %{perl_vendorlib}/Sub/Exporter/Tutorial.pod
  56. %{_mandir}/man3/Sub::Exporter.3pm*
  57. %{_mandir}/man3/Sub::Exporter::Cookbook.3pm*
  58. %{_mandir}/man3/Sub::Exporter::Tutorial.3pm*
  59. %{_mandir}/man3/Sub::Exporter::Util.3pm*
  60. %changelog
  61. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.987-2
  62. - rebuilt with perl-5.26.
  63. * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.987-1
  64. - updated to 0.987
  65. - built with perl 5.16.3
  66. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.982-1
  67. - initial build for Vine Linux
  68. * Sat Mar 3 2012 Paul Howarth <paul@city-fan.org> - 0.982-10
  69. - Explicitly require perl(Package::Generator)
  70. - Make %%files list more explicit
  71. - Mark POD files as %%doc
  72. - Use DESTDIR rather than PERL_INSTALL_ROOT
  73. - Don't need to remove empty directories from buildroot
  74. - Don't use macros for commands
  75. - Use tabs
  76. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-9
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  78. * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.982-8
  79. - Perl mass rebuild
  80. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-7
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  82. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.982-6
  83. - Rebuild to fix problems with vendorarch/lib (#661697)
  84. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.982-5
  85. - Mass rebuild with perl-5.12.0
  86. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.982-4
  87. - Rebuild against perl 5.10.1
  88. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-3
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  90. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-2
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  92. * Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.982-1
  93. - Update to 0.982
  94. * Sun Oct 26 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.981-1
  95. - Update to 0.981
  96. * Thu Oct 23 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.980-1
  97. - Update to 0.980
  98. * Mon Jun 30 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.979-1
  99. - Update to 0.979
  100. - Drop BR's on: perl(Test::Pod::Coverage), perl(Test::Pod)
  101. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.978-2
  102. - Rebuild for perl 5.10 (again)
  103. * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.978-1
  104. - Update to 0.978
  105. - Fix license tag
  106. - Rebuild for new perl
  107. * Thu Aug 09 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.975-1
  108. - Update to 0.975
  109. * Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.974-1
  110. - Update to 0.974
  111. * Sat Dec 09 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.972-1
  112. - Update to 0.972
  113. * Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.970-2
  114. - Bump
  115. * Sat Sep 02 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.970-1
  116. - Specfile autogenerated by cpanspec 1.69.1