[perl-Math-Prime-XS] Initial import (#890831).

Miro Hrončok churchyard at fedoraproject.org
Thu Jan 3 16:58:27 UTC 2013


commit d4e4a28a15fe6a2feafe02e7a41d7ee40e25c478
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Thu Jan 3 17:58:22 2013 +0100

    Initial import (#890831).

 .gitignore              |    1 +
 perl-Math-Prime-XS.spec |   75 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cdc93d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Math-Prime-XS-0.26.tar.gz
diff --git a/perl-Math-Prime-XS.spec b/perl-Math-Prime-XS.spec
new file mode 100644
index 0000000..0ca007f
--- /dev/null
+++ b/perl-Math-Prime-XS.spec
@@ -0,0 +1,75 @@
+Name:           perl-Math-Prime-XS
+Version:        0.26
+Release:        6%{?dist}
+Summary:        Detect and calculate prime numbers with deterministic tests
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Math-Prime-XS/
+Source0:        http://www.cpan.org/authors/id/K/KR/KRYDE/Math-Prime-XS-%{version}.tar.gz
+BuildRequires:  perl(boolean)
+BuildRequires:  perl(Benchmark)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::CBuilder)
+BuildRequires:  perl(File::HomeDir)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Params::Validate)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+BuildRequires:  perl(Test::Pod) >= 1.14
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter} # Filters (not)shared c libs
+
+%description
+Math::Prime::XS detects and calculates prime numbers by either applying
+Modulo operator division, the Sieve of Eratosthenes, a Summation
+calculation or Trial division.
+
+%prep
+%setup -q -n Math-Prime-XS-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
+./Build
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+
+%files
+%doc Changes devel META.json README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Math*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Dec 31 2012 Miro Hrončok <miro at hroncok.cz> - 0.26-6
+- Removed xt from doc
+
+* Sun Dec 30 2012 Miro Hrončok <miro at hroncok.cz> - 0.26-5
+- Removed deleting empty directories
+- Removed run-time Test Requires
+- Added previously removed BRs
+
+* Fri Nov 16 2012 Miro Hrončok <miro at hroncok.cz> - 0.26-4
+- Removed BRs provided by perl package
+
+* Sun Oct 07 2012 Miro Hrončok <miro at hroncok.cz> 0.26-3
+- Rebuilding for 32bit, no spec changes.
+
+* Sun Sep 23 2012 Miro Hrončok <miro at hroncok.cz> 0.26-2
+- Removed useless require.
+
+* Sun Sep 23 2012 Miro Hrončok <miro at hroncok.cz> 0.26-1
+- Specfile autogenerated by cpanspec 1.78 and revised.
diff --git a/sources b/sources
index e69de29..e271caf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5bd7727093742cc85cd6c762422c98c8  Math-Prime-XS-0.26.tar.gz


More information about the scm-commits mailing list