Package init
This commit is contained in:
parent
c829380681
commit
e2c7a16d2a
BIN
Crypt-PasswdMD5-1.40.tgz
Normal file
BIN
Crypt-PasswdMD5-1.40.tgz
Normal file
Binary file not shown.
50
perl-Crypt-PasswdMD5.spec
Normal file
50
perl-Crypt-PasswdMD5.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
Name: perl-Crypt-PasswdMD5
|
||||||
|
Version: 1.4.0
|
||||||
|
Release: 14
|
||||||
|
Summary: Provides interoperable MD5-based crypt() functions
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: https://metacpan.org/release/Crypt-PasswdMD5
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-1.40.tgz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(strict) perl(warnings)
|
||||||
|
BuildRequires: perl(Digest::MD5) >= 2.53 perl(Exporter) perl(Test::More) >= 0.94
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Digest::MD5) >= 2.53
|
||||||
|
|
||||||
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Digest::MD5\\)$
|
||||||
|
|
||||||
|
%description
|
||||||
|
This perl package provides MD5-based crypt() functions.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Documents for perl-Crypt-PasswdMD5
|
||||||
|
Requires: man info
|
||||||
|
|
||||||
|
%description help
|
||||||
|
Documents for Package perl-Crypt-PasswdMD5
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n Crypt-PasswdMD5-1.40
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{perl_vendorlib}/Crypt
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc Changes README
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Mar 9 2020 Chen Dingxiao <chendingxiao1@huawei.com> - 1.4.0-14
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user