[packages/perl-Crypt-OpenSSL-EC] - initial version, 1.01

adwol adwol at pld-linux.org
Tue Apr 26 20:40:30 CEST 2016


commit ff76a8974ad7755019b52a9caab4f6ecd508863b
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Tue Apr 26 20:35:38 2016 +0200

    - initial version, 1.01

 perl-Crypt-OpenSSL-EC.spec | 69 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)
---
diff --git a/perl-Crypt-OpenSSL-EC.spec b/perl-Crypt-OpenSSL-EC.spec
new file mode 100644
index 0000000..13b972d
--- /dev/null
+++ b/perl-Crypt-OpenSSL-EC.spec
@@ -0,0 +1,69 @@
+#
+# Conditional build:
+%bcond_without	tests	# Do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Crypt
+%define		pnam	OpenSSL-EC
+Summary:	Crypt::OpenSSL::EC - Perl extension for OpenSSL EC (Elliptic Curves) library
+Summary(pl.UTF-8):	Crypt::OpenSSL::EC - moduł Perla do obliczeń na krzywych eliptycznych
+Name:		perl-Crypt-OpenSSL-EC
+Version:	1.01
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	742f192f26bcac2249017cdd9e8bac35
+URL:		http://search.cpan.org/dist/Crypt-OpenSSL-EC/
+BuildRequires:	openssl-devel >= 0.9.8i
+BuildRequires:	perl-Crypt-OpenSSL-Bignum >= 0.04
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides a standard (non-OO) interface to the OpenSSL EC
+(Elliptic Curve) library. Some OO Calls are supported.
+Most of the functions described in openssl/ec.h are supported.
+It provides the Crypt::OpenSSL::EC class which defines some high level
+functions and constants.
+
+%description -l pl.UTF-8
+Ten moduł dostarcza nieobiektowy interfejs programistyczny do
+obliczeń na krzywych eliptycznych z blbioteki OpenSSL.
+Dostępna jest wiekszość funkcji opisanych w pliku openssl/ec.h.
+Klasa Crypt::OpenSSL::EC definiuje trochę wysokopoziomowych funkcji
+i stałych.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/Crypt/OpenSSL/EC.pm
+%dir %{perl_vendorarch}/auto/Crypt/OpenSSL/EC
+%{perl_vendorarch}/auto/Crypt/OpenSSL/EC/autosplit.ix
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/EC/*.so
+%{_mandir}/man3/Crypt::OpenSSL::EC.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-OpenSSL-EC.git/commitdiff/ff76a8974ad7755019b52a9caab4f6ecd508863b



More information about the pld-cvs-commit mailing list