perl-Math-BigInt-FastCalc/perl-Math-BigInt-FastCalc.spec

98 lines
3.1 KiB
RPMSpec
Raw Normal View History

2017-01-06 09:08:05 +00:00
Name: perl-Math-BigInt-FastCalc
2018-04-18 08:10:05 +00:00
%global cpan_version 0.5007
Version: 0.500.700
Release: 3%{?dist}
2017-01-06 09:08:05 +00:00
Summary: Math::BigInt::Calc with some XS for more speed
License: GPL+ or Artistic
URL: https://metacpan.org/release/Math-BigInt-FastCalc
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-FastCalc-%{cpan_version}.tar.gz
2017-01-06 09:08:05 +00:00
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
2018-04-18 08:10:05 +00:00
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
2017-01-06 09:08:05 +00:00
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(:VERSION) >= 5.6.0
BuildRequires: perl(Math::BigInt::Calc) >= 1.999801
BuildRequires: perl(XSLoader)
# Tests:
# Config::Tiny not used
# Exporter not used
# lib not used
BuildRequires: perl(Math::BigFloat)
2018-04-18 08:10:05 +00:00
BuildRequires: perl(Math::BigInt) >= 1.999812
2017-01-06 09:08:05 +00:00
# Scalar::Util not used
2018-04-18 08:10:05 +00:00
# Test::CPAN::Changes not used
BuildRequires: perl(Test::More) >= 0.88
# Test::Version not used
2017-01-06 09:08:05 +00:00
# Optional tests:
# Module::Signature not used and not helpful
2018-04-18 08:10:05 +00:00
# Pod::Coverage 0.18 not used
2017-01-06 09:08:05 +00:00
# Socket not used
2018-04-18 08:10:05 +00:00
# Test::Pod 1.22 not used
# Test::Pod::Coverage 1.08 not used
# Test::Portability::Files not used
2017-01-06 09:08:05 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Conflicts: perl < 4:5.22.0-348
%description
This Perl module provides support for fast big integer calculations.
%prep
%setup -q -n Math-BigInt-FastCalc-%{cpan_version}
%build
2018-04-18 08:10:05 +00:00
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
2017-01-06 09:08:05 +00:00
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
2018-04-18 08:10:05 +00:00
unset AUTHOR_TESTING RELEASE_TESTING
2017-01-06 09:08:05 +00:00
make test
%files
%license LICENSE
%doc CHANGES CREDITS README TODO
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Math*
%{_mandir}/man3/*
%changelog
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.700-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-27 00:01:39 +00:00
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.500.700-2
- Perl 5.28 rebuild
2018-04-18 08:10:05 +00:00
* Wed Apr 18 2018 Petr Pisar <ppisar@redhat.com> - 0.500.700-1
- 0.5007 bump
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-06-03 09:23:52 +00:00
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.500.600-3
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-01-12 09:59:08 +00:00
* Thu Jan 12 2017 Petr Pisar <ppisar@redhat.com> - 0.500.600-1
- 0.5006 bump
2017-01-06 09:08:05 +00:00
* Fri Dec 23 2016 Petr Pisar <ppisar@redhat.com> 0.500.500-1
- Specfile autogenerated by cpanspec 1.78.