]>
Commit | Line | Data |
---|---|---|
c39f8e8c | 1 | %include /usr/lib/rpm/macros.perl |
8fc58bba | 2 | %define pdir Crypt |
3 | %define pnam Blowfish_PP | |
c39f8e8c | 4 | Summary: Crypt::Blowfish_PP Perl module - pure Perl Blowfish alghoritm implementation |
29375ac7 | 5 | Summary(pl.UTF-8): Moduł Perla Crypt::Blowfish_PP - implementacja algorytmu Blowfish w samym Perlu |
c39f8e8c JB |
6 | Name: perl-Crypt-Blowfish_PP |
7 | Version: 1.12 | |
c9ca5725 | 8 | Release: 4 |
6688b50e | 9 | License: GPL or Artistic |
c39f8e8c | 10 | Group: Development/Languages/Perl |
ec80fb70 | 11 | Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz |
992973df | 12 | # Source0-md5: 6bf7dc80967eaf3047b67b26b015267d |
ec80fb70 | 13 | URL: http://search.cpan.org/dist/Crypt-Blowfish_PP/ |
66aa2480 | 14 | BuildRequires: perl-devel >= 1:5.8.0 |
6d1d1f55 | 15 | BuildRequires: rpm-perlprov >= 4.1-13 |
c39f8e8c JB |
16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | The Crypt::Blowfish_PP module provides for users to use the Blowfish | |
21 | encryption algorithm in Perl. The implementation is entirely Object | |
22 | Oriented, as there is quite a lot of context inherent in making | |
23 | Blowfish as fast as it is. The key is anywhere between 64 and 448 bits | |
24 | (8 and 56 bytes), and should be passed as a packed string. The | |
25 | transformation itself is a 16-round Feistel Network, and operates on a | |
26 | 64 bit block. | |
27 | ||
9da7f200 JR |
28 | %description -l pl.UTF-8 |
29 | Moduł Crypt::Blowfish_PP pozwala na korzystanie z algorytmu | |
30 | szyfrowania Blowfish w samym Perlu. Implementacja jest w pełni | |
31 | zorientowana obiektowo, jako że potrzeba sporo rzeczy związanych z | |
32 | kontekstem, aby Blowfish działał tak szybko jak działa. Klucza może | |
33 | dowolnej długości między 64 a 448 bitów (8 i 56 bajtów) i powinien być | |
34 | przekazany jako spakowany łańcuch. Sama transformacja jest 16-krokową | |
35 | siecią Feistela i operuje na 64-bitowym bloku. | |
c39f8e8c JB |
36 | |
37 | %prep | |
38 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
39 | ||
40 | %build | |
6d1d1f55 | 41 | %{__perl} Makefile.PL \ |
b862b045 | 42 | INSTALLDIRS=vendor |
c39f8e8c JB |
43 | %{__make} |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc CHANGELOG README | |
6d1d1f55 | 57 | %{perl_vendorlib}/Crypt/Blowfish_PP.pm |
ec80fb70 | 58 | %{_mandir}/man3/Crypt::Blowfish_PP.3pm* |