summaryrefslogtreecommitdiffstats
path: root/perl-Crypt-DH-GMP.spec
diff options
context:
space:
mode:
Diffstat (limited to 'perl-Crypt-DH-GMP.spec')
-rw-r--r--perl-Crypt-DH-GMP.spec47
1 files changed, 47 insertions, 0 deletions
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.