3 # _without_tests - do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Crypt::CAST5_PP Perl module - CAST5 block cipher implemented in pure Perl
9 Summary(pl): Modu³ Perla Crypt::CAST5_PP - szyfr blokowy CAST5 zaimplementowany w samym Perlu
10 Name: perl-Crypt-CAST5_PP
13 License: Artistic or GPL
14 Group: Development/Languages/Perl
15 Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires: perl >= 5.6
17 BuildRequires: perl-Test-Simple >= 0.1
18 BuildRequires: rpm-perlprov >= 3.0.3-16
19 Provides: perl(Crypt::CAST5_PP::Tables)
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This module provides a pure Perl implementation of the CAST5 block
25 cipher. CAST5 is also known as CAST-128. It is a product of the CAST
26 design procedure developed by C. Adams and S. Tavares. The CAST5
27 cipher is available royalty-free.
30 Ten modu³ zawiera implementacjê szyfru blokowego CAST5 napisan± w
31 samym Perlu. CAST5 jest znany tak¿e jako CAST-128 i jest produktem
32 procesu projektowania CAST, tworzonego przez C. Adamsa i S. Tavaresa.
33 Szyfr CAST5 jest dostêpny bezp³atnie.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{!?_without_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_sitelib}/Crypt/CAST5_PP.pm
56 %{perl_sitelib}/Crypt/CAST5_PP
57 %dir %{perl_sitelib}/auto/Crypt/CAST5_PP
58 %{perl_sitelib}/auto/Crypt/CAST5_PP/autosplit.ix
59 %{perl_sitelib}/auto/Crypt/CAST5_PP/*.al