perl-Pod-Coverage-TrustPod-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Name: perl-Pod-Coverage-TrustPod
  2. Version: 0.100001
  3. Release: 1%{?_dist_release}
  4. Summary: Allow a module's pod to contain Pod::Coverage hints
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Pod-Coverage-TrustPod/
  8. Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Pod-Coverage-TrustPod-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(Carp::Heavy)
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Pod::Coverage::CountParents)
  14. BuildRequires: perl(Pod::Eventual::Simple)
  15. BuildRequires: perl(Pod::Find)
  16. BuildRequires: perl(Test::Pod)
  17. BuildRequires: perl(Test::Pod::Coverage)
  18. BuildRequires: perl(Test::More)
  19. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  20. %{?perl_default_filter}
  21. %description
  22. This is a Pod::Coverage subclass (actually, a subclass of
  23. Pod::Coverage::CountParents) that allows the POD itself to declare certain
  24. symbol names trusted.
  25. %prep
  26. %setup -q -n Pod-Coverage-TrustPod-%{version}
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. make pure_install DESTDIR=%{buildroot}
  33. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  34. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  35. %{_fixperms} %{buildroot}/*
  36. %check
  37. RELEASE_TESTING=1 make test
  38. %clean
  39. rm -rf %{buildroot}
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc Changes LICENSE README
  43. %{perl_vendorlib}/*
  44. %{_mandir}/man3/*
  45. %changelog
  46. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.100001-1
  47. - initial build for Vine Linux
  48. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.100001-2
  49. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  50. * Tue Jul 26 2011 Iain Arnell <iarnell@gmail.com> 0.100001-1
  51. - update to latest upstream
  52. * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.100000-3
  53. - Perl mass rebuild
  54. * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.100000-2
  55. - Perl mass rebuild
  56. * Sat Apr 09 2011 Iain Arnell <iarnell@gmail.com> 0.100000-1
  57. - update to latest upstream version
  58. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.092832-2
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Fri Nov 19 2010 Iain Arnell <iarnell@gmail.com> 0.092832-1
  61. - update to latest upstream version
  62. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.092830-4
  63. - Mass rebuild with perl-5.12.0
  64. * Tue Feb 16 2010 Iain Arnell <iarnell@gmail.com> 0.092830-3
  65. - use perl_default_filter
  66. - use DESTDIR, not PERL_INSTALL_ROOT
  67. * Wed Feb 03 2010 Iain Arnell <iarnell@gmail.com> 0.092830-2
  68. - requires perl(Pod::Coverage::CountParents)
  69. * Thu Jan 14 2010 Iain Arnell 0.092830-1
  70. - Specfile autogenerated by cpanspec 1.78.