parent
14fd06bd22
commit
92ac942d58
@ -0,0 +1 @@
|
||||
Pod-Eventual-0.093330.tar.gz
|
@ -0,0 +1,71 @@
|
||||
Name: perl-Pod-Eventual
|
||||
Version: 0.093330
|
||||
Release: 1%{?dist}
|
||||
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)
|
||||
BuildRequires: perl(Mixin::Linewise::Readers) >= 0.001
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
# not available yet
|
||||
#BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||
|
||||
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
|
||||
RELEASE_TESTING=1 make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE META.json README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Jan 14 2010 Iain Arnell 0.093330-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue