]> git.pld-linux.org Git - packages/perl-Crypt-Ctr.git/blob - perl-Crypt-Ctr.spec
1e7ab258de2533563d952e9be997aae485d8f6fd
[packages/perl-Crypt-Ctr.git] / perl-Crypt-Ctr.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Crypt
3 %define         pnam    Ctr
4 Summary:        Crypt::Ctr Perl module - encrypt data in Counter Mode
5 Summary(pl.UTF-8):      Moduł Perla Crypt::Ctr - szyfrujący dane w trybie licznika
6 Name:           perl-Crypt-Ctr
7 Version:        0.01
8 Release:        5
9 License:        unknown
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  2f5e1192078827c1425ae2d9e527211b
13 BuildRequires:  perl-devel >= 1:5.8.0
14 BuildRequires:  perl-Crypt-CFB
15 BuildRequires:  rpm-perlprov >= 4.1-13
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Generic Counter Mode implementation in pure Perl. The Counter Mode
21 module constructs a stream cipher from a block cipher or cryptographic
22 hash funtion and returns it as an object. Any block cipher in the
23 Crypt:: class can be used, as long as it supports the blocksize and
24 keysize methods. Any hash function in the Digest:: class can be used,
25 as long as it supports the add method.
26
27 %description -l pl.UTF-8
28 Implementacja ogólnego trybu licznika (Generic Counter Mode) w czystym
29 Perlu. Moduł ten tworzy strumieniowy szyfr z blokowego szyfru lub
30 kryptograficznej funkcji mieszającej i zwraca go jako obiekt. Może być
31 wykorzystany dowolny szyfr blokowy z klasy Crypt::, o ile tylko
32 obsługuje metody blocksize i keysize. Może być użyta dowolna funkcja
33 mieszająca z klasy Digest::, o ile tylko obsługuje metodę add.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes
55 %{perl_vendorlib}/Crypt/Ctr.pm
56 %{_mandir}/man3/*
This page took 0.06071 seconds and 2 git commands to generate.