From 1e54bcc8662594862677f2d239948ba42ccea79f Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Thu, 1 May 2014 16:01:05 -0600 Subject: initial import (v0.00012) --- .gitignore | 1 + perl-Crypt-DH-GMP.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 49 insertions(+) create mode 100644 .gitignore create mode 100644 perl-Crypt-DH-GMP.spec create mode 100644 sources 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 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 -- cgit