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