summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2014-05-01 16:01:05 -0600
committerKen Dreyer <ktdreyer@ktdreyer.com>2014-05-01 18:24:15 -0600
commit1e54bcc8662594862677f2d239948ba42ccea79f (patch)
treec1c9061315d01c8219e045ba8889ecf463ff7a85
downloadperl-Crypt-DH-GMP-master.zip
perl-Crypt-DH-GMP-master.tar.gz
perl-Crypt-DH-GMP-master.tar.xz
initial import (v0.00012)HEADmaster
-rw-r--r--.gitignore1
-rw-r--r--perl-Crypt-DH-GMP.spec47
-rw-r--r--sources1
3 files changed, 49 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7e01bde
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/Crypt-DH-GMP-0.00012.tar.gz
diff --git a/perl-Crypt-DH-GMP.spec b/perl-Crypt-DH-GMP.spec
new file mode 100644
index 0000000..68e823d
--- /dev/null
+++ b/perl-Crypt-DH-GMP.spec
@@ -0,0 +1,47 @@
+Name: perl-Crypt-DH-GMP
+Version: 0.00012
+Release: 1%{?dist}
+Summary: Crypt::DH Using GMP Directly
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Crypt-DH-GMP/
+Source0: http://www.cpan.org/modules/by-module/Crypt/Crypt-DH-GMP-%{version}.tar.gz
+BuildRequires: perl >= 1:5.8.1
+BuildRequires: perl(Devel::CheckLib) >= 0.4
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Requires)
+BuildRequires: gmp-devel
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Crypt::DH::GMP is a (somewhat) portable replacement to Crypt::DH,
+implemented mostly in C.
+
+%prep
+%setup -q -n Crypt-DH-GMP-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Crypt*
+%{_mandir}/man3/*
+
+%changelog
+* Thu May 01 2014 Ken Dreyer <ktdreyer@ktdreyer.com> 0.00012-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
new file mode 100644
index 0000000..d7982a0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9df5e4d790b81055d8609fa50ec31fdb Crypt-DH-GMP-0.00012.tar.gz