]> git.pld-linux.org Git - packages/perl-Crypt-Twofish.git/blame - perl-Crypt-Twofish.spec
- tabs in preamble
[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
42b77e06 12Release: 3
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} \
43 OPTIMIZE="%{rpmcflags}"
44
47fba187 45%{?with_tests:%{__make} test}
52378337
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
db0ee5c8 59%{perl_vendorarch}/Crypt/Twofish.pm
60%dir %{perl_vendorarch}/auto/Crypt/Twofish
61%{perl_vendorarch}/auto/Crypt/Twofish/*.bs
62%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Twofish/*.so
52378337 63%{_mandir}/man3/*
This page took 0.087976 seconds and 4 git commands to generate.