1 | Name: perl-Pod-Eventual |
---|
2 | Version: 0.093330 |
---|
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 |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | BuildArch: noarch |
---|
11 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
12 | BuildRequires: perl(Mixin::Linewise::Readers) >= 0.001 |
---|
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 | |
---|
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 |
---|
70 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.093330-1 |
---|
71 | - initial build for Vine Linux |
---|
72 | |
---|
73 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-8 |
---|
74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
75 | |
---|
76 | * Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.093330-7 |
---|
77 | - Perl mass rebuild |
---|
78 | |
---|
79 | * Wed Jul 13 2011 Iain Arnell <iarnell@gmail.com> 0.093330-6 |
---|
80 | - drop circular Pod::Coverage::TrustPod buildreq |
---|
81 | - don't run "release" tests |
---|
82 | |
---|
83 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-5 |
---|
84 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
85 | |
---|
86 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.093330-4 |
---|
87 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
88 | |
---|
89 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.093330-3 |
---|
90 | - Mass rebuild with perl-5.12.0 |
---|
91 | |
---|
92 | * Sat Feb 27 2010 Iain Arnell <iarnell@gmail.com> 0.093330-2 |
---|
93 | - BR perl(Pod::Coverage::TrustPod) |
---|
94 | |
---|
95 | * Thu Jan 14 2010 Iain Arnell 0.093330-1 |
---|
96 | - Specfile autogenerated by cpanspec 1.78. |
---|