1
0
perl-Pod-Eventual/perl-Pod-Eventual.spec
Dirk Stoecker 1059ee8ad4 Accepting request 1046367 from devel:languages:perl:autoupdate
- updated to 0.094003
   see /usr/share/doc/packages/perl-Pod-Eventual/Changes
  0.094003  2022-12-31 16:48:21-05:00 America/New_York
          - update author contact info

OBS-URL: https://build.opensuse.org/request/show/1046367
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Eventual?expand=0&rev=10
2023-01-04 15:48:46 +00:00

74 lines
2.4 KiB
RPMSpec

#
# spec file for package perl-Pod-Eventual
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Pod-Eventual
Name: perl-Pod-Eventual
Version: 0.094003
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Read a POD document as a series of trivial events
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
BuildRequires: perl(Mixin::Linewise::Readers) >= 0.102
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.96
Requires: perl(Mixin::Linewise::Readers) >= 0.102
%{perl_requires}
%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
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog