]> git.pld-linux.org Git - packages/perl-Crypt-GOST.git/blame - perl-Crypt-GOST.spec
- release 11 (by relup.sh)
[packages/perl-Crypt-GOST.git] / perl-Crypt-GOST.spec
CommitLineData
0b11415b 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
c24cde73 5%include /usr/lib/rpm/macros.perl
86b5ae8b 6%define pdir Crypt
7%define pnam GOST
3e6556d0 8Summary: Crypt::GOST Perl module - the GOST encryption algorithm
8e17a9af 9Summary(pl.UTF-8): Moduł Perla Crypt::GOST - algorytm kodowania GOST
c24cde73
JB
10Name: perl-Crypt-GOST
11Version: 1.00
f4d9b623 12Release: 11
c24cde73
JB
13License: Artistic
14Group: Development/Languages/Perl
facca3ba 15Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
5bb3f1f1 16# Source0-md5: 0250fb0539db739baf6608318894d67d
facca3ba 17URL: http://search.cpan.org/dist/Crypt-GOST/
bbb31f36 18BuildRequires: perl-devel >= 1:5.8.0
0be68cfc 19BuildRequires: rpm-perlprov >= 4.1-13
c24cde73
JB
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23This module implements GOST encryption. It supports the Crypt::CBC
24interface. GOST 28147-89 is a 64-bit symmetric block cipher with a
25256-bit key developed in the former Soviet Union. Some information on
26it is available at http://vipul.net/gost/.
27
02d177a5
JR
28%description -l pl.UTF-8
29Ten moduł jest implementacją kodowania GOST. Obsługuje interfejs
c24cde73 30Crypt::CBC. GOST 28147-89 jest 64-bitowym symetrycznym szyfrem
02d177a5
JR
31blokowym z 256-bitowym kluczem. Został opracowany w byłym Związku
32Radzieckim. Więcej informacji na stronie http://vipul.net/gost/.
c24cde73
JB
33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
36
37%build
0be68cfc 38%{__perl} Makefile.PL \
87b4f7cd 39 INSTALLDIRS=vendor
0b11415b 40%{__make} \
bd1f47f4 41 CC="%{__cc}" \
0b11415b 42 OPTIMIZE="%{rpmcflags}"
43
44%{?with_tests:%{__make} test}
c24cde73
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
0be68cfc 58%{perl_vendorarch}/Crypt/GOST.pm
59%dir %{perl_vendorarch}/auto/Crypt/GOST
0be68cfc 60%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/GOST/*.so
c24cde73 61%{_mandir}/man3/*
This page took 0.1268 seconds and 4 git commands to generate.