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