f4fcfa
Name:           perl-Pod-Eventual
f4fcfa
Version:        0.093330
d42519
Release:        12%{?dist}
f4fcfa
Summary:        Read a POD document as a series of trivial events
f4fcfa
License:        GPL+ or Artistic
f4fcfa
Group:          Development/Libraries
f4fcfa
URL:            http://search.cpan.org/dist/Pod-Eventual/
f4fcfa
Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Pod-Eventual-%{version}.tar.gz
f4fcfa
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f4fcfa
BuildArch:      noarch
f4fcfa
BuildRequires:  perl(ExtUtils::MakeMaker)
f4fcfa
# Run-time:
f4fcfa
BuildRequires:  perl(Carp)
f4fcfa
BuildRequires:  perl(Mixin::Linewise::Readers) >= 0.001
f4fcfa
# Tests:
f4fcfa
BuildRequires:  perl(Test::Deep)
f4fcfa
BuildRequires:  perl(Test::More)
f4fcfa
# Optional tests:
f4fcfa
# not executed
f4fcfa
#BuildRequires:  perl(Test::Pod)
f4fcfa
#BuildRequires:  perl(Test::Pod::Coverage)
f4fcfa
# causes circular builddeps
f4fcfa
#BuildRequires:  perl(Pod::Coverage::TrustPod)
f4fcfa
f4fcfa
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
f4fcfa
f4fcfa
%{?perl_default_filter}
f4fcfa
f4fcfa
%description
f4fcfa
POD is a pretty simple format to write, but it can be a big pain to deal
f4fcfa
with reading it and doing anything useful with it. Most existing POD
f4fcfa
parsers care about semantics, like whether a =item occurred after an
f4fcfa
=over but before a back, figuring out how to link a L<>, and other things
f4fcfa
like that.
f4fcfa
f4fcfa
Pod::Eventual is much less ambitious and much more stupid. Fortunately, stupid
f4fcfa
is often better. (That's what I keep telling myself, anyway.)
f4fcfa
f4fcfa
Pod::Eventual reads line-based input and produces events describing each POD
f4fcfa
paragraph or directive it finds. Once complete events are immediately passed to
f4fcfa
the handle_event method. This method should be implemented by Pod::Eventual
f4fcfa
sub-classes. If it isn't, Pod::Eventual's own handle_event will be called, and
f4fcfa
will raise an exception.
f4fcfa
f4fcfa
%prep
f4fcfa
%setup -q -n Pod-Eventual-%{version}
f4fcfa
f4fcfa
%build
f4fcfa
%{__perl} Makefile.PL INSTALLDIRS=vendor
f4fcfa
make %{?_smp_mflags}
f4fcfa
f4fcfa
%install
f4fcfa
rm -rf $RPM_BUILD_ROOT
f4fcfa
f4fcfa
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
f4fcfa
f4fcfa
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
f4fcfa
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
f4fcfa
f4fcfa
%{_fixperms} $RPM_BUILD_ROOT/*
f4fcfa
f4fcfa
%check
f4fcfa
make test
f4fcfa
f4fcfa
%clean
f4fcfa
rm -rf $RPM_BUILD_ROOT
f4fcfa
f4fcfa
%files
f4fcfa
%defattr(-,root,root,-)
f4fcfa
%doc Changes LICENSE META.json README
f4fcfa
%{perl_vendorlib}/*
f4fcfa
%{_mandir}/man3/*
f4fcfa
f4fcfa
%changelog
d42519
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.093330-12
d42519
- Mass rebuild 2013-12-27
d42519
f4fcfa
* Thu Oct 25 2012 Petr Pisar <ppisar@redhat.com> - 0.093330-11
f4fcfa
- Correct dependencies
f4fcfa
f4fcfa
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-10
f4fcfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f4fcfa
f4fcfa
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.093330-9
f4fcfa
- Perl 5.16 rebuild
f4fcfa
f4fcfa
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-8
f4fcfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f4fcfa
f4fcfa
* Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.093330-7
f4fcfa
- Perl mass rebuild
f4fcfa
f4fcfa
* Wed Jul 13 2011 Iain Arnell <iarnell@gmail.com> 0.093330-6
f4fcfa
- drop circular Pod::Coverage::TrustPod buildreq
f4fcfa
- don't run "release" tests
f4fcfa
f4fcfa
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-5
f4fcfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f4fcfa
f4fcfa
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.093330-4
f4fcfa
- 661697 rebuild for fixing problems with vendorach/lib
f4fcfa
f4fcfa
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.093330-3
f4fcfa
- Mass rebuild with perl-5.12.0
f4fcfa
f4fcfa
* Sat Feb 27 2010 Iain Arnell <iarnell@gmail.com> 0.093330-2
f4fcfa
- BR perl(Pod::Coverage::TrustPod)
f4fcfa
f4fcfa
* Thu Jan 14 2010 Iain Arnell 0.093330-1
f4fcfa
- Specfile autogenerated by cpanspec 1.78.