perl-Pod-Coverage-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: perl-Pod-Coverage
  2. Version: 0.19
  3. Release: 1%{?_dist_release}
  4. Summary: Checks if the documentation of a module is comprehensive
  5. Summary(ja): Checks if the documentation of a module is comprehensive
  6. License: GPL+ or Artistic
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/Pod-Coverage/
  9. Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Pod-Coverage-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildArch: noarch
  12. BuildRequires: perl(Devel::Symdump) >= 2.01
  13. BuildRequires: perl(Module::Build)
  14. BuildRequires: perl(Test::Pod)
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. %description
  17. Developers hate writing documentation. They'd hate it even more if their
  18. computer tattled on them, but maybe they'll be even more thankful in the
  19. long run. Even if not, perlmodstyle tells you to, so you must obey.
  20. This module provides a mechanism for determining if the pod for a given
  21. module is comprehensive.
  22. %prep
  23. %setup -q -n Pod-Coverage-%{version}
  24. %build
  25. %{__perl} Build.PL installdirs=vendor
  26. ./Build
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  30. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  31. %{_fixperms} $RPM_BUILD_ROOT/*
  32. %check
  33. ./Build test
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc Changes README examples/
  39. %{_bindir}/*
  40. %{perl_vendorlib}/*
  41. %{_mandir}/man3/*
  42. %changelog
  43. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.19-1
  44. - initial build for Vine Linux
  45. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.19-3
  46. - Rebuild for perl 5.10 (again), second pass with tests enabled
  47. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.19-2
  48. - Rebuild for perl 5.10 (again), first pass without Test::Pod, tests
  49. * Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.19-1
  50. - Update to 0.19.
  51. - Use fixperms macro instead of our own chmod incantation.
  52. - Reformat to match cpanspec output.
  53. * Thu Jan 10 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-3
  54. - rebuild 2, enable Test::Pod, tests
  55. * Thu Jan 10 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-2.1
  56. - rebuild (first pass, no tests, no Test::Pod)
  57. * Wed Aug 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-2
  58. - Version 0.18 is now a noarch package.
  59. * Wed Aug 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-1
  60. - Update to 0.18.
  61. * Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.17-5
  62. - Rebuild for FC5 (perl 5.8.8).
  63. * Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.17-4
  64. - Add dist tag.
  65. * Wed Apr 20 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.17-3
  66. - Avoid .packlist creation with Module::Build >= 0.2609.
  67. - Trust that %%{perl_vendorlib} is defined.
  68. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  69. - rebuilt
  70. * Sat Nov 27 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.17-1
  71. - Update to 0.17.
  72. * Wed Oct 20 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.16-0.fdr.1
  73. - Update to 0.16.
  74. * Thu May 20 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.14-0.fdr.1
  75. - First build.