Package init
This commit is contained in:
commit
eef79bb189
BIN
Params-Check-0.38.tar.gz
Normal file
BIN
Params-Check-0.38.tar.gz
Normal file
Binary file not shown.
58
perl-Params-Check.spec
Normal file
58
perl-Params-Check.spec
Normal file
@ -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 <buildteam@openeuler.org> - 1:0.38-418
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user