]> git.pld-linux.org Git - packages/perl-Digest-GOST.git/blame - perl-Digest-GOST.spec
rebuild with perl 5.32
[packages/perl-Digest-GOST.git] / perl-Digest-GOST.spec
CommitLineData
28aea110
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
2761b987
AO
5%define pdir Digest
6%define pnam GOST
7Summary: Digest::GOST - Perl interface to the GOST R 34.11-94 digest algorithm
8Summary(pl.UTF-8): Digest::GOST - implementacja algorytmu skrótu GOST R 34.11-94
9Name: perl-Digest-GOST
10Version: 0.06
0e67a154 11Release: 7
2761b987
AO
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
28aea110 15Source0: http://www.cpan.org/modules/by-module/Digest/%{pdir}-%{pnam}-%{version}.tar.gz
2761b987
AO
16# Source0-md5: d91904e56300d08956ea5f1e174863f3
17URL: http://search.cpan.org/dist/Digest-GOST/
18BuildRequires: perl-devel >= 1:5.8.0
28aea110
JB
19%if %{with tests}
20BuildRequires: perl-Test-Simple >= 0.82
21%endif
2761b987
AO
22BuildRequires: rpm-perlprov >= 4.1-13
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26The Digest::GOST module provides an interface to the GOST R 34.11-94
27message digest algorithm. This interface follows the conventions set
28forth by the Digest module. To use the CryptoPro parameters, use
29Digest::GOST::CryptoPro.
30
31%description -l pl.UTF-8
32Moduł Digest::GOST implementuje algorytm skrótu GOST R 34.11-94.
33Interfejs programistyczny jest zgodny z konwencją przyjętą przez
34moduł Digest. W przypadku wykorzystywania parametrów CryptoPro
35należy użyć modułu Digest::GOST::CryptoPro.
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43%{__make} \
44 CC="%{__cc}" \
45 OPTIMIZE="%{rpmcflags}"
46
28aea110
JB
47%{?with_tests:%{__make} test}
48
2761b987
AO
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc README Changes
61%{perl_vendorarch}/Digest/GOST.pm
62%{perl_vendorarch}/Digest/GOST
63%dir %{perl_vendorarch}/auto/Digest/GOST
64%attr(755,root,root) %{perl_vendorarch}/auto/Digest/GOST/GOST.so
65%{_mandir}/man3/Digest::GOST.3pm*
66%{_mandir}/man3/Digest::GOST::CryptoPro.3pm*
This page took 0.086765 seconds and 4 git commands to generate.