65 lines
1.5 KiB
RPMSpec
65 lines
1.5 KiB
RPMSpec
|
|
Name: perl-Math-BigInt-FastCalc
|
||
|
|
Version: 0.500.700
|
||
|
|
Release: 4
|
||
|
|
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-0.5007.tar.gz
|
||
|
|
|
||
|
|
BuildRequires:perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 perl(Test::More) >= 0.88
|
||
|
|
|
||
|
|
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
|
||
|
|
Conflicts: perl < 4:5.22.0-348
|
||
|
|
|
||
|
|
%description
|
||
|
|
Math::BigInt::FastCalc inherits from Math::BigInt::Calc.
|
||
|
|
Provides support for big integer calculations. Not intended to be used by other modules.
|
||
|
|
Other modules which sport the same functions can also be used to support Math::BigInt,
|
||
|
|
like Math::BigInt::GMP or Math::BigInt::Pari.
|
||
|
|
|
||
|
|
%package help
|
||
|
|
Summary: Documents for %{name}
|
||
|
|
Buildarch: noarch
|
||
|
|
Requires: man info
|
||
|
|
|
||
|
|
%description help
|
||
|
|
Man page and other related documents for %{name}.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n Math-BigInt-FastCalc-0.5007 -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 OPTIMIZE="%{optflags}"
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
%{_fixperms} -c %{buildroot}
|
||
|
|
|
||
|
|
%check
|
||
|
|
unset AUTHOR_TESTING RELEASE_TESTING
|
||
|
|
make test
|
||
|
|
|
||
|
|
%pre
|
||
|
|
|
||
|
|
%preun
|
||
|
|
|
||
|
|
%post
|
||
|
|
|
||
|
|
%postun
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%license LICENSE
|
||
|
|
%doc CREDITS README
|
||
|
|
%{perl_vendorarch}/*
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%doc CHANGES TODO
|
||
|
|
%{_mandir}/*/*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.500.700-4
|
||
|
|
- Package init
|