]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-ECDSA.git/blame - perl-Crypt-OpenSSL-ECDSA.spec
rebuild with perl 5.32
[packages/perl-Crypt-OpenSSL-ECDSA.git] / perl-Crypt-OpenSSL-ECDSA.spec
CommitLineData
55a4d689
AO
1#
2# Conditional build:
3%bcond_without tests # Do not perform "make test"
4#
55a4d689
AO
5%define pdir Crypt
6%define pnam OpenSSL-ECDSA
7Summary: Crypt::OpenSSL::ECDSA - Perl extension for OpenSSL ECDSA (Elliptic Curve Digital Signature Algorithm)
8Summary(pl.UTF-8): Crypt::OpenSSL::ECDSA - implementacja algorytmu ECDSA w Perlu
9Name: perl-Crypt-OpenSSL-ECDSA
10Version: 0.07
85945b89 11Release: 9
55a4d689
AO
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 2ee0afce54f5a2bfc47b336a7400eca2
c2dfe80a 17Patch0: Crypt-OpenSSL-ECDSA-0.08-Port-to-OpenSSL-1.1.0.patch
55a4d689
AO
18URL: http://search.cpan.org/dist/Crypt-OpenSSL-ECDSA/
19BuildRequires: openssl-devel >= 0.9.8a
01bcd1ea 20BuildRequires: perl-devel >= 1:5.8.1
55a4d689
AO
21BuildRequires: rpm-perlprov >= 4.1-13
22%if %{with tests}
23BuildRequires: perl-Crypt-OpenSSL-EC >= 1.01
24%endif
01bcd1ea 25Requires: perl-Crypt-OpenSSL-EC >= 1.01
55a4d689
AO
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29This module provides an interface to the ECDSA (Elliptic Curve Digital
30Signature Algorithm) functions in OpenSSL. Tested against OpenSSL 1.0.2
31
32%description -l pl.UTF-8
33Ten moduł dostarcza interfejs do funkcji implementujących algorytm
34ECDSA z biblioteki OpenSSL. Testowane z OpenSSLem w wersji 1.0.2.
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
c2dfe80a 38%patch0 -p1
55a4d689
AO
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43%{__make} \
44 CC="%{__cc}" \
45 OPTIMIZE="%{rpmcflags}"
46
47%{?with_tests:%{__make} test}
48
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 Changes README
61%{perl_vendorarch}/Crypt/OpenSSL/ECDSA.pm
62%dir %{perl_vendorarch}/auto/Crypt/OpenSSL/ECDSA
63%{perl_vendorarch}/auto/Crypt/OpenSSL/ECDSA/autosplit.ix
01bcd1ea 64%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/ECDSA/ECDSA.so
55a4d689 65%{_mandir}/man3/Crypt::OpenSSL::ECDSA.3pm*
This page took 0.066294 seconds and 4 git commands to generate.