]>
Commit | Line | Data |
---|---|---|
3224aabd JB |
1 | # |
2 | # Conditional build: | |
d923a27c | 3 | %bcond_without tests # Do not perform "make test" |
3224aabd | 4 | # |
3d918308 | 5 | %define pdir Crypt |
6 | %define pnam CAST5_PP | |
491bacc5 | 7 | Summary: Crypt::CAST5_PP Perl module - CAST5 block cipher implemented in pure Perl |
5063c484 | 8 | Summary(pl.UTF-8): Moduł Perla Crypt::CAST5_PP - szyfr blokowy CAST5 zaimplementowany w samym Perlu |
491bacc5 | 9 | Name: perl-Crypt-CAST5_PP |
a89bcd26 | 10 | Version: 1.04 |
257731f6 | 11 | Release: 2 |
53dc2575 | 12 | # same as perl |
13 | License: GPL v1+ or Artistic | |
491bacc5 | 14 | Group: Development/Languages/Perl |
a5cd9e93 | 15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
a89bcd26 ER |
16 | # Source0-md5: 563d7ecad9193fe442cf1fe0b1da1a97 |
17 | URL: http://search.cpan.org/dist/Crypt-CAST5_PP/ | |
b1b07075 | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
491bacc5 | 19 | BuildRequires: perl-Test-Simple >= 0.1 |
2f04cd1d | 20 | BuildRequires: rpm-perlprov >= 4.1-13 |
2e6e4ad6 | 21 | Provides: perl(Crypt::CAST5_PP::Tables) |
491bacc5 JB |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
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. | |
30 | ||
8192a38d JR |
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 | |
491bacc5 | 34 | procesu projektowania CAST, tworzonego przez C. Adamsa i S. Tavaresa. |
8192a38d | 35 | Szyfr CAST5 jest dostępny bezpłatnie. |
491bacc5 JB |
36 | |
37 | %prep | |
38 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
39 | ||
40 | %build | |
2f04cd1d | 41 | %{__perl} Makefile.PL \ |
1f9a41bd | 42 | INSTALLDIRS=vendor |
491bacc5 | 43 | %{__make} |
d923a27c | 44 | %{?with_tests:%{__make} test} |
491bacc5 JB |
45 | |
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc Changes README | |
2f04cd1d | 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 | |
491bacc5 | 63 | %{_mandir}/man3/* |