# # spec file for package perl-Pod-Parser # # 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-Parser Name: perl-Pod-Parser Version: 1.66 Release: 1.3 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Modules for parsing/translating POD format documents URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros %{perl_requires} %description *NOTE: This module is considered legacy; modern Perl releases (5.31.1 and higher) are going to remove Pod-Parser from core and use Pod::Simple for all things POD.* *Pod::Parser* is a base class for creating POD filters and translators. It handles most of the effort involved with parsing the POD sections from an input stream, leaving subclasses free to be concerned only with performing the actual translation of text. *Pod::Parser* parses PODs, and makes method calls to handle the various components of the POD. Subclasses of *Pod::Parser* override these methods to translate the POD into whatever output format they desire. %prep %autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %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 ANNOUNCE CHANGES README TODO %changelog * Sun Apr 23 2023 Tina Müller <timueller+perl@suse.de> - updated to 1.66 see /usr/share/doc/packages/perl-Pod-Parser/CHANGES R22-Apr-2023 Marek Rouchal <marekr@cpan.org> - ---------------------------------------------------------------------------- Version 1.66 + fix CPAN#145128 - Pod::Find does not work any more with 5.36 on Win32 + unixify line endings in this distribution * Sun May 22 2022 Tina Müller <timueller+perl@suse.de> - updated to 1.65 see /usr/share/doc/packages/perl-Pod-Parser/CHANGES * Tue Mar 8 2016 coolo@suse.com - updated to 1.63 see /usr/share/doc/packages/perl-Pod-Parser/CHANGES * Wed May 8 2013 lars@linux-schulserver.de - update to 1.60: + removed Pod::Checker and Pod::Usage from this distribution - they are now separate distros and are subjects to be refactored + fix CPAN#74271: Pod::Parser should not flag L<text|hyperlink> - add version string to binaries to avoid file conflicts with integrated perl versions * Thu Jun 7 2012 lars@linux-schulserver.de - initial package 1.51 * created by cpanspec 1.78.03