perl-Pod-Eventual-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. Name: perl-Pod-Eventual
  2. Version: 0.094001
  3. Release: 2%{?_dist_release}
  4. Summary: Read a POD document as a series of trivial events
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Pod-Eventual/
  8. Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Pod-Eventual-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Mixin::Linewise::Readers)
  13. BuildRequires: perl(Test::Deep)
  14. BuildRequires: perl(Test::More)
  15. BuildRequires: perl(Test::Pod)
  16. #BuildRequires: perl(Test::Pod::Coverage)
  17. # causes circular builddeps
  18. #BuildRequires: perl(Pod::Coverage::TrustPod)
  19. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. %{?perl_default_filter}
  23. %description
  24. POD is a pretty simple format to write, but it can be a big pain to deal
  25. with reading it and doing anything useful with it. Most existing POD
  26. parsers care about semantics, like whether a =item occurred after an
  27. =over but before a back, figuring out how to link a L<>, and other things
  28. like that.
  29. Pod::Eventual is much less ambitious and much more stupid. Fortunately, stupid
  30. is often better. (That's what I keep telling myself, anyway.)
  31. Pod::Eventual reads line-based input and produces events describing each POD
  32. paragraph or directive it finds. Once complete events are immediately passed to
  33. the handle_event method. This method should be implemented by Pod::Eventual
  34. subclasses. If it isn't, Pod::Eventual's own handle_event will be called, and
  35. will raise an exception.
  36. %prep
  37. %setup -q -n Pod-Eventual-%{version}
  38. %build
  39. %{__perl} Makefile.PL INSTALLDIRS=vendor
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf %{buildroot}
  43. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  44. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  45. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  46. %{_fixperms} %{buildroot}/*
  47. %check
  48. make test
  49. %clean
  50. rm -rf %{buildroot}
  51. %files
  52. %defattr(-,root,root,-)
  53. %license LICENSE
  54. %doc Changes META.json README
  55. %{perl_vendorlib}/*
  56. %{_mandir}/man3/*
  57. %changelog
  58. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.094001-2
  59. - new upstream release.
  60. - rebuilt with perl-5.26.
  61. * Thu Dec 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.094001-1
  62. - updated to 0.094001
  63. - built with perl 5.16.3
  64. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.093330-1
  65. - initial build for Vine Linux
  66. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-8
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  68. * Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.093330-7
  69. - Perl mass rebuild
  70. * Wed Jul 13 2011 Iain Arnell <iarnell@gmail.com> 0.093330-6
  71. - drop circular Pod::Coverage::TrustPod buildreq
  72. - don't run "release" tests
  73. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-5
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  75. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.093330-4
  76. - 661697 rebuild for fixing problems with vendorach/lib
  77. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.093330-3
  78. - Mass rebuild with perl-5.12.0
  79. * Sat Feb 27 2010 Iain Arnell <iarnell@gmail.com> 0.093330-2
  80. - BR perl(Pod::Coverage::TrustPod)
  81. * Thu Jan 14 2010 Iain Arnell 0.093330-1
  82. - Specfile autogenerated by cpanspec 1.78.