Package init

This commit is contained in:
overweight 2019-09-30 11:12:02 -04:00
commit c3cde22317
2 changed files with 53 additions and 0 deletions

BIN
Digest-MD5-2.55.tar.gz Normal file

Binary file not shown.

53
perl-Digest-MD5.spec Normal file
View File

@ -0,0 +1,53 @@
Name: perl-Digest-MD5
Version: 2.55
Release: 419
Summary: Perl interface to the MD5 algorithm
License: (GPL+ or Artistic) and BSD
URL: https://metacpan.org/release/Digest-MD5
Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/Digest-MD5-%{version}.tar.gz
BuildRequires: gcc make perl-devel perl-generators perl-interpreter perl(strict) perl(Config) perl(ExtUtils::MakeMaker)
BuildRequires: perl(Digest::base) perl(Exporter) perl(vars) perl(XSLoader)
BuildRequires: perl(Encode) perl(Test) perl(Test::More) perl(warnings) perl(MIME::Base64) perl(threads)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Digest::base) perl(XSLoader)
%{?perl_default_filter}
%description
The Digest::MD5 module allows you to use the RSA Data Security Inc. MD5
Message Digest algorithm from within Perl programs. The algorithm takes as
input a message of arbitrary length and produces as output a 128-bit
"fingerprint" or "message digest" of the input.
%package_help
%prep
%setup -q -n Digest-MD5-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Digest*
%files help
%{_mandir}/*/*
%changelog
* Sun Sep 29 2019 yefei <yefei25@huawei.com> - 2.55-419
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete irrelevant comment
* Thu Sep 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.55-418
- Package init