!2 初始化包

From: @yahoohey
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-07-08 06:13:45 +00:00 committed by Gitee
commit e3205eb7f3
2 changed files with 52 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,52 @@
Name: perl-Lingua-EN-Inflect
Version: 1.905
Release: 1
Summary: Convert singular to plural, select "a" or "an"
License: GPL+ or Artistic
URL: https://metacpan.org/release/Lingua-EN-Inflect
Source0: Lingua-EN-Inflect-1.905.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(vars)
# Tests:
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Carp)
%description
%{summary}.
%prep
%setup -q -n Lingua-EN-Inflect-%{version}
chmod -x Changes README lib/Lingua/EN/Inflect.pm
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/Lingua/
%{_mandir}/man3/*.3*
%changelog
* Thu Jul 8 2021 chenjian <chenjian@kylinos.cn> - 1.905-1
- Init package