]> git.pld-linux.org Git - packages/perl-Crypt-RandPasswd.git/blame - perl-Crypt-RandPasswd.spec
use generic url
[packages/perl-Crypt-RandPasswd.git] / perl-Crypt-RandPasswd.spec
CommitLineData
d9837f68 1#
2# Conditional build:
6515ad96 3%bcond_with tests # perform "make test"
7fc87b68 4
5f8902a7 5%define pdir Crypt
6%define pnam RandPasswd
7fc87b68 7%include /usr/lib/rpm/macros.perl
f7658d83 8Summary: Crypt::RandPasswd Perl module - pronounceable passwords generator
2790a732 9Summary(pl.UTF-8): Moduł Perla Crypt::RandPasswd - generator wymawialnych haseł
f7658d83
JB
10Name: perl-Crypt-RandPasswd
11Version: 0.02
fe15e0a1 12Release: 6
81468629 13# same as perl
14License: GPL v1+ or Artistic
f7658d83 15Group: Development/Languages/Perl
5b6120aa 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
81cb6328 17# Source0-md5: c266c6f10b59945d7dddc58ecef6e13b
7fc87b68 18URL: http://search.cpan.org/dist/Crypt-RandPasswd/
ff7a0225 19BuildRequires: perl-devel >= 1:5.8.0
c8089ebc 20BuildRequires: rpm-perlprov >= 4.1-13
f7658d83
JB
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25This code is a Perl language implementation of the Automated Password
26Generator standard, like the program described in "A Random Word
27Generator For Pronounceable Passwords". This code is a re-engineering
28of the program contained in Appendix A of FIPS Publication 181,
29"Standard for Automated Password Generator".
30
79cd7b98
JR
31%description -l pl.UTF-8
32Ten moduł jest perlową implementacją standardu automatycznego
33generatora haseł, takiego jak program opisany w "A Random Word
34Generator For Pronounceable Passwords" (generator losowych słów na
35potrzeby wymawialnych haseł). Ten kod jest ponowną implementacją
36programu zawartego w załączniku A publikacji FIPS numer 181 "Standard
f7658d83
JB
37for Automated Password Generator".
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
c8089ebc 43%{__perl} Makefile.PL \
0147b767 44 INSTALLDIRS=vendor
f7658d83 45%{__make}
d9837f68 46
47# it may hang on a machine that does not receive enough random events
6515ad96 48%{?with_tests:%{__make} test}
f7658d83
JB
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
c8089ebc 62%{perl_vendorlib}/Crypt/RandPasswd.pm
f7658d83 63%{_mandir}/man3/*
This page took 0.06008 seconds and 4 git commands to generate.