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