3 %bcond_without tests # Do not perform "make test"
7 Summary: Crypt::CAST5_PP Perl module - CAST5 block cipher implemented in pure Perl
8 Summary(pl.UTF-8): Moduł Perla Crypt::CAST5_PP - szyfr blokowy CAST5 zaimplementowany w samym Perlu
9 Name: perl-Crypt-CAST5_PP
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 563d7ecad9193fe442cf1fe0b1da1a97
17 URL: http://search.cpan.org/dist/Crypt-CAST5_PP/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: perl-Test-Simple >= 0.1
20 BuildRequires: rpm-perlprov >= 4.1-13
21 Provides: perl(Crypt::CAST5_PP::Tables)
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This module provides a pure Perl implementation of the CAST5 block
27 cipher. CAST5 is also known as CAST-128. It is a product of the CAST
28 design procedure developed by C. Adams and S. Tavares. The CAST5
29 cipher is available royalty-free.
31 %description -l pl.UTF-8
32 Ten moduł zawiera implementację szyfru blokowego CAST5 napisaną w
33 samym Perlu. CAST5 jest znany także jako CAST-128 i jest produktem
34 procesu projektowania CAST, tworzonego przez C. Adamsa i S. Tavaresa.
35 Szyfr CAST5 jest dostępny bezpłatnie.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/Crypt/CAST5_PP.pm
59 %{perl_vendorlib}/Crypt/CAST5_PP
60 %dir %{perl_vendorlib}/auto/Crypt/CAST5_PP
61 %{perl_vendorlib}/auto/Crypt/CAST5_PP/autosplit.ix
62 %{perl_vendorlib}/auto/Crypt/CAST5_PP/*.al