]> git.pld-linux.org Git - packages/perl-Crypt-Skipjack.git/blame - perl-Crypt-Skipjack.spec
- rebuild with perl 5.28.0
[packages/perl-Crypt-Skipjack.git] / perl-Crypt-Skipjack.spec
CommitLineData
b8f9f418
JB
1#
2# Conditional build:
15707ae0 3%bcond_without tests # Do not perform "make test"
b8f9f418
JB
4#
5%include /usr/lib/rpm/macros.perl
c20172f1 6%define pdir Crypt
7%define pnam Skipjack
b8f9f418 8Summary: Crypt::Skipjack - Crypt::CBC-compliant block cipher
25ee4a39 9Summary(pl.UTF-8): Crypt::Skipjack - szyfr blokowy kompatybilny z Crypt::CBC
b8f9f418 10Name: perl-Crypt-Skipjack
c44d32a9 11Version: 1.0.2
30ee7fc4 12Release: 13
fde38a90 13License: GPL v2
b8f9f418 14Group: Development/Languages/Perl
fde38a90 15Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
c44d32a9 16# Source0-md5: 46196172e7020917f8249f36f8b55c21
fde38a90 17URL: http://search.cpan.org/dist/Crypt-Skipjack/
ef6263dd 18BuildRequires: perl-devel >= 1:5.8.0
b8f9f418
JB
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Skipjack is the secret key encryption algorithm designed by the
24National Security Agency, and is used in the Clipper chip and Fortezza
25PC card. It was implemented in tamper-resistant hardware and its
26structure had been classified since its introduction in 1993. Skipjack
27was unclassified on June 24, 1998. Skipjack is an 80-bit key, 64-bit
28block cipher. This module supports the Crypt::CBC interface.
29
77de8f8d 30%description -l pl.UTF-8
b8f9f418 31Skipjack to algorytm szyfrowania klucza tajnego opracowany przez NSA
77de8f8d
JR
32(National Security Agency), używany w układzie Clipper i kartach PC
33Fortezza. Był zaimplementowany w zabezpieczonym przed intruzami
34sprzęcie, a jego struktura była zastrzeżona od wprowadzenia w 1993
b8f9f418 35roku do 24 czerwca 1998. Skipjack to 64-bitowy szyfr blokowy z
77de8f8d 3680-bitowym kluczem. Ten moduł obsługuje interfejs Crypt::CBC.
b8f9f418
JB
37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
b662a964 44%{__make} \
f2e25d0f 45 CC="%{__cc}" \
b662a964 46 OPTIMIZE="%{rpmcflags}"
b8f9f418 47
15707ae0 48%{?with_tests:%{__make} test}
b8f9f418
JB
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
b8f9f418
JB
55cd examples
56install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57for f in * ; do
58 sed -e "s@#!/usr/local/bin/perl@#!/usr/bin/perl@" $f \
59 > $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$f
60done
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
67%doc Changes README
68%{perl_vendorarch}/Crypt/Skipjack.pm
69%dir %{perl_vendorarch}/auto/Crypt/Skipjack
b8f9f418
JB
70%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Skipjack/Skipjack.so
71%{_mandir}/man3/*
72%attr(755,root,root) %{_examplesdir}/%{name}-%{version}
This page took 0.089585 seconds and 4 git commands to generate.