]> git.pld-linux.org Git - packages/perl-Crypt-Twofish2.git/blame - perl-Crypt-Twofish2.spec
- tabs in preamble
[packages/perl-Crypt-Twofish2.git] / perl-Crypt-Twofish2.spec
CommitLineData
4230dd63
JB
1#
2# Conditional build:
e511b52e 3%bcond_without tests # Do not perform "make test"
4#
4230dd63 5%include /usr/lib/rpm/macros.perl
b75422c5 6%define pdir Crypt
7%define pnam Twofish2
4230dd63 8Summary: Crypt::Twofish2 - Crypt::CBC compliant Twofish encryption Perl module
c76526d6 9Summary(pl.UTF-8): Crypt::Twofish2 - perlowy moduł szyfru Twofish zgodny z Crypt::CBC
4230dd63 10Name: perl-Crypt-Twofish2
5b549882 11Version: 1.01
a9a834c6 12Release: 1
25d121bb 13License: Artistic
4230dd63 14Group: Development/Languages/Perl
1b10d848 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
5b549882 16# Source0-md5: e7c6e90ddf22306ebcc1a91df47c26d9
4e902d54 17BuildRequires: perl-devel >= 1:5.8.0
afa71e10 18BuildRequires: rpm-perlprov >= 4.1-13
4230dd63
JB
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This module implements the Twofish cipher in a less braindamaged
23(read: slow and ugly) way than the existing "Crypt::Twofish" module.
24Although it is "Crypt::CBC" compliant you usually gain nothing by
25using that module (except generality), since "Crypt::Twofish2" can
26work in either ECB or CBC mode.
27
c61a342b
JR
28%description -l pl.UTF-8
29Ten moduł jest implementacją szyfru Twofish w mniej debilny (powolny
30i paskudny) sposób niż moduł Crypt::Twofish. Pomimo tego, że jest
31zgodny z Crypt::CBC, nie ma potrzeby używania tamtego modułu, ponieważ
32Crypt::Twofish2 może działać zarówno w trybie ECB jak i CBC.
4230dd63
JB
33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
36
37%build
afa71e10 38%{__perl} Makefile.PL \
623a95d5 39 INSTALLDIRS=vendor
01edc3fa 40%{__make} \
41 OPTIMIZE="%{rpmcflags}"
e511b52e 42
43%{?with_tests:%{__make} test}
4230dd63
JB
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc Changes README
afa71e10 57%{perl_vendorarch}/Crypt/Twofish2.pm
58%dir %{perl_vendorarch}/auto/Crypt/Twofish2
59%{perl_vendorarch}/auto/Crypt/Twofish2/*.bs
60%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Twofish2/*.so
4230dd63 61%{_mandir}/man3/*
This page took 0.07655 seconds and 4 git commands to generate.