Group :: Development/ML
RPM: ocaml-num
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: ocaml-num
Version: 1.4
Release: alt1
Summary: Legacy Num library for arbitrary-precision integer and rational arithmetic
Group: Development/ML
License: LGPLv2+ with exceptions
Url: https://github.com/ocaml/num
Source0: %name-%version.tar
BuildRequires: ocaml
BuildRequires: ocaml-findlib-devel dune
%description
This library implements arbitrary-precision arithmetic on big integers
and on rationals.
This is a legacy library. It used to be part of the core OCaml
distribution (in otherlibs/num) but is now distributed separately. New
applications that need arbitrary-precision arithmetic should use the
Zarith library (https://github.com/ocaml/Zarith) instead of the Num
library, and older applications that already use Num are encouraged to
switch to Zarith. Zarith delivers much better performance than Num and
has a nicer API.
%package devel
Summary: Development files for %name
Group: Development/ML
Requires: %name = %EVR
%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.
%prep
%setup
%build
%dune_build --release at install
%check
%dune_check
%install
%dune_install
%files -f ocaml-files.runtime
%doc Changelog README.md
%doc LICENSE
%files devel -f ocaml-files.devel
%doc LICENSE
%changelog
…
Full changelog you can see here
Version: 1.4
Release: alt1
Summary: Legacy Num library for arbitrary-precision integer and rational arithmetic
Group: Development/ML
License: LGPLv2+ with exceptions
Url: https://github.com/ocaml/num
Source0: %name-%version.tar
BuildRequires: ocaml
BuildRequires: ocaml-findlib-devel dune
%description
This library implements arbitrary-precision arithmetic on big integers
and on rationals.
This is a legacy library. It used to be part of the core OCaml
distribution (in otherlibs/num) but is now distributed separately. New
applications that need arbitrary-precision arithmetic should use the
Zarith library (https://github.com/ocaml/Zarith) instead of the Num
library, and older applications that already use Num are encouraged to
switch to Zarith. Zarith delivers much better performance than Num and
has a nicer API.
%package devel
Summary: Development files for %name
Group: Development/ML
Requires: %name = %EVR
%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.
%prep
%setup
%build
%dune_build --release at install
%check
%dune_check
%install
%dune_install
%files -f ocaml-files.runtime
%doc Changelog README.md
%doc LICENSE
%files devel -f ocaml-files.devel
%doc LICENSE
%changelog
…
Full changelog you can see here