]>
Commit | Line | Data |
---|---|---|
3fe808d2 | 1 | %define pdir Crypt |
2 | %define pnam GOST_PP | |
4dac6784 | 3 | %include /usr/lib/rpm/macros.perl |
5795ca99 | 4 | Summary: Crypt::GOST_PP Perl module - the GOST Encryption Algorithm |
fcc97e66 | 5 | Summary(pl.UTF-8): Moduł Perla Crypt::GOST_PP - algorytm kodowania GOST |
5795ca99 JB |
6 | Name: perl-Crypt-GOST_PP |
7 | Version: 1.10 | |
395e745a | 8 | Release: 4 |
af71b842 | 9 | # same as perl |
10 | License: GPL v1+ or Artistic | |
5795ca99 | 11 | Group: Development/Languages/Perl |
73301b69 | 12 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
c878499c | 13 | # Source0-md5: 4d654c309c3ca199b7aa69151364bea6 |
4dac6784 | 14 | URL: http://search.cpan.org/dist/Crypt-GOST_PP/ |
e3c61bbb | 15 | BuildRequires: perl-devel >= 1:5.8.0 |
6cc84003 | 16 | BuildRequires: rpm-perlprov >= 4.1-13 |
5795ca99 JB |
17 | BuildArch: noarch |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Crypt::GOST_PP is a pure perl implementation of GOST, a 64-bit | |
22 | symmetrical block cipher with a 256-bit key from the former Soviet | |
23 | Union. | |
24 | ||
281dd8af JR |
25 | %description -l pl.UTF-8 |
26 | Moduł Crypt::GOST_PP jest czysto perlową implementacją GOST, | |
5795ca99 | 27 | 64-bitowego symetrycznego szyfru blokowego z 256-bitowym kluczem, |
281dd8af | 28 | opracowanego w byłym Związku Radzieckim. |
5795ca99 JB |
29 | |
30 | %prep | |
31 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
32 | ||
33 | %build | |
6cc84003 | 34 | %{__perl} Makefile.PL \ |
968d4fc7 | 35 | INSTALLDIRS=vendor |
5795ca99 JB |
36 | %{__make} |
37 | %{__make} test | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc Changes README | |
6cc84003 | 51 | %{perl_vendorlib}/Crypt/GOST_PP.pm |
5795ca99 | 52 | %{_mandir}/man3/* |