commit eef79bb189c32fe9d3bc171b6835ec61785d9e71 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:12:59 2019 -0400 Package init diff --git a/Params-Check-0.38.tar.gz b/Params-Check-0.38.tar.gz new file mode 100644 index 0000000..312ca91 Binary files /dev/null and b/Params-Check-0.38.tar.gz differ diff --git a/perl-Params-Check.spec b/perl-Params-Check.spec new file mode 100644 index 0000000..fb8ee65 --- /dev/null +++ b/perl-Params-Check.spec @@ -0,0 +1,58 @@ +Name: perl-Params-Check +Epoch: 1 +Version: 0.38 +Release: 418 +Summary: Generic input parsing/checking mechanism +License: GPL+ or Artistic +URL: https://metacpan.org/release/Params-Check +Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Params-Check-%{version}.tar.gz + + +BuildArch: noarch +BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(strict) + +#for test +BuildRequires: perl(constant) perl(Test::More) + +Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) + +%description +Params::Check + + Allows for generic input checking and validating using a powerfull + templating system, providing default values and so on. + +%package help +Summary: Man pages and other related documents for cronie + +BuildArch: noarch + +%description help +Man pages and other related documents for cronie. + +%prep +%autosetup -n Params-Check-%{version} -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 +%make_build + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot} + +%check +make test TEST_VERBOSE=1 + +%files +%doc README +%{perl_vendorlib}/* + +%files help +%doc CHANGES +%{_mandir}/man3/* + +%changelog +* Wed Aug 28 2019 openEuler Buildteam - 1:0.38-418 +- Package init +