/[smecontribs]/rpms/perl-esmith-PasswordTools/contribs10/perl-esmith-PasswordTools.spec
ViewVC logotype

Contents of /rpms/perl-esmith-PasswordTools/contribs10/perl-esmith-PasswordTools.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Fri Nov 12 11:15:10 2021 UTC (3 years ago) by jcrisp
Branch: MAIN
CVS Tags: perl-esmith-PasswordTools-0_03-1_el7_sme, HEAD
Changes since 1.2: +18 -12 lines
Import v0.3 PasswordTools

1 # $Id: perl-esmith-PasswordTools.spec,v 1.2 2021/06/04 14:37:46 jpp Exp $
2 # Authority: mweinber
3 # Name: Michael Weinberger
4
5 %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
6 %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
7 %define perlname esmith-PasswordTools
8 Summary: Perl esmith::PasswordTools module
9 Name: perl-%{perlname}
10 Version: 0.03
11 Release: 1%{?dist}
12 License: Artistic, GPL
13 Group: System Environment/Libraries
14 Source: esmith-PasswordTools-0.03.tar.gz
15 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
16 BuildArch: noarch
17 Requires: smeserver-release >= 10
18 URL: http://geodsoft.com/howto/password/
19 BuildRequires: perl
20 BuildRequires: perl-ExtUtils-MakeMaker
21
22
23 %description
24 Generates easily pronounceable and easy to remember passwords that pass the SME server password strength check.
25
26 SYNOPSIS
27 use esmith::PasswordTools;
28 $siz=8; $addConsonants='yes', $firstUpper='yes'; $mixedCase='no'; $symbolOdds=10, $symbols='';
29 $pw = esmith::PasswordTools::generate_password( $siz, $addConsonants, $firstUpper, $mixedCase, $symbolOdds, $symbols );
30 $pw = esmith::PasswordTools::sme_generate_password( $siz, $addConsonants, $mixedCase );
31
32 %changelog
33 * Thu Nov 11 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.03-1.sme
34 - New build for SME v10 [SME: 11621]
35 - Merge subroutines back to one pm file
36
37 * Fri Jun 04 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.02-3.sme
38 - build for SME10 [SME: 11621]
39
40 * Sat Mar 01 2008 Michael Weinberger <mweinber@neddix.de> 0.02-2
41 fix spec file
42
43 %prep
44 %setup -n %{perlname}-%{version}
45
46
47 %build
48 %{__perl} Makefile.PL </dev/null
49 %{__sed} -e 's:^\(INSTALL[A-Z0-9_]*\(BIN\|ARCH\|SCRIPT\|LIB\|MAN[1-9]DIR\)\) = :\1 = '"$RPM_BUILD_ROOT"':' Makefile >Makefile2
50 %{__cat} Makefile2 >Makefile
51 %{__make}
52
53
54 %install
55 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
56 %{__make} install INSTALLDIRS=vendor
57 %{__rm} -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
58 %{__rm} -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/esmith/PasswordTools/.packlist
59
60
61 %clean
62 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
63
64
65 %files
66 %defattr(-,root,root)
67
68 #%dir %{_libdir}/perl5/5.8.5
69 %{perl_vendorlib}/esmith/PasswordTools.pm
70 %dir %{perl_vendorlib}/esmith
71
72 #%{perl_vendorlib}/auto/esmith/PasswordTools/autosplit.ix
73 #%{perl_vendorlib}/auto/esmith/PasswordTools/sme_generate_password.al
74 #%{perl_vendorlib}/auto/esmith/PasswordTools/generate_password.al
75 #%{perl_vendorlib}/auto/esmith/PasswordTools/validate_password.al
76 #%dir %{perl_vendorlib}/auto/esmith/PasswordTools
77 #%dir %{perl_vendorlib}/auto/esmith
78 #%dir %{perl_vendorlib}/auto
79
80 %doc %{_mandir}/man3/esmith::PasswordTools.3pm*
81 %doc Changes README

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed