1 %include /usr/lib/rpm/macros.perl
4 Summary: Crypt::GOST_PP Perl module - the GOST Encryption Algorithm
5 Summary(pl.UTF-8): Moduł Perla Crypt::GOST_PP - algorytm kodowania GOST
6 Name: perl-Crypt-GOST_PP
10 License: GPL v1+ or Artistic
11 Group: Development/Languages/Perl
12 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5: 4d654c309c3ca199b7aa69151364bea6
14 BuildRequires: perl-devel >= 1:5.8.0
15 BuildRequires: rpm-perlprov >= 4.1-13
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Crypt::GOST_PP is a pure perl implementation of GOST, a 64-bit
21 symmetrical block cipher with a 256-bit key from the former Soviet
24 %description -l pl.UTF-8
25 Moduł Crypt::GOST_PP jest czysto perlową implementacją GOST,
26 64-bitowego symetrycznego szyfru blokowego z 256-bitowym kluczem,
27 opracowanego w byłym Związku Radzieckim.
30 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %{__perl} Makefile.PL \
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %{perl_vendorlib}/Crypt/GOST_PP.pm