]> git.pld-linux.org Git - packages/perl-Crypt-Twofish.git/blame - perl-Crypt-Twofish.spec
- rel 4
[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#
52378337 5%include /usr/lib/rpm/macros.perl
04da72d7 6%define pdir Crypt
7%define pnam Twofish
52378337 8Summary: Crypt::Twofish Perl module - the Twofish encryption algorithm
75fd8ce1 9Summary(pl.UTF-8): Moduł Perla Crypt::Twofish - algorytm szyfrowania Twofish
52378337
JB
10Name: perl-Crypt-Twofish
11Version: 2.12
9200ae31 12Release: 4
52378337
JB
13License: Artistic
14Group: Development/Languages/Perl
3ec8d55f 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
d62357f2 16# Source0-md5: 39937a00e4d5e6a5d700d1cd9991517c
ab7ab360 17BuildRequires: perl-devel >= 1:5.8.0
db0ee5c8 18BuildRequires: rpm-perlprov >= 4.1-13
52378337
JB
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This module implements Twofish encryption. It supports the Crypt::CBC
23interface. Twofish is a 128-bit symmetric block cipher with a variable
24length (128, 192, or 256-bit) key, developed by Counterpane Labs. It
25is unpatented and free for all uses, as described at
26<http://www.counterpane.com/twofish.html>.
27
c36476f4
JR
28%description -l pl.UTF-8
29Ten moduł jest implementacją szyfrowania Twofish. Obsługuje interfejs
52378337 30Crypt::CBC. Twofish jest 128-bitowym symetrycznym szyfrem blokowym ze
c36476f4
JR
31zmienną długością klucza (128, 192 lub 256 bitów), opracowanym przez
32Counterpane Labs. Nie jest opatentowany i można go swobodnie używać
33do dowolnych celów, zgodnie z opisem pod adresem
52378337
JB
34<http://www.counterpane.com/twofish.html>.
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
db0ee5c8 40%{__perl} Makefile.PL \
1f08eacd 41 INSTALLDIRS=vendor
e88ed8a8 42%{__make} \
b761ad5c 43 CC="%{__cc}" \
e88ed8a8 44 OPTIMIZE="%{rpmcflags}"
45
47fba187 46%{?with_tests:%{__make} test}
52378337
JB
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes README
db0ee5c8 60%{perl_vendorarch}/Crypt/Twofish.pm
61%dir %{perl_vendorarch}/auto/Crypt/Twofish
62%{perl_vendorarch}/auto/Crypt/Twofish/*.bs
63%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Twofish/*.so
52378337 64%{_mandir}/man3/*
This page took 0.064423 seconds and 4 git commands to generate.