You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Crypt-Password/perl-Crypt-Password.spec

57 lines
1.7 KiB
Plaintext

Name: perl-Crypt-Password
Version: 0.28
Release: 2%{?dist}
Summary: Unix-style, Variously Hashed Passwords
License: Distributable, see COPYING.txt
Group: Development/Libraries
URL: http://search.cpan.org/dist/Crypt-Password/
Source0: http://www.cpan.org/authors/id/D/DR/DRSTEVE/Crypt-Password-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::Manifest)
BuildRequires: perl(inc::Module::Install)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This is just a wrapper for perl's crypt(), which can do everything you
would probably want to do to store a password, but this is to make usage
easier. The object stringifies to the return string of the crypt()
function, which is (on Linux/glibc et al) in Modular Crypt Format:
%prep
%setup -q -n Crypt-Password-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CHANGES COPYING.txt README SubmittingPatches
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Mar 24 2024 Jean-Philippe Pialasse <jpp@koozali.org> 0.28-2.sme
- fix missing deps for el8/SME11
* Sun Mar 24 2024 Trevor Batley <trevor@batley.id.au> 0.28-1
- Specfile autogenerated by cpanspec 1.78.