Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4257e9fc0 |
2 changed files with 21 additions and 14 deletions
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (utop-2.17.0.tar.gz) = 0d4665f72379ef7d294517a3e3cd4e6facb109a59faa6df71fa7f9837664771a919639f035ddc41f51a60cfd4fc03c911d87c20b943a601e0abc3a1248140eab
|
||||
SHA512 (utop-2.16.0.tar.gz) = 0f6a7a85e9bbb442b217f5c28228c65fc63bafa033d178b696d461a200ef52d0d6c4f9b4ef04337e24dcd88bcf246f8163bd4851baa35a9c9e8de3aaee4d062d
|
||||
|
|
|
|||
33
utop.spec
33
utop.spec
|
|
@ -1,3 +1,6 @@
|
|||
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
# The OCaml code is byte compiled, not native compiled, so there are no ELF
|
||||
# objects in the binary RPM.
|
||||
%global debug_package %{nil}
|
||||
|
|
@ -5,21 +8,17 @@
|
|||
%global giturl https://github.com/ocaml-community/utop
|
||||
|
||||
Name: utop
|
||||
Version: 2.17.0
|
||||
Version: 2.16.0
|
||||
Release: %autorelease
|
||||
Summary: Improved toplevel for OCaml
|
||||
|
||||
License: BSD-3-Clause
|
||||
URL: https://ocaml-community.github.io/utop/
|
||||
VCS: git:%{giturl}.git
|
||||
VCS : git:%{giturl}.git
|
||||
Source: %{giturl}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
# Upstream patch to fix the version number
|
||||
Patch: %{name}-version.patch
|
||||
|
||||
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildSystem: dune
|
||||
BuildRequires: ocaml >= 4.11.0
|
||||
BuildRequires: ocaml-alcotest-devel
|
||||
BuildRequires: ocaml-cppo >= 1.1.2
|
||||
|
|
@ -40,9 +39,10 @@ BuildRequires: emacs-tuareg
|
|||
Provides: ocaml-%{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
utop is an improved toplevel (i.e., Read-Eval-Print Loop) for OCaml. It can
|
||||
run in a terminal or in Emacs. It supports line editing, history, real-time
|
||||
and context sensitive completion, colors, and more.
|
||||
utop is an improved toplevel (i.e., Read-Eval-Print Loop) for
|
||||
OCaml. It can run in a terminal or in Emacs. It supports line
|
||||
editing, history, real-time and context sensitive completion,
|
||||
colors, and more.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
|
|
@ -64,25 +64,32 @@ Requires: emacs-tuareg
|
|||
Recommends: emacs-company
|
||||
|
||||
%description -n emacs-utop
|
||||
This package contains an Emacs front end for utop, an improved toplevel for
|
||||
OCaml.
|
||||
This package contains an Emacs front end for utop, an improved toplevel
|
||||
for OCaml.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build -a
|
||||
%build
|
||||
%dune_build
|
||||
|
||||
cd src/top
|
||||
emacs -batch --no-init-file --no-site-file \
|
||||
--eval "(let ((backup-inhibited t)) (loaddefs-generate \".\" \"$PWD/utop-loaddefs.el\"))"
|
||||
%_emacs_bytecompile utop.el
|
||||
cd -
|
||||
|
||||
%install -a
|
||||
%install
|
||||
%dune_install
|
||||
|
||||
# Install the Emacs interface
|
||||
mkdir -p %{buildroot}%{_emacs_sitestartdir}
|
||||
cp -p src/top/utop-loaddefs.* %{buildroot}%{_emacs_sitestartdir}
|
||||
cp -p src/top/utop.elc %{buildroot}%{_emacs_sitelispdir}
|
||||
|
||||
%check
|
||||
%dune_check
|
||||
|
||||
%files -f .ofiles
|
||||
%license LICENSE
|
||||
%doc README.md CHANGES.md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue