Group :: Desenvolvimento/Perl
RPM: perl-Math-GMPq
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
BuildRequires: libgmp-devel
# BEGIN SourceDeps(oneline):
BuildRequires: perl(Config.pm) perl(DynaLoader.pm) perl(Exporter.pm) perl(ExtUtils/MakeMaker.pm) perl(Math/BigInt.pm) perl(Math/GMP.pm) perl(overload.pm) perl(subs.pm)
#BuildRequires: perl(Math/GMPf.pm) perl(Math/GMPz.pm) perl(Math/MPFR.pm)
# END SourceDeps(oneline)
%define module_name Math-GMPq
BuildRequires: rpm-build-perl perl-devel perl-podlators
Name: perl-%module_name
Version: 0.55
Release: alt1
Summary: perl interface to the GMP library's rational (mpq) functions..
Group: Development/Perl
License: perl
Url: %CPAN %module_name
Source0: http://www.cpan.org/authors/id/S/SI/SISYPHUS/%{module_name}-%{version}.tar.gz
%description
A bigrational module utilising the Gnu MP (GMP) library..
Basically this module simply wraps all of the 'mpq'
(rational number) functions provided by that library.
The documentation below extensively plagiarises the GMP
documentation (which can be found at http://gmplib.org).
See also the Math::GMPq test suite for examples of usage.
IMPORTANT:
If your perl was built with '-Duse64bitint' you need to assign
all integers larger than 52-bit in a 'use integer;' block.
Failure to do so can result in the creation of the variable as
an NV (rather than an IV) - with a resultant loss of precision.
%prep
%setup -q -n %{module_name}-%{version}
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README CHANGES
%perl_vendor_archlib/M*
%perl_vendor_autolib/*
%changelog
…
Todas as alterações você pod ver aqui
BuildRequires: libgmp-devel
# BEGIN SourceDeps(oneline):
BuildRequires: perl(Config.pm) perl(DynaLoader.pm) perl(Exporter.pm) perl(ExtUtils/MakeMaker.pm) perl(Math/BigInt.pm) perl(Math/GMP.pm) perl(overload.pm) perl(subs.pm)
#BuildRequires: perl(Math/GMPf.pm) perl(Math/GMPz.pm) perl(Math/MPFR.pm)
# END SourceDeps(oneline)
%define module_name Math-GMPq
BuildRequires: rpm-build-perl perl-devel perl-podlators
Name: perl-%module_name
Version: 0.55
Release: alt1
Summary: perl interface to the GMP library's rational (mpq) functions..
Group: Development/Perl
License: perl
Url: %CPAN %module_name
Source0: http://www.cpan.org/authors/id/S/SI/SISYPHUS/%{module_name}-%{version}.tar.gz
%description
A bigrational module utilising the Gnu MP (GMP) library..
Basically this module simply wraps all of the 'mpq'
(rational number) functions provided by that library.
The documentation below extensively plagiarises the GMP
documentation (which can be found at http://gmplib.org).
See also the Math::GMPq test suite for examples of usage.
IMPORTANT:
If your perl was built with '-Duse64bitint' you need to assign
all integers larger than 52-bit in a 'use integer;' block.
Failure to do so can result in the creation of the variable as
an NV (rather than an IV) - with a resultant loss of precision.
%prep
%setup -q -n %{module_name}-%{version}
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README CHANGES
%perl_vendor_archlib/M*
%perl_vendor_autolib/*
%changelog
…
Todas as alterações você pod ver aqui