commit c2be73a2b7501f8f12841ad79d1d4a777b5d055b Author: Miro Hrončok <miro@xxxxxxxxxx> 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@xxxxxxxxxx> - 0.40-5 +- Do not delete %%{buildroot} in %%install + +* Sun Dec 30 2012 Miro Hrončok <miro@xxxxxxxxxx> - 0.40-4 +- Removed deleting empty directories +- Removed run-time Test Requires +- Added previously removed BRs + +* Fri Nov 16 2012 Miro Hrončok <miro@xxxxxxxxxx> - 0.40-3 +- Removed BRs provided by perl package + +* Sun Oct 07 2012 Miro Hrončok <miro@xxxxxxxxxx> 0.40-2 +- Rebuilding for 32bit, no spec changes. + +* Sun Sep 23 2012 Miro Hrončok <miro@xxxxxxxxxx> 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 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel