]> git.pld-linux.org Git - packages/perl-Crypt-CAST5_PP.git/blob - perl-Crypt-CAST5_PP.spec
cd8071c6a30e3871fa605343c2a24ce554942303
[packages/perl-Crypt-CAST5_PP.git] / perl-Crypt-CAST5_PP.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Crypt
7 %define         pnam    CAST5_PP
8 Summary:        Crypt::CAST5_PP Perl module - CAST5 block cipher implemented in pure Perl
9 Summary(pl):    Modu³ Perla Crypt::CAST5_PP - szyfr blokowy CAST5 zaimplementowany w samym Perlu
10 Name:           perl-Crypt-CAST5_PP
11 Version:        1.02
12 Release:        2
13 License:        Artistic or GPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires:  perl-devel >= 5.6
17 BuildRequires:  perl-Test-Simple >= 0.1
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 Provides:       perl(Crypt::CAST5_PP::Tables)
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This module provides a pure Perl implementation of the CAST5 block
25 cipher. CAST5 is also known as CAST-128. It is a product of the CAST
26 design procedure developed by C. Adams and S. Tavares. The CAST5
27 cipher is available royalty-free.
28
29 %description -l pl
30 Ten modu³ zawiera implementacjê szyfru blokowego CAST5 napisan± w
31 samym Perlu. CAST5 jest znany tak¿e jako CAST-128 i jest produktem
32 procesu projektowania CAST, tworzonego przez C. Adamsa i S. Tavaresa.
33 Szyfr CAST5 jest dostêpny bezp³atnie.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor 
41 %{__make}
42 %{!?_without_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc Changes README
56 %{perl_vendorlib}/Crypt/CAST5_PP.pm
57 %{perl_vendorlib}/Crypt/CAST5_PP
58 %dir %{perl_vendorlib}/auto/Crypt/CAST5_PP
59 %{perl_vendorlib}/auto/Crypt/CAST5_PP/autosplit.ix
60 %{perl_vendorlib}/auto/Crypt/CAST5_PP/*.al
61 %{_mandir}/man3/*
This page took 0.046432 seconds and 2 git commands to generate.