diff --git a/PPIx-Utils-0.003.tar.gz b/PPIx-Utils-0.003.tar.gz new file mode 100644 index 0000000..02e2312 Binary files /dev/null and b/PPIx-Utils-0.003.tar.gz differ diff --git a/perl-PPIx-Utils.spec b/perl-PPIx-Utils.spec new file mode 100644 index 0000000..1a2e240 --- /dev/null +++ b/perl-PPIx-Utils.spec @@ -0,0 +1,56 @@ +Name: perl-PPIx-Utils +Version: 0.003 +Release: 1 +Summary: Utility functions for PPI +License: GPL+ or Artistic +URL: https://metacpan.org/release/PPIx-Utils/ +Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/PPIx-Utils-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: %{__make} +BuildRequires: perl-interpreter >= 0:5.008005 +BuildRequires: perl-generators +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(B::Keywords) >= 1.09 +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(PPI) >= 1.250 +BuildRequires: perl(PPI::Dumper) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::More) >= 0.88 +Requires: perl(B::Keywords) >= 1.09 +Requires: perl(PPI) >= 1.250 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(B::Keywords\\)$ + +%description +PPIx::Utils is a collection of utility functions for working with PPI +documents. The functions are organized into submodules, and may be imported +from the appropriate submodule or via this module. + +%prep +%setup -q -n PPIx-Utils-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{__make} test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Jul 06 2022 misaka00251 - 0.003-1 +- Init package (Thanks to fedora team)