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