Group :: Development/ML
RPM: utop
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: utop
Version: 2.9.1
Release: alt1
Summary: Universal toplevel for OCaml
Group: Development/ML
License: MIT
Url: https://github.com/ocaml-community/utop
Source: %name-%version.tar
BuildRequires: dune ocaml-cppo ocaml-lambda-term ocaml-findlib
Requires: rpm-build-ocaml >= 1.1
BuildPreReq: rpm-build-ocaml >= 1.1
%description
utop is an improved toplevel (i.e., Read-Eval-Print Loop) for OCaml.
%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
sed -i 's/%%%%VERSION%%%%/%version/' src/lib/uTop.ml
%build
%dune_build -p %name
%install
%dune_install %name
%check
%dune_check
%files -f ocaml-files.runtime
%doc CHANGES.md README.md
%doc %_datadir/utop
%_man1dir/utop*
%_man5dir/utop*
%_bindir/utop
%_bindir/utop-full
%_emacslispdir/utop.el
%files devel -f ocaml-files.devel
%changelog
…
Full changelog you can see here
Version: 2.9.1
Release: alt1
Summary: Universal toplevel for OCaml
Group: Development/ML
License: MIT
Url: https://github.com/ocaml-community/utop
Source: %name-%version.tar
BuildRequires: dune ocaml-cppo ocaml-lambda-term ocaml-findlib
Requires: rpm-build-ocaml >= 1.1
BuildPreReq: rpm-build-ocaml >= 1.1
%description
utop is an improved toplevel (i.e., Read-Eval-Print Loop) for OCaml.
%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
sed -i 's/%%%%VERSION%%%%/%version/' src/lib/uTop.ml
%build
%dune_build -p %name
%install
%dune_install %name
%check
%dune_check
%files -f ocaml-files.runtime
%doc CHANGES.md README.md
%doc %_datadir/utop
%_man1dir/utop*
%_man5dir/utop*
%_bindir/utop
%_bindir/utop-full
%_emacslispdir/utop.el
%files devel -f ocaml-files.devel
%changelog
…
Full changelog you can see here