perl-Module-Info-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Name: perl-Module-Info
  2. Version: 0.32
  3. Release: 2%{?_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}-%{release}-root-%(%{__id_u} -n)
  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. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.32-2
  50. - revamp filter routines for B::Utils auto-provides.
  51. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.32-1
  52. - initial build for Vine Linux
  53. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-4
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  55. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.32-3
  56. - Perl mass rebuild
  57. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-2
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Tue Dec 28 2010 Steven Pritchard <steve@kspei.com> 0.32-1
  60. - Update to 0.32.
  61. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-9
  62. - 661697 rebuild for fixing problems with vendorach/lib
  63. * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-8
  64. - Mass rebuild with perl-5.12.0
  65. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.31-7
  66. - rebuild against perl 5.10.1
  67. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-6
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  69. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-5
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  71. * Wed Dec 17 2008 Steven Pritchard <steve@kspei.com> 0.31-4
  72. - BR Test::Pod::Coverage.
  73. - Filter B::Utils auto-provides.
  74. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-3
  75. - Rebuild for perl 5.10 (again)
  76. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.31-2
  77. - rebuild for new perl
  78. * Wed May 30 2007 Steven Pritchard <steve@kspei.com> 0.31-1
  79. - Update to 0.31.
  80. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.30-5
  81. - Use fixperms macro instead of our own chmod incantation.
  82. * Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.30-4
  83. - Rebuild.
  84. * Wed May 24 2006 Steven Pritchard <steve@kspei.com> 0.30-3
  85. - Rebuild.
  86. * Sat May 06 2006 Steven Pritchard <steve@kspei.com> 0.30-2
  87. - Add BR: perl(Test::Pod) and perl(version).
  88. - Add Requires: perl(version).
  89. * Fri Apr 21 2006 Steven Pritchard <steve@kspei.com> 0.30-1
  90. - Update to 0.30.
  91. - Use perl macro.
  92. - Drop extra find.
  93. * Fri Mar 24 2006 Steven Pritchard <steve@kspei.com> 0.290-1
  94. - Specfile autogenerated by cpanspec 1.64.
  95. - Add bindir and man1 files.