Package init
This commit is contained in:
commit
42d4100a2b
BIN
Math-BigRat-0.2614.tar.gz
Normal file
BIN
Math-BigRat-0.2614.tar.gz
Normal file
Binary file not shown.
58
perl-Math-BigRat.spec
Normal file
58
perl-Math-BigRat.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: perl-Math-BigRat
|
||||
Version: 0.2614
|
||||
Release: 2
|
||||
Summary: Arbitrary big rational numbers
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/Math-BigRat/
|
||||
Source0: http://www.cpan.org/authors/id/P/PJ/PJACKLAM/Math-BigRat-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires:perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 perl(Test::More) >= 0.88 findutils
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
|
||||
Requires: perl(Math::BigInt) >= 1.999718
|
||||
Conflicts: perl < 4:5.22.0-348
|
||||
|
||||
%description
|
||||
Math::BigRat complements Math::BigInt and Math::BigFloat by providing support
|
||||
for arbitrary big rational numbers.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n Math-BigRat-%{version} -p1
|
||||
|
||||
%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 README
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES TODO
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.2614-2
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user