|
|
|
|
@ -5,45 +5,36 @@
|
|
|
|
|
|
|
|
|
|
# One of the dune libraries now depends on lwt. We do not currently need that
|
|
|
|
|
# library in Fedora, so don't build it.
|
|
|
|
|
%bcond lwt 0
|
|
|
|
|
|
|
|
|
|
# docs are not needed in RHEL, and add unwanted build dependencies
|
|
|
|
|
%bcond docs %{undefined rhel}
|
|
|
|
|
|
|
|
|
|
%global giturl https://github.com/ocaml/dune
|
|
|
|
|
%bcond_with lwt
|
|
|
|
|
|
|
|
|
|
Name: ocaml-dune
|
|
|
|
|
Version: 3.20.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 3.10.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Composable build system for OCaml and Reason
|
|
|
|
|
|
|
|
|
|
# Dune itself is MIT. Some bundled libraries have a different license:
|
|
|
|
|
# BSD-2-Clause:
|
|
|
|
|
# - vendor/ocaml-blake3-mini
|
|
|
|
|
# ISC:
|
|
|
|
|
# - vendor/cmdliner
|
|
|
|
|
# - vendor/fmt
|
|
|
|
|
# - vendor/notty
|
|
|
|
|
# - vendor/opam-0install
|
|
|
|
|
# - vendor/sha
|
|
|
|
|
# - vendor/uutf
|
|
|
|
|
# LGPL-2.1-only:
|
|
|
|
|
# LGPL-2.0-only:
|
|
|
|
|
# - vendor/incremental-cycles
|
|
|
|
|
# LGPL-2.1-only WITH OCaml-LGPL-linking-exception
|
|
|
|
|
# LGPL-2.0-only WITH OCaml-LGPL-linking-exception
|
|
|
|
|
# - vendor/ocaml-inotify
|
|
|
|
|
# - vendor/opam
|
|
|
|
|
# - vendor/opam-file-format
|
|
|
|
|
# - vendor/re
|
|
|
|
|
# LGPL-2.1-or-later
|
|
|
|
|
# - src/dune_pkg/opam_solver.*
|
|
|
|
|
# - src/sat/hash_set.*
|
|
|
|
|
# - src/sat/sat.*
|
|
|
|
|
# LGPL-2.1-or-later:
|
|
|
|
|
# - vendor/0install-solver
|
|
|
|
|
# MIT:
|
|
|
|
|
# - vendor/build_path_prefix_map
|
|
|
|
|
# - vendor/lwd
|
|
|
|
|
# - vendor/spawn
|
|
|
|
|
License: MIT AND BSD-2-Clause AND ISC AND LGPL-2.1-only AND LGPL-2.1-only WITH OCaml-LGPL-linking-exception AND LGPL-2.1-or-later
|
|
|
|
|
License: MIT AND ISC AND LGPL-2.0-only AND LGPL-2.0-only WITH OCaml-LGPL-linking-exception AND LGPL-2.1-or-later
|
|
|
|
|
URL: https://dune.build
|
|
|
|
|
VCS: git:%{giturl}.git
|
|
|
|
|
Source: %{giturl}/archive/%{version}/dune-%{version}.tar.gz
|
|
|
|
|
Source0: https://github.com/ocaml/dune/archive/%{version}/dune-%{version}.tar.gz
|
|
|
|
|
# When building without lwt, remove libraries that need it
|
|
|
|
|
Patch0: %{name}-no-lwt.patch
|
|
|
|
|
# Temporary workaround for broken debuginfo (rhbz#2168932)
|
|
|
|
|
@ -51,43 +42,35 @@ Patch0: %{name}-no-lwt.patch
|
|
|
|
|
Patch1: %{name}-debuginfo.patch
|
|
|
|
|
|
|
|
|
|
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
|
|
|
|
|
ExcludeArch: %{ix86}
|
|
|
|
|
ExcludeArch: %{ix86}
|
|
|
|
|
|
|
|
|
|
BuildRequires: emacs-nw
|
|
|
|
|
BuildRequires: emacs-nox
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: ocaml >= 4.08
|
|
|
|
|
BuildRequires: ocaml-compiler-libs
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
BuildRequires: ocaml-csexp-devel >= 1.5.0
|
|
|
|
|
BuildRequires: ocaml-pp-devel >= 2.0.0
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: ocaml-rpm-macros
|
|
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
|
BuildRequires: %{py3_dist furo}
|
|
|
|
|
BuildRequires: %{py3_dist myst-parser}
|
|
|
|
|
BuildRequires: ocaml-pp-devel >= 1.1.0
|
|
|
|
|
BuildRequires: %{py3_dist sphinx}
|
|
|
|
|
BuildRequires: %{py3_dist sphinx-copybutton}
|
|
|
|
|
BuildRequires: %{py3_dist sphinx-design}
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: %{py3_dist sphinx-rtd-theme}
|
|
|
|
|
|
|
|
|
|
%if %{with lwt}
|
|
|
|
|
BuildRequires: ocaml-lwt-devel >= 5.6.0
|
|
|
|
|
BuildRequires: ocaml-lwt-devel
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Dune has vendored deps to avoid dependency cycles. Upstream deliberately
|
|
|
|
|
# does not support unbundling these dependencies.
|
|
|
|
|
# See https://github.com/ocaml/dune/issues/220
|
|
|
|
|
Provides: bundled(ocaml-0install-solver) = 2.18
|
|
|
|
|
Provides: bundled(ocaml-build-path-prefix-map) = 0.3
|
|
|
|
|
Provides: bundled(ocaml-cmdliner) = 1.2.0
|
|
|
|
|
Provides: bundled(ocaml-cmdliner) = 1.1.1
|
|
|
|
|
Provides: bundled(ocaml-fmt) = 0.8.10
|
|
|
|
|
Provides: bundled(ocaml-incremental-cycles) = 1e2030a5d5183d84561cde142eecca40e03db2a3
|
|
|
|
|
Provides: bundled(ocaml-inotify) = 2.3
|
|
|
|
|
Provides: bundled(ocaml-lwd) = 0.3
|
|
|
|
|
Provides: bundled(ocaml-notty) = 0.2.3
|
|
|
|
|
Provides: bundled(ocaml-blake3-mini) = c6aa40e5f1973c2e6b736660ce2c8dcd3b3f9c9f
|
|
|
|
|
Provides: bundled(ocaml-opam) = 2.2.0
|
|
|
|
|
Provides: bundled(ocaml-opam) = 2.1.4
|
|
|
|
|
Provides: bundled(ocaml-opam-0install) = 0.4.3
|
|
|
|
|
Provides: bundled(ocaml-opam-file-format) = 2.1.6
|
|
|
|
|
Provides: bundled(ocaml-re) = 1.11.0
|
|
|
|
|
Provides: bundled(ocaml-re) = 1.9.0
|
|
|
|
|
Provides: bundled(ocaml-sha) = 1.15.4
|
|
|
|
|
Provides: bundled(ocaml-spawn) = 0.15.1
|
|
|
|
|
Provides: bundled(ocaml-uutf) = 1.0.3
|
|
|
|
|
@ -95,10 +78,10 @@ Provides: bundled(ocaml-uutf) = 1.0.3
|
|
|
|
|
Provides: dune = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
# This is needed for the dune-related RPM macros
|
|
|
|
|
Requires: ocaml-rpm-macros
|
|
|
|
|
Requires: python3
|
|
|
|
|
|
|
|
|
|
# The dune rules module requires Toploop
|
|
|
|
|
Requires: ocaml-compiler-libs%{?_isa}
|
|
|
|
|
# Both packages install a binary named dune and an associated man page
|
|
|
|
|
Conflicts: wdune
|
|
|
|
|
|
|
|
|
|
# This can be removed when F42 reaches EOL
|
|
|
|
|
Obsoletes: ocaml-fiber < 3.7.0
|
|
|
|
|
@ -109,6 +92,9 @@ Provides: ocaml-fiber-devel = %{version}-%{release}
|
|
|
|
|
# Install documentation in the main package doc directory
|
|
|
|
|
%global _docdir_fmt %{name}
|
|
|
|
|
|
|
|
|
|
# Do not require ocaml-compiler-libs at runtime
|
|
|
|
|
%global __ocaml_requires_opts -i Asttypes -i Build_path_prefix_map -i Cmi_format -i Env -i Ident -i Identifiable -i Load_path -i Location -i Longident -i Misc -i Outcometree -i Parsetree -i Path -i Primitive -i Shape -i Subst -i Topdirs -i Toploop -i Type_immediacy -i Types -i Warnings
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Dune is a build system designed for OCaml/Reason projects only. It focuses
|
|
|
|
|
on providing the user with a consistent experience and takes care of most of
|
|
|
|
|
@ -120,10 +106,10 @@ adapted to the open source world. It has matured over a long time and is used
|
|
|
|
|
daily by hundred of developers, which means that it is highly tested and
|
|
|
|
|
productive.
|
|
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
|
%package doc
|
|
|
|
|
# The content is MIT. Other licenses are due to files added by sphinx.
|
|
|
|
|
# BSD-2-Clause:
|
|
|
|
|
# - _static/_sphinx_javascript_frameworks_compat.js
|
|
|
|
|
# - _static/basic.css
|
|
|
|
|
# - _static/doctools.js
|
|
|
|
|
# - _static/documentation_options.js
|
|
|
|
|
@ -134,23 +120,19 @@ productive.
|
|
|
|
|
# - _static/searchtools.js
|
|
|
|
|
# - _static/sphinx_highlight.js
|
|
|
|
|
# MIT:
|
|
|
|
|
# - _static/check-solid.svg
|
|
|
|
|
# - _static/clipboard.min.js
|
|
|
|
|
# - _static/copy-button.svg
|
|
|
|
|
# - _static/copybutton.css
|
|
|
|
|
# - _static/copybutton.js
|
|
|
|
|
# - _static/copybutton_funcs.js
|
|
|
|
|
# - _static/design-style.*.min.css
|
|
|
|
|
# - _static/design-tabs.js
|
|
|
|
|
# - _static/css
|
|
|
|
|
# - _static/jquery*
|
|
|
|
|
# - _static/js
|
|
|
|
|
# - _static/underscore*
|
|
|
|
|
License: MIT AND BSD-2-Clause
|
|
|
|
|
Summary: HTML documentation for %{name}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Provides: bundled(js-jquery) = 3.6.0
|
|
|
|
|
Provides: bundled(js-underscore) = 1.13.1
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
HTML documentation for dune, a composable build system for OCaml.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package emacs
|
|
|
|
|
Summary: Emacs support for %{name}
|
|
|
|
|
@ -169,11 +151,8 @@ system, a mode to edit dune files, and flymake support for dune files.
|
|
|
|
|
%package action-plugin
|
|
|
|
|
Summary: API for writing dynamic dune actions
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-glob%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-rpc%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-ordering%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description action-plugin
|
|
|
|
|
This experimental library provides an API for writing dynamic Dune
|
|
|
|
|
@ -186,14 +165,6 @@ Summary: Development files for %{name}-action-plugin
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}-action-plugin%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-glob-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-rpc-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-dyn-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-ordering-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-stdune-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
Requires: ocaml-csexp-devel%{?_isa}
|
|
|
|
|
Requires: ocaml-pp-devel%{?_isa}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description action-plugin-devel
|
|
|
|
|
The ocaml-dune-action-plugin-devel package contains libraries and
|
|
|
|
|
@ -203,6 +174,7 @@ ocaml-dune-action-plugin.
|
|
|
|
|
%package build-info
|
|
|
|
|
Summary: Embed build information in an executable
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description build-info
|
|
|
|
|
The build-info library allows access to information about how an
|
|
|
|
|
@ -223,6 +195,7 @@ files for developing applications that use ocaml-dune-build-info.
|
|
|
|
|
%package configurator
|
|
|
|
|
Summary: Helper library for gathering system configuration
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description configurator
|
|
|
|
|
@ -241,9 +214,10 @@ Summary: Development files for %{name}-configurator
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}-configurator%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-stdune-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
Requires: ocaml-csexp-devel%{?_isa}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# This can be removed when F40 reaches EOL
|
|
|
|
|
Obsoletes: %{name}-devel < 2.9.1-4
|
|
|
|
|
Provides: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description configurator-devel
|
|
|
|
|
The ocaml-dune-configurator-devel package contains libraries and
|
|
|
|
|
@ -253,9 +227,8 @@ ocaml-dune-configurator.
|
|
|
|
|
%package glob
|
|
|
|
|
Summary: Parser and interpreter for dune language globs
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-private-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-ordering%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description glob
|
|
|
|
|
@ -267,12 +240,7 @@ Summary: Development files for %{name}-glob
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}-glob%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-private-libs-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-dyn-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-ordering-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-stdune-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
Requires: ocaml-pp-devel%{?_isa}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description glob-devel
|
|
|
|
|
The ocaml-dune-glob-devel package contains libraries and signature files
|
|
|
|
|
@ -281,6 +249,8 @@ for developing applications that use ocaml-dune-glob.
|
|
|
|
|
%package private-libs
|
|
|
|
|
Summary: Private dune libraries
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description private-libs
|
|
|
|
|
This package contains code that is shared between various dune-xxx
|
|
|
|
|
@ -291,6 +261,7 @@ no stability guarantee.
|
|
|
|
|
Summary: Development files for %{name}-private-libs
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}-private-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-dyn-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description private-libs-devel
|
|
|
|
|
The ocaml-dune-private-libs-devel package contains libraries and
|
|
|
|
|
@ -299,8 +270,7 @@ signature files for other dune packages. Do not use.
|
|
|
|
|
%package rpc
|
|
|
|
|
Summary: Communicate with dune using rpc
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-ordering%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-xdg%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
@ -311,14 +281,8 @@ This package contains a library used to communicate with dune over rpc.
|
|
|
|
|
Summary: Development files for %{name}-rpc
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}-rpc%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-dyn-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-ordering-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-stdune-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-xdg-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
Requires: ocaml-csexp-devel%{?_isa}
|
|
|
|
|
Requires: ocaml-pp-devel%{?_isa}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description rpc-devel
|
|
|
|
|
The ocaml-dune-rpc-devel package contains libraries and signature files
|
|
|
|
|
@ -328,6 +292,7 @@ for developing applications that use ocaml-rpc.
|
|
|
|
|
%package rpc-lwt
|
|
|
|
|
Summary: Communicate with dune using rpc and Lwt
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-rpc%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description rpc-lwt
|
|
|
|
|
@ -339,10 +304,9 @@ Summary: Development files for %{name}-rpc-lwt
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}-rpc-lwt%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-rpc-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
Requires: ocaml-csexp-devel%{?_isa}
|
|
|
|
|
%endif
|
|
|
|
|
Requires: ocaml-lwt-devel%{?_isa}
|
|
|
|
|
Requires: ocaml-result-devel%{?_isa}
|
|
|
|
|
|
|
|
|
|
%description rpc-lwt-devel
|
|
|
|
|
The ocaml-dune-rpc-lwt-devel package contains libraries and signature
|
|
|
|
|
@ -352,6 +316,7 @@ files for developing applications that use ocaml-rpc-lwt.
|
|
|
|
|
%package site
|
|
|
|
|
Summary: Embed location information inside executables and libraries
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-private-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description site
|
|
|
|
|
@ -371,6 +336,7 @@ for developing applications that use ocaml-dune-site.
|
|
|
|
|
%package -n ocaml-chrome-trace
|
|
|
|
|
Summary: Chrome trace event generation library
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n ocaml-chrome-trace
|
|
|
|
|
Library to output trace data to a file in Chrome's trace_event format.
|
|
|
|
|
@ -389,6 +355,7 @@ developing applications that use ocaml-dyn.
|
|
|
|
|
%package -n ocaml-dyn
|
|
|
|
|
Summary: Dynamic types
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-ordering%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n ocaml-dyn
|
|
|
|
|
@ -399,6 +366,7 @@ Summary: Development files for ocaml-dyn
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-ordering-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-pp-devel%{?_isa}
|
|
|
|
|
|
|
|
|
|
%description -n ocaml-dyn-devel
|
|
|
|
|
The ocaml-dyn-devel package contains libraries and signature files for
|
|
|
|
|
@ -407,6 +375,7 @@ developing applications that use ocaml-dyn.
|
|
|
|
|
%package -n ocaml-ocamlc-loc
|
|
|
|
|
Summary: Parse OCaml compiler output into structured form
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n ocaml-ocamlc-loc
|
|
|
|
|
@ -425,6 +394,7 @@ for developing applications that use ocaml-ocamlc-loc.
|
|
|
|
|
%package -n ocaml-ordering
|
|
|
|
|
Summary: Element ordering
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n ocaml-ordering
|
|
|
|
|
Element ordering in OCaml.
|
|
|
|
|
@ -441,8 +411,8 @@ for developing applications that use ocaml-ordering.
|
|
|
|
|
%package -n ocaml-stdune
|
|
|
|
|
Summary: Dune's unstable standard library
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-ordering%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n ocaml-stdune
|
|
|
|
|
This package contains Dune's unstable standard library.
|
|
|
|
|
@ -452,11 +422,7 @@ Summary: Development files for ocaml-stdune
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-dyn-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ocaml-ordering-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
Requires: ocaml-csexp-devel%{?_isa}
|
|
|
|
|
Requires: ocaml-pp-devel%{?_isa}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description -n ocaml-stdune-devel
|
|
|
|
|
The ocaml-stdune-devel package contains libraries and signature files
|
|
|
|
|
@ -465,6 +431,7 @@ for developing applications that use ocaml-stdune.
|
|
|
|
|
%package -n ocaml-xdg
|
|
|
|
|
Summary: XDG Base Directory Specification
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n ocaml-xdg
|
|
|
|
|
This package contains the XDG Base Directory Specification.
|
|
|
|
|
@ -486,9 +453,11 @@ rm -fr otherlibs/dune-rpc-lwt dune-rpc-lwt.opam
|
|
|
|
|
%endif
|
|
|
|
|
%autopatch -m1 -p1
|
|
|
|
|
|
|
|
|
|
# Allow use of Sphinx 6
|
|
|
|
|
sed -i 's/, < 6//'g doc/requirements.txt
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
./configure \
|
|
|
|
|
--prefix %{_prefix} \
|
|
|
|
|
--bindir %{_bindir} \
|
|
|
|
|
--datadir %{_datadir} \
|
|
|
|
|
--docdir %{_prefix}/doc \
|
|
|
|
|
@ -499,15 +468,11 @@ rm -fr otherlibs/dune-rpc-lwt dune-rpc-lwt.opam
|
|
|
|
|
--sbindir %{_sbindir}
|
|
|
|
|
|
|
|
|
|
%make_build release
|
|
|
|
|
%if %{with docs}
|
|
|
|
|
%make_build doc
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# We also want the libraries
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
# Do not use the bundled csexp and pp when building them
|
|
|
|
|
rm -fr vendor/{csexp,pp}
|
|
|
|
|
%endif
|
|
|
|
|
./dune.exe build %{?_smp_mflags} --verbose --release @install
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
@ -533,10 +498,8 @@ cd -
|
|
|
|
|
%{_bindir}/dune
|
|
|
|
|
%{_mandir}/man*/dune*
|
|
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
|
%files doc
|
|
|
|
|
%doc doc/_build/*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files emacs
|
|
|
|
|
%{_emacs_sitelispdir}/dune*
|
|
|
|
|
@ -604,128 +567,6 @@ cd -
|
|
|
|
|
%files -n ocaml-xdg-devel -f .ofiles-xdg-devel
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Oct 13 2025 Richard W.M. Jones <rjones@redhat.com> - 3.20.2-2
|
|
|
|
|
- OCaml 5.4.0 rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Sep 16 2025 Jerry James <loganjerry@gmail.com> - 3.20.2-1
|
|
|
|
|
- Version 3.20.2
|
|
|
|
|
|
|
|
|
|
* Mon Aug 25 2025 Jerry James <loganjerry@gmail.com> - 3.20.1-1
|
|
|
|
|
- Version 3.20.1
|
|
|
|
|
|
|
|
|
|
* Fri Aug 22 2025 Jerry James <loganjerry@gmail.com> - 3.20.0-1
|
|
|
|
|
- Version 3.20.0
|
|
|
|
|
|
|
|
|
|
* Wed Jul 23 2025 Jerry James <loganjerry@gmail.com> - 3.19.1-2
|
|
|
|
|
- Migrate tests from STI to TMT (rhbz#2382985)
|
|
|
|
|
|
|
|
|
|
* Wed Jun 11 2025 Jerry James <loganjerry@gmail.com> - 3.19.1-1
|
|
|
|
|
- Version 3.19.1
|
|
|
|
|
|
|
|
|
|
* Fri May 23 2025 Jerry James <loganjerry@gmail.com> - 3.19.0-1
|
|
|
|
|
- Version 3.19.0
|
|
|
|
|
|
|
|
|
|
* Fri May 02 2025 Jerry James <loganjerry@gmail.com> - 3.18.2-1
|
|
|
|
|
- Version 3.18.2
|
|
|
|
|
|
|
|
|
|
* Fri Apr 18 2025 Jerry James <loganjerry@gmail.com> - 3.18.1-1
|
|
|
|
|
- Version 3.18.1
|
|
|
|
|
|
|
|
|
|
* Thu Apr 3 2025 Jerry James <loganjerry@gmail.com> - 3.18.0-1
|
|
|
|
|
- Version 3.18.0
|
|
|
|
|
|
|
|
|
|
* Thu Jan 23 2025 Jerry James <loganjerry@gmail.com> - 3.17.2-1
|
|
|
|
|
- Version 3.17.2
|
|
|
|
|
|
|
|
|
|
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.17.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Dec 26 2024 Jerry James <loganjerry@gmail.com> - 3.17.1-1
|
|
|
|
|
- Version 3.17.1
|
|
|
|
|
- Update License field for changes in vendored dependencies
|
|
|
|
|
- Drop upstreamed furo theme patch
|
|
|
|
|
|
|
|
|
|
* Thu Oct 31 2024 Jerry James <loganjerry@gmail.com> - 3.16.1-1
|
|
|
|
|
- Version 3.16.1
|
|
|
|
|
|
|
|
|
|
* Thu Oct 10 2024 Charalampos Stratakis <cstratak@redhat.com> - 3.16.0-5
|
|
|
|
|
- Use the furo theme for docs build
|
|
|
|
|
|
|
|
|
|
* Tue Oct 08 2024 Richard W.M. Jones <rjones@redhat.com> - 3.16.0-4
|
|
|
|
|
- Rebuild for ocaml-lwt 5.8.0
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 3.16.0-2
|
|
|
|
|
- OCaml 5.2.0 ppc64le fix
|
|
|
|
|
|
|
|
|
|
* Mon Jun 17 2024 Jerry James <loganjerry@gmail.com> - 3.16.0-1
|
|
|
|
|
- Version 3.16.0
|
|
|
|
|
|
|
|
|
|
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 3.15.3-2
|
|
|
|
|
- OCaml 5.2.0 for Fedora 41
|
|
|
|
|
|
|
|
|
|
* Mon May 27 2024 Jerry James <loganjerry@gmail.com> - 3.15.3-1
|
|
|
|
|
- Version 3.15.3
|
|
|
|
|
|
|
|
|
|
* Wed May 15 2024 Richard W.M. Jones <rjones@redhat.com> - 3.15.2-2
|
|
|
|
|
- Use bundled ocaml-csexp and ocaml-pp (RHEL only)
|
|
|
|
|
|
|
|
|
|
* Wed Apr 24 2024 Jerry James <loganjerry@gmail.com> - 3.15.2-1
|
|
|
|
|
- Version 3.15.2
|
|
|
|
|
|
|
|
|
|
* Thu Apr 18 2024 Jerry James <loganjerry@gmail.com> - 3.15.1-1
|
|
|
|
|
- Version 3.15.1
|
|
|
|
|
|
|
|
|
|
* Mon Apr 08 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 3.15.0-2
|
|
|
|
|
- Disable docs in RHEL builds
|
|
|
|
|
|
|
|
|
|
* Fri Apr 5 2024 Jerry James <loganjerry@gmail.com> - 3.15.0-1
|
|
|
|
|
- Version 3.15.0
|
|
|
|
|
|
|
|
|
|
* Thu Mar 14 2024 Jerry James <loganjerry@gmail.com> - 3.14.2-1
|
|
|
|
|
- Version 3.14.2
|
|
|
|
|
|
|
|
|
|
* Wed Feb 14 2024 Jerry James <loganjerry@gmail.com> - 3.14.0-1
|
|
|
|
|
- Version 3.14.0
|
|
|
|
|
|
|
|
|
|
* Tue Feb 6 2024 Jerry James <loganjerry@gmail.com> - 3.13.1-1
|
|
|
|
|
- Version 3.13.1
|
|
|
|
|
|
|
|
|
|
* Fri Feb 2 2024 Jerry James <loganjerry@gmail.com> - 3.13.0-3
|
|
|
|
|
- Rebuild for changed ocamlx(Dynlink) hash
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 20 2024 Jerry James <loganjerry@gmail.com> - 3.13.0-1
|
|
|
|
|
- Version 3.13.0
|
|
|
|
|
|
|
|
|
|
* Tue Jan 9 2024 Jerry James <loganjerry@gmail.com> - 3.12.2-1
|
|
|
|
|
- Version 3.12.2
|
|
|
|
|
|
|
|
|
|
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 3.12.1-3
|
|
|
|
|
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
|
|
|
|
|
|
|
|
|
|
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 3.12.1-2
|
|
|
|
|
- OCaml 5.1.1 rebuild for Fedora 40
|
|
|
|
|
|
|
|
|
|
* Thu Nov 30 2023 Jerry James <loganjerry@gmail.com> - 3.12.1-1
|
|
|
|
|
- Version 3.12.1
|
|
|
|
|
|
|
|
|
|
* Mon Oct 9 2023 Jerry James <loganjerry@gmail.com> - 3.11.1-1
|
|
|
|
|
- Version 3.11.1
|
|
|
|
|
|
|
|
|
|
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-3
|
|
|
|
|
- Bump release and rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-2
|
|
|
|
|
- OCaml 5.1 rebuild for Fedora 40
|
|
|
|
|
|
|
|
|
|
* Wed Oct 4 2023 Jerry James <loganjerry@gmail.com> - 3.11.0-1
|
|
|
|
|
- Version 3.11.0
|
|
|
|
|
|
|
|
|
|
* Tue Aug 1 2023 Jerry James <loganjerry@gmail.com> - 3.10.0-1
|
|
|
|
|
- Version 3.10.0
|
|
|
|
|
|
|
|
|
|
|