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