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

80 lines
1.9 KiB
RPMSpec
Raw Normal View History

2023-07-26 02:20:23 +00:00
%global cpan_version 1.999839
2019-09-30 11:12:45 -04:00
Name: perl-Math-BigInt
Epoch: 1
2023-07-26 02:20:23 +00:00
# Keep 4-digit version to compete with perl.spec
Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./')
Release: 1
2019-09-30 11:12:45 -04:00
Summary: Arbitrary size integer/float math package
License: GPL+ or Artistic
URL: https://metacpan.org/release/Math-BigInt
2023-07-26 02:20:23 +00:00
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-%{cpan_version}.tar.gz
2019-09-30 11:12:45 -04:00
BuildArch: noarch
BuildRequires:perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 perl(Test::More) >= 0.94
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
Requires: perl(Math::Complex) >= 1.39
Conflicts: perl < 4:5.22.0-347
%description
Math::BigInt provides support for arbitrary precision integers. Overloading is also
provided for Perl operators.
%package_help
%prep
2023-07-26 02:20:23 +00:00
%autosetup -n Math-BigInt-%{cpan_version} -p1
2019-09-30 11:12:45 -04:00
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%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 BUGS CREDITS README
%{perl_vendorlib}/*
%files help
%defattr(-,root,root)
%doc CHANGES GOALS HISTORY TODO NEW examples
%{_mandir}/*/*
%changelog
2023-07-26 02:20:23 +00:00
* Wed Jul 26 2023 wangjiang <wangjiang37@h-partners.com> - 1:1.9998.39-1
- upgrade version to 1.999839
* Tue Oct 25 2022 wangjiang <wangjiang37@h-partners.com> - 1:1.9998.27-2
- Rebuild for next release
2021-12-03 16:10:15 +08:00
* Fri Dec 3 2021 guozhaorui <guozhaorui1@huawei.com> - 1:1.9998.27-1
- update version to 1.999827
2020-07-25 15:12:12 +08:00
* Sat Jul 25 2020 zhanzhimin <zhanzhimin@huawei.com> - 1:1.9998.18-1
- Bump to version 1.999818
2019-09-30 11:12:45 -04:00
* Fri Sep 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:1.9998.13-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: change the directory of exmaples
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:1.9998.13-4
- Package init