From 086a04149d7dd9464dfde335feadecaf718eb11c1dc216d9048d1d4deaeffb1c Mon Sep 17 00:00:00 2001 From: cpanmirror Date: Tue, 11 Nov 2025 05:33:08 +0000 Subject: [PATCH] Automatic update to Pod-Abstract-0.26.tar.gz --- Pod-Abstract-0.20.tar.gz | 3 - Pod-Abstract-0.26.tar.gz | 3 + perl-Pod-Abstract.changes | 6 ++ perl-Pod-Abstract.spec | 132 ++++++++++++++++++++------------------ 4 files changed, 77 insertions(+), 67 deletions(-) delete mode 100644 Pod-Abstract-0.20.tar.gz create mode 100644 Pod-Abstract-0.26.tar.gz diff --git a/Pod-Abstract-0.20.tar.gz b/Pod-Abstract-0.20.tar.gz deleted file mode 100644 index d7052fb..0000000 --- a/Pod-Abstract-0.20.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:956ef7bb884c55456e2fb6e7f229f9a87dd50a61d700500c738db8f2ba277f87 -size 27676 diff --git a/Pod-Abstract-0.26.tar.gz b/Pod-Abstract-0.26.tar.gz new file mode 100644 index 0000000..1e42732 --- /dev/null +++ b/Pod-Abstract-0.26.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11bab4ba691dd73d5be6c6f5088d624d128a81233b75bd690af041540214efa6 +size 35170 diff --git a/perl-Pod-Abstract.changes b/perl-Pod-Abstract.changes index 959051b..35e9eb6 100644 --- a/perl-Pod-Abstract.changes +++ b/perl-Pod-Abstract.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 11 05:33:07 UTC 2025 - Tina Müller + +- 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 diff --git a/perl-Pod-Abstract.spec b/perl-Pod-Abstract.spec index 0eedef0..dc8d16d 100644 --- a/perl-Pod-Abstract.spec +++ b/perl-Pod-Abstract.spec @@ -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 -Version: 0.20 +Version: 0.260.0 Release: 0 -Summary: Load POD Documents -Source: http://search.cpan.org/CPAN/authors/id/B/BL/BLILBURNE/Pod-Abstract-%{version}.tar.gz +# 0.26 -> normalize -> 0.260.0 +%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 -URL: http://search.cpan.org/dist/Pod-Abstract -Group: Development/Libraries/Perl -License: Perl License -BuildRoot: %{_tmppath}/build-%{name}-%{version} -Requires: perl = %{perl_version} +BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros -BuildRequires: make -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::More) -BuildRequires: perl(Scalar::Util) BuildRequires: perl(IO::String) -BuildRequires: perl(File::Temp) +BuildRequires: perl(Module::Pluggable) BuildRequires: perl(Pod::Parser) BuildRequires: perl(Task::Weaken) -Requires: perl(Scalar::Util) Requires: perl(IO::String) -Requires: perl(File::Temp) +Requires: perl(Module::Pluggable) Requires: perl(Pod::Parser) 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 -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. +'Pod::Abstract' provides a means to load a POD 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. -%package -n paf -Summary: Load POD Documents -Group: Development/Tools/Other -Requires: %{name} = %{version} -%if 0%{?suse_version} >= 1120 -BuildArch: noarch -%endif +POD documents are not a natural tree, but do have a logical nesting +structure. 'Pod::Abstract' makes this explicit - '=head*' commands create +nested sections, =over and =back create nested lists, etc. -%description -n paf -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. +The "paf summary" command provides easy visualisation of the created tree. %prep -%setup -q -n "Pod-Abstract-%{version}" -%__sed -i '/^auto_install/d' Makefile.PL +%autosetup -n %{cpan_name}-%{cpan_version} -p1 + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?jobs:-j%{jobs}} +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%check +make test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -mkdir .rpmdoc -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) +%files -f %{name}.files %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 -- 2.51.1