]> git.pld-linux.org Git - packages/perl-Crypt-Twofish.git/blame - perl-Crypt-Twofish.spec
perl 5.38.0 rebuild
[packages/perl-Crypt-Twofish.git] / perl-Crypt-Twofish.spec
CommitLineData
52378337
JB
1#
2# Conditional build:
47fba187 3%bcond_without tests # Do not perform "make test"
4#
04da72d7 5%define pdir Crypt
6%define pnam Twofish
52378337 7Summary: Crypt::Twofish Perl module - the Twofish encryption algorithm
75fd8ce1 8Summary(pl.UTF-8): Moduł Perla Crypt::Twofish - algorytm szyfrowania Twofish
52378337 9Name: perl-Crypt-Twofish
25151322 10Version: 2.17
f2865b17 11Release: 6
52378337
JB
12License: Artistic
13Group: Development/Languages/Perl
95902061 14Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
25151322 15# Source0-md5: bb6e7ec9ff6db6aea27dce7175a852e2
b81467da 16Patch0: no-dot-in-inc.patch
95902061 17URL: http://search.cpan.org/dist/Crypt-Twofish/
ab7ab360 18BuildRequires: perl-devel >= 1:5.8.0
db0ee5c8 19BuildRequires: rpm-perlprov >= 4.1-13
52378337
JB
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23This module implements Twofish encryption. It supports the Crypt::CBC
24interface. Twofish is a 128-bit symmetric block cipher with a variable
25length (128, 192, or 256-bit) key, developed by Counterpane Labs. It
26is unpatented and free for all uses, as described at
27<http://www.counterpane.com/twofish.html>.
28
c36476f4
JR
29%description -l pl.UTF-8
30Ten moduł jest implementacją szyfrowania Twofish. Obsługuje interfejs
52378337 31Crypt::CBC. Twofish jest 128-bitowym symetrycznym szyfrem blokowym ze
c36476f4
JR
32zmienną długością klucza (128, 192 lub 256 bitów), opracowanym przez
33Counterpane Labs. Nie jest opatentowany i można go swobodnie używać
34do dowolnych celów, zgodnie z opisem pod adresem
52378337
JB
35<http://www.counterpane.com/twofish.html>.
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
b81467da 39%patch0 -p1
52378337
JB
40
41%build
db0ee5c8 42%{__perl} Makefile.PL \
1f08eacd 43 INSTALLDIRS=vendor
e88ed8a8 44%{__make} \
b761ad5c 45 CC="%{__cc}" \
e88ed8a8 46 OPTIMIZE="%{rpmcflags}"
47
47fba187 48%{?with_tests:%{__make} test}
52378337
JB
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
db0ee5c8 62%{perl_vendorarch}/Crypt/Twofish.pm
63%dir %{perl_vendorarch}/auto/Crypt/Twofish
db0ee5c8 64%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Twofish/*.so
52378337 65%{_mandir}/man3/*
This page took 0.170647 seconds and 4 git commands to generate.