[perl-Math-Factor-XS] Initial import (#890830).
by Miro Hrončok
commit c2be73a2b7501f8f12841ad79d1d4a777b5d055b
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Thu Jan 3 17:59:46 2013 +0100
Initial import (#890830).
.gitignore | 1 +
perl-Math-Factor-XS.spec | 69 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4196401 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Math-Factor-XS-0.40.tar.gz
diff --git a/perl-Math-Factor-XS.spec b/perl-Math-Factor-XS.spec
new file mode 100644
index 0000000..74ad0be
--- /dev/null
+++ b/perl-Math-Factor-XS.spec
@@ -0,0 +1,69 @@
+Name: perl-Math-Factor-XS
+Version: 0.40
+Release: 5%{?dist}
+Summary: Factorize numbers and calculate matching multiplications
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Math-Factor-XS/
+Source0: http://www.cpan.org/authors/id/K/KR/KRYDE/Math-Factor-XS-%{version}.tar.gz
+BuildRequires: perl(boolean)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::CBuilder)
+BuildRequires: perl(List::MoreUtils)
+BuildRequires: perl(Math::BigInt)
+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
+BuildRequires: perl(XSLoader)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter} # Filters (not)shared c libs
+
+%description
+Math::Factor::XS factorizes numbers by applying trial divisions.
+
+%prep
+%setup -q -n Math-Factor-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 META.json README scripts
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Math*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Dec 31 2012 Miro Hrončok <miro(a)hroncok.cz> - 0.40-5
+- Do not delete %%{buildroot} in %%install
+
+* Sun Dec 30 2012 Miro Hrončok <miro(a)hroncok.cz> - 0.40-4
+- Removed deleting empty directories
+- Removed run-time Test Requires
+- Added previously removed BRs
+
+* Fri Nov 16 2012 Miro Hrončok <miro(a)hroncok.cz> - 0.40-3
+- Removed BRs provided by perl package
+
+* Sun Oct 07 2012 Miro Hrončok <miro(a)hroncok.cz> 0.40-2
+- Rebuilding for 32bit, no spec changes.
+
+* Sun Sep 23 2012 Miro Hrončok <miro(a)hroncok.cz> 0.40-1
+- Specfile autogenerated by cpanspec 1.78 and revised.
diff --git a/sources b/sources
index e69de29..4102167 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fec7d1291fd9fecebe316d57f2a16cd3 Math-Factor-XS-0.40.tar.gz
10 years, 2 months
[perl-Math-Prime-XS] Initial import (#890831).
by Miro Hrončok
commit d4e4a28a15fe6a2feafe02e7a41d7ee40e25c478
Author: Miro Hrončok <miro(a)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(a)hroncok.cz> - 0.26-6
+- Removed xt from doc
+
+* Sun Dec 30 2012 Miro Hrončok <miro(a)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(a)hroncok.cz> - 0.26-4
+- Removed BRs provided by perl package
+
+* Sun Oct 07 2012 Miro Hrončok <miro(a)hroncok.cz> 0.26-3
+- Rebuilding for 32bit, no spec changes.
+
+* Sun Sep 23 2012 Miro Hrončok <miro(a)hroncok.cz> 0.26-2
+- Removed useless require.
+
+* Sun Sep 23 2012 Miro Hrončok <miro(a)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
10 years, 2 months