!2 Init package

From: @misaka00251 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-07-25 07:47:13 +00:00 committed by Gitee
commit e44e60cc5d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 54 additions and 0 deletions

BIN
Text-Roman-3.5.tar.gz Normal file

Binary file not shown.

54
perl-Text-Roman.spec Normal file
View File

@ -0,0 +1,54 @@
Name: perl-Text-Roman
Version: 3.5
Release: 1
Summary: Conversion between Roman algorisms and Arabic numerals
License: GPL+ or Artistic
URL: https://metacpan.org/release/Text-Roman
Source0: https://cpan.metacpan.org/authors/id/S/SY/SYP/Text-Roman-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Temp)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Simple)
BuildRequires: perl(warnings)
Requires: perl(Carp)
Requires: perl(Exporter)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This package supports both conventional Roman algorisms (which range from 1
to 3999) and Milhar Romans, a variation which uses a bar across the
algorism to indicate multiplication by 1000.
%prep
%setup -q -n Text-Roman-%{version}
chmod a-x eg/*
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%license LICENSE
%doc Changes README eg
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Jun 30 2022 misaka00251 <misaka00251@misakanet.cn> - 3.5-1
- Init package (Thanks to fedora team)