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