]> git.pld-linux.org Git - packages/perl-Crypt-PassGen.git/blobdiff - perl-Crypt-PassGen.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Crypt-PassGen.git] / perl-Crypt-PassGen.spec
index 264bbefaddd396c8b5c9583f2bd8bcfc11274242..a837cea829904708ba2aeae75d9e1fbedc3764e4 100644 (file)
@@ -1,22 +1,23 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
+%bcond_without tests   # Do not perform "make test"
+
 %define                pdir    Crypt
 %define                pnam    PassGen
 Summary:       Crypt::PassGen Perl module - generate a random password
-Summary(pl):   Modu³ Perla Crypt::PassGen - generuj±cy losowe has³a
+Summary(pl.UTF-8):     Moduł Perla Crypt::PassGen - generujący losowe hasła
 Name:          perl-Crypt-PassGen
-Version:       0.03
+Version:       0.05
 Release:       1
-License:       Artistic or GPL
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: e8aad942e5d407654d726f9c9a9d359a
+URL:           http://search.cpan.org/dist/Crypt-PassGen/
 Patch0:                %{name}-FHS.patch
-BuildRequires: perl >= 5.6
-BuildRequires: perl-Storable
-BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: words
 BuildConflicts:        wordlist
 Requires:      words
@@ -28,20 +29,21 @@ This module provides a single command for generating random password
 that is close enough to a real word that it is easy to remember. It
 does this by using the frequency of letter combinations in a language.
 
-%description -l pl
-Ten modu³ udostêpnia polecenie do generowania losowych hase³
-zbli¿onych do prawdziwych s³ów na tyle, ¿e s± ³atwe do zapamiêtania.
-U¿ywa do tego tablicy czêsto¶ci wystêpowania kombinacji liter w danym
-jêzyku.
+%description -l pl.UTF-8
+Ten moduł udostępnia polecenie do generowania losowych haseł
+zbliżonych do prawdziwych słów na tyle, że są łatwe do zapamiętania.
+Używa do tego tablicy częstości występowania kombinacji liter w danym
+języku.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
 
 %build
-%{__perl} Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -55,6 +57,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README
-%{perl_sitelib}/Crypt/PassGen.pm
-%{perl_sitelib}/Crypt/PassGenWordFreq.dat
+%{perl_vendorlib}/Crypt/PassGen.pm
+%{perl_vendorlib}/Crypt/PassGenWordFreq.dat
 %{_mandir}/man3/*
This page took 0.069057 seconds and 4 git commands to generate.