]> git.pld-linux.org Git - packages/perl-Crypt-RC6.git/blob - perl-Crypt-RC6.spec
- license fixes and unification
[packages/perl-Crypt-RC6.git] / perl-Crypt-RC6.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Crypt
3 %define         pnam    RC6
4 Summary:        Crypt::RC6 Perl module - RC6 block cipher encryption
5 Summary(pl):    Modu³ Perla Crypt::RC6 - szyfr blokowy RC6
6 Name:           perl-Crypt-RC6
7 Version:        1.0
8 Release:        2
9 License:        GPL v2
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  6cd523b2ebfea33c66fc5f4252e88ce7
13 BuildRequires:  perl-devel >= 5.6
14 BuildRequires:  rpm-perlprov >= 4.1-13
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Crypt::CBC compliant RC6 block cipher encryption module. RC6 is an
19 evolutionary improvement of RC5, designed to meet the requirements of
20 the Advanced Encryption Standard (AES). This implementation requires
21 the use of a 16-, 24-, or 32-byte key and 16-byte blocks for
22 encryption/decryption. Twenty rounds are performed.
23
24 %description -l pl
25 Modu³ jest zgodn± z Crypt::CBC implementacj± szyfru blokowego RC6. RC6
26 jest ewolucyjnym rozszerzeniem RC5, opracowanym na potrzeby AES
27 (Advanced Security Standard - standardu zaawansowanego
28 bezpieczeñstwa). Ta implementacja wymaga u¿ycia 16, 24, lub
29 32-bajtowego klucza i 16-bajtowych bloków do kodowania i dekodowania.
30 Wykonywane jest dwadzie¶cia kroków.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make} OPTIMIZE="%{rpmcflags}"
39 %{__make} test
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc CHANGES README
53 %{perl_vendorarch}/Crypt/RC6.pm
54 %dir %{perl_vendorarch}/auto/Crypt/RC6
55 %{perl_vendorarch}/auto/Crypt/RC6/*.bs
56 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/RC6/*.so
57 %{_mandir}/man3/*
This page took 0.074257 seconds and 4 git commands to generate.