perl-Crypt-PasswdMD5/perl-Crypt-PasswdMD5.spec

55 lines
1.5 KiB
RPMSpec
Raw Normal View History

2020-03-10 16:34:50 +08:00
Name: perl-Crypt-PasswdMD5
2022-06-21 17:32:39 +08:00
Version: 1.4.1
Release: 1
2020-03-10 16:34:50 +08:00
Summary: Provides interoperable MD5-based crypt() functions
2022-06-21 17:32:39 +08:00
License: GPL-1.0-or-later or Artistic-1.0
2020-03-10 16:34:50 +08:00
URL: https://metacpan.org/release/Crypt-PasswdMD5
2022-06-21 17:32:39 +08:00
Source0: https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-1.41.tgz
2020-03-10 16:34:50 +08:00
BuildArch: noarch
BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(strict) perl(warnings)
2022-06-21 17:32:39 +08:00
BuildRequires: perl(Digest::MD5) >= 2.53 perl(Exporter) perl(Test::More) >= 1.001002
2020-03-10 16:34:50 +08:00
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
2022-06-21 17:32:39 +08:00
%autosetup -p1 -n Crypt-PasswdMD5-1.41
2020-03-10 16:34:50 +08:00
%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
2022-06-21 17:32:39 +08:00
%license LICENSE
2020-03-10 16:34:50 +08:00
%{perl_vendorlib}/Crypt
%files help
%doc Changes README
%{_mandir}/man3/*
%changelog
2022-06-21 17:32:39 +08:00
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.4.1-1
- Upgrade to version 1.4.1
2020-03-10 16:34:50 +08:00
* Mon Mar 9 2020 Chen Dingxiao <chendingxiao1@huawei.com> - 1.4.0-14
- Package init