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