!1 Init package
From: @misaka00251 Reviewed-by: @geasscore Signed-off-by: @geasscore
This commit is contained in:
commit
cdc94d3acd
BIN
PPIx-Utils-0.003.tar.gz
Normal file
BIN
PPIx-Utils-0.003.tar.gz
Normal file
Binary file not shown.
56
perl-PPIx-Utils.spec
Normal file
56
perl-PPIx-Utils.spec
Normal file
@ -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 <misaka00251@misakanet.cn> - 0.003-1
|
||||||
|
- Init package (Thanks to fedora team)
|
||||||
Loading…
x
Reference in New Issue
Block a user