%define upstream_name Crypt-PasswdMD5 %define upstream_version 1.42 %{?perl_default_filter} Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Perl extension for crypt()-compatible interfaces to the MD5-based crypt() License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Crypt/%{upstream_name}-%{upstream_version}.tgz BuildRequires: perl(Digest::MD5) >= 2.530.0 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 1.1.2 BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildArch: noarch %description This code provides various crypt()-compatible interfaces to the MD5-based crypt() function found in various *nixes. It's based on the implementation found on FreeBSD 2.2.[56]-RELEASE %prep %setup -q -n %{upstream_name}-%{upstream_version} perl -pi -e 's,(SSL_DIR.*)/lib\b,\1/%{_lib},g' Makefile.PL %build CFLAGS="$RPM_OPT_FLAGS" echo | %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %check %make_build test %install %make_install %files %doc Changes LICENSE META.json META.yml MYMETA.yml README %{perl_vendorlib}/Crypt/PasswdMD5.pm %{_mandir}/*/* %changelog * Sun Jul 17 2022 tv <tv> 1.420.0-1.mga9 + Revision: 1869232 - update to 1.42 * Mon Mar 21 2022 umeabot <umeabot> 1.410.0-2.mga9 + Revision: 1813907 - Mageia 9 Mass Rebuild * Thu Feb 25 2021 tv <tv> 1.410.0-1.mga9 + Revision: 1690205 - update to 1.41 * Wed Feb 12 2020 umeabot <umeabot> 1.400.0-7.mga8 + Revision: 1493611 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%makeinstall_std * Wed Sep 19 2018 umeabot <umeabot> 1.400.0-6.mga7 + Revision: 1266800 - Mageia 7 Mass Rebuild * Sat Jun 18 2016 pterjan <pterjan> 1.400.0-5.mga6 + Revision: 1024552 - Rebuild for perl 5.22.2 * Tue Feb 02 2016 umeabot <umeabot> 1.400.0-4.mga6 + Revision: 932175 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1.400.0-3.mga5 + Revision: 739102 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.400.0-2.mga5 + Revision: 684051 - Mageia 5 Mass Rebuild * Mon Feb 10 2014 jquelin <jquelin> 1.400.0-1.mga5 + Revision: 588254 - update to 1.40 * Fri Oct 18 2013 umeabot <umeabot> 1.300.0-3.mga4 + Revision: 510353 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 1.300.0-2.mga3 + Revision: 364919 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 1.300.0-1.mga1 + Revision: 26012 - mageia rebuild - imported package perl-Crypt-PasswdMD5