perl-Module-Info-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Name: perl-Module-Info
  2. Version: 0.32
  3. Release: 3%{?_dist_release}
  4. Summary: Information about Perl modules
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Module-Info/
  8. Source0: http://www.cpan.org/authors/id/M/MB/MBARBON/Module-Info-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Module::Build)
  12. BuildRequires: perl(Test::Pod)
  13. BuildRequires: perl(Test::Pod::Coverage)
  14. BuildRequires: perl(version)
  15. Requires: perl(version)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. %if "%{_dist_release}" > "vl6"
  18. %global __provides_exclude ^perl\\(B::Utils\\)
  19. %else
  20. %global provfilt /bin/sh -c "%{__perl_provides} | grep -Ev '^perl[(]B::Utils[)]'"
  21. %define __perl_provides %{provfilt}
  22. %endif
  23. %description
  24. Module::Info gives you information about Perl modules without actually
  25. loading the module. It actually isn't specific to modules and should work
  26. on any perl code.
  27. %prep
  28. %setup -q -n Module-Info-%{version}
  29. %build
  30. %{__perl} Build.PL installdirs=vendor
  31. ./Build
  32. %install
  33. rm -rf %{buildroot}
  34. ./Build install destdir=%{buildroot} create_packlist=0
  35. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  36. %{_fixperms} %{buildroot}/*
  37. %check
  38. ./Build test
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc Changes
  44. %{_bindir}/*
  45. %{perl_vendorlib}/*
  46. %{_mandir}/man1/*
  47. %{_mandir}/man3/*
  48. %changelog
  49. * Wed Nov 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.32-3
  50. - rebuilt with perl 5.16.3
  51. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.32-2
  52. - revamp filter routines for B::Utils auto-provides.
  53. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.32-1
  54. - initial build for Vine Linux
  55. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-4
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  57. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.32-3
  58. - Perl mass rebuild
  59. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-2
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  61. * Tue Dec 28 2010 Steven Pritchard <steve@kspei.com> 0.32-1
  62. - Update to 0.32.
  63. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-9
  64. - 661697 rebuild for fixing problems with vendorach/lib
  65. * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-8
  66. - Mass rebuild with perl-5.12.0
  67. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.31-7
  68. - rebuild against perl 5.10.1
  69. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-6
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  71. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-5
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  73. * Wed Dec 17 2008 Steven Pritchard <steve@kspei.com> 0.31-4
  74. - BR Test::Pod::Coverage.
  75. - Filter B::Utils auto-provides.
  76. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-3
  77. - Rebuild for perl 5.10 (again)
  78. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.31-2
  79. - rebuild for new perl
  80. * Wed May 30 2007 Steven Pritchard <steve@kspei.com> 0.31-1
  81. - Update to 0.31.
  82. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.30-5
  83. - Use fixperms macro instead of our own chmod incantation.
  84. * Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.30-4
  85. - Rebuild.
  86. * Wed May 24 2006 Steven Pritchard <steve@kspei.com> 0.30-3
  87. - Rebuild.
  88. * Sat May 06 2006 Steven Pritchard <steve@kspei.com> 0.30-2
  89. - Add BR: perl(Test::Pod) and perl(version).
  90. - Add Requires: perl(version).
  91. * Fri Apr 21 2006 Steven Pritchard <steve@kspei.com> 0.30-1
  92. - Update to 0.30.
  93. - Use perl macro.
  94. - Drop extra find.
  95. * Fri Mar 24 2006 Steven Pritchard <steve@kspei.com> 0.290-1
  96. - Specfile autogenerated by cpanspec 1.64.
  97. - Add bindir and man1 files.