]> git.pld-linux.org Git - packages/perl-Crypt-CAST5.git/blame - perl-Crypt-CAST5.spec
perl 5.38.0 rebuild
[packages/perl-Crypt-CAST5.git] / perl-Crypt-CAST5.spec
CommitLineData
c8b770ce
JB
1#
2# Conditional build:
7c8248bd 3%bcond_without tests # Do not perform "make test"
c8b770ce 4#
f206ef79 5%define pdir Crypt
6%define pnam CAST5
c8b770ce 7Summary: Crypt::CAST5 - CAST5 block cipher implementation in C
001b8acd 8Summary(pl.UTF-8): Crypt::CAST5 - implementacja szyfru blokowego CAST5 w C
c8b770ce 9Name: perl-Crypt-CAST5
637829b6 10Version: 0.05
b7e784f5 11Release: 21
5b00eb29 12# same as perl
c8b770ce
JB
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
29884291 15Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
637829b6
ER
16# Source0-md5: f4a876c68885950d5df3c30ede634787
17URL: http://search.cpan.org/dist/Crypt-CAST5/
7c8248bd 18%{?with_tests:BuildRequires: perl-Test-Simple >= 0.47}
6e86bfb9 19BuildRequires: perl-devel >= 1:5.8.0
c8b770ce
JB
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module provides an implementation of the CAST5 block cipher using
25compiled C code for increased speed. CAST5 is also known as CAST-128.
26It is a product of the CAST design procedure developed by C. Adams and
27S. Tavares.
28
61092baf
JR
29%description -l pl.UTF-8
30Ten moduł zawiera implementację szyfru blokowego CAST5 w postaci
31skompilowanego kodu C, aby zapewnić większą szybkość. CAST5 jest znany
32także jako CAST-128. Jest to produkt projektu CAST tworzonego przez C.
637829b6 33Adamsa i S. Tavaresa.
c8b770ce
JB
34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
a09a291a 41%{__make} \
e9e70221 42 CC="%{__cc}" \
a09a291a 43 OPTIMIZE="%{rpmcflags}"
c8b770ce 44
163c9256 45%{?with_tests:%{__make} test}
c8b770ce
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
59%{perl_vendorarch}/Crypt/CAST5.pm
60%dir %{perl_vendorarch}/auto/Crypt/CAST5
c8b770ce 61%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/CAST5/CAST5.so
29884291 62%{_mandir}/man3/Crypt::CAST5.3pm*
This page took 0.120028 seconds and 4 git commands to generate.