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