WIP: Automatic update to Pod-Abstract-0.26.tar.gz #1

Draft
cpanmirror wants to merge 1 commits from cpanmirror/perl-Pod-Abstract:autoupdate into main
4 changed files with 77 additions and 67 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:956ef7bb884c55456e2fb6e7f229f9a87dd50a61d700500c738db8f2ba277f87
size 27676

BIN
Pod-Abstract-0.26.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 11 05:33:07 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.260.0 (0.26)
see /usr/share/doc/packages/perl-Pod-Abstract/Changes
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 27 14:32:56 UTC 2010 - pascal.bleser@opensuse.org Mon Dec 27 14:32:56 UTC 2010 - pascal.bleser@opensuse.org

View File

@@ -1,93 +1,97 @@
# vim: set sw=4 ts=4 et nu: #
# spec file for package perl-Pod-Abstract
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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-Abstract
Name: perl-Pod-Abstract Name: perl-Pod-Abstract
Version: 0.20 Version: 0.260.0
Release: 0 Release: 0
Summary: Load POD Documents # 0.26 -> normalize -> 0.260.0
Source: http://search.cpan.org/CPAN/authors/id/B/BL/BLILBURNE/Pod-Abstract-%{version}.tar.gz %define cpan_version 0.26
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Abstract document tree for Perl POD documents
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BL/BLILBURNE/%{cpan_name}-%{cpan_version}.tar.gz
Source100: README.md Source100: README.md
URL: http://search.cpan.org/dist/Pod-Abstract BuildArch: noarch
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl = %{perl_version}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(IO::String) BuildRequires: perl(IO::String)
BuildRequires: perl(File::Temp) BuildRequires: perl(Module::Pluggable)
BuildRequires: perl(Pod::Parser) BuildRequires: perl(Pod::Parser)
BuildRequires: perl(Task::Weaken) BuildRequires: perl(Task::Weaken)
Requires: perl(Scalar::Util)
Requires: perl(IO::String) Requires: perl(IO::String)
Requires: perl(File::Temp) Requires: perl(Module::Pluggable)
Requires: perl(Pod::Parser) Requires: perl(Pod::Parser)
Requires: perl(Task::Weaken) Requires: perl(Task::Weaken)
Provides: perl(Pod::Abstract) = %{version}
Provides: perl(Pod::Abstract::BuildNode) = %{version}
Provides: perl(Pod::Abstract::Filter) = %{version}
Provides: perl(Pod::Abstract::Filter::add_podcmds) = %{version}
Provides: perl(Pod::Abstract::Filter::clear_podcmds) = %{version}
Provides: perl(Pod::Abstract::Filter::cut) = %{version}
Provides: perl(Pod::Abstract::Filter::find) = %{version}
Provides: perl(Pod::Abstract::Filter::number_sections) = %{version}
Provides: perl(Pod::Abstract::Filter::overlay) = %{version}
Provides: perl(Pod::Abstract::Filter::ptree) = %{version}
Provides: perl(Pod::Abstract::Filter::sort) = %{version}
Provides: perl(Pod::Abstract::Filter::summary) = %{version}
Provides: perl(Pod::Abstract::Filter::uncut) = %{version}
Provides: perl(Pod::Abstract::Filter::unoverlay) = %{version}
Provides: perl(Pod::Abstract::Node) = %{version}
Provides: perl(Pod::Abstract::Parser) = %{version}
Provides: perl(Pod::Abstract::Path) = %{version}
Provides: perl(Pod::Abstract::Serial) = %{version}
Provides: perl(Pod::Abstract::Tree) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description %description
POD::Abstract provides a means to load a POD (or POD compatible) document 'Pod::Abstract' provides a means to load a POD document without direct
without direct reference to it's syntax, and perform manipulations on the reference to it's syntax, and perform manipulations on the abstract syntax
abstract syntax tree. tree.
This can be used to support additional features for POD, to format output, This can be used to support additional features for POD, to format output,
to compile into alternative formats, etc. to compile into alternative formats, etc.
%package -n paf POD documents are not a natural tree, but do have a logical nesting
Summary: Load POD Documents structure. 'Pod::Abstract' makes this explicit - '=head*' commands create
Group: Development/Tools/Other nested sections, =over and =back create nested lists, etc.
Requires: %{name} = %{version}
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description -n paf The "paf summary" command provides easy visualisation of the created tree.
Review

Missing subpackage definition. Should be added to cpanspec.yml

Missing subpackage definition. Should be added to cpanspec.yml
POD::Abstract provides a means to load a POD (or POD compatible) document
without direct reference to it's syntax, and perform manipulations on the
abstract syntax tree.
This can be used to support additional features for POD, to format output,
to compile into alternative formats, etc.
%prep %prep
%setup -q -n "Pod-Abstract-%{version}" %autosetup -n %{cpan_name}-%{cpan_version} -p1
%__sed -i '/^auto_install/d' Makefile.PL
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
%__perl Makefile.PL PREFIX="%{_prefix}" perl Makefile.PL INSTALLDIRS=vendor
%__make %{?jobs:-j%{jobs}} %make_build
%check
make test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
mkdir .rpmdoc %files -f %{name}.files
for f in Changes README; do
%__ln_s -f ../%{name}/$f .rpmdoc/$f
done
find "%{buildroot}%{perl_vendorlib}" -type f -name '*.pm' -exec %__chmod 0644 {} \;
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc Changes README %doc Changes README
%dir %{perl_vendorlib}/Pod
%{perl_vendorlib}/Pod/Abstract.pm
%{perl_vendorlib}/Pod/Abstract
%dir %{perl_vendorarch}/auto/Pod
%{perl_vendorarch}/auto/Pod/Abstract
%doc %{perl_man3dir}/Pod::Abstract.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Pod::Abstract::*.%{perl_man3ext}%{ext_man}
%files -n paf
%defattr(-,root,root)
%doc .rpmdoc/*
%{_bindir}/paf
%doc %{_mandir}/man1/paf.1%{ext_man}
%changelog