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