#
# Conditional build:
%bcond_without tests # Do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Crypt
%define pnam GeneratePassword
+%include /usr/lib/rpm/macros.perl
Summary: Crypt::GeneratePassword - generate secure random pronounceable passwords
Summary(pl.UTF-8): Crypt::GeneratePassword - generuj bezpieczne, losowe, wymawialne hasła
Name: perl-Crypt-GeneratePassword
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 65a9e924ba7496ebd13b70d863d8ae1b
+URL: http://search.cpan.org/dist/Crypt-GeneratePassword/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Crypt::GeneratePassword generates random passwords that are (more or less)
-pronounceable. Unlike Crypt::RandPasswd, it doesn't use the FIPS-181
-NIST standard, which is proven to be insecure. It does use a similar
-interface, so it should be a drop-in replacement in most cases.
+Crypt::GeneratePassword generates random passwords that are (more or
+less) pronounceable. Unlike Crypt::RandPasswd, it doesn't use the
+FIPS-181 NIST standard, which is proven to be insecure. It does use a
+similar interface, so it should be a drop-in replacement in most
+cases.
%description -l pl.UTF-8
Crypt::GeneratePassword generuje losowe hasła, (lepiej lub gorzej)
-wymawialne. W odróżnieniu od Crypt::RandPasswd, nie używa on standardu
-FIPS-181 NIST, który -- jak udowodniono -- nie jest bezpieczny. Używa za
-to podobnego interfejsu, więc zastępowanie w większości przypadków
+wymawialne. W odróżnieniu od Crypt::RandPasswd, nie używa on standardu
+FIPS-181 NIST, który -- jak udowodniono -- nie jest bezpieczny. Używa
+za to podobnego interfejsu, więc zastępowanie w większości przypadków
powinno być bezproblemowe.
%prep