|
|
27826dd |
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
|
|
|
27826dd |
ExcludeArch: %{ix86}
|
|
|
27826dd |
|
|
|
850ba00 |
%ifnarch %{ocaml_native_compiler}
|
|
|
850ba00 |
%global debug_package %{nil}
|
|
|
850ba00 |
%endif
|
|
|
850ba00 |
|
|
|
41f3397 |
Name: ocaml-fmt
|
|
|
b97182e |
Version: 0.9.0
|
|
|
54d48aa |
Release: 15%{?dist}
|
|
|
850ba00 |
Summary: OCaml Format pretty-printer combinators
|
|
|
850ba00 |
|
|
|
850ba00 |
License: ISC
|
|
|
850ba00 |
URL: https://erratique.ch/software/fmt
|
|
|
b97182e |
Source0: %{url}/releases/fmt-%{version}.tbz
|
|
|
850ba00 |
|
|
|
29acb97 |
BuildRequires: ocaml >= 4.08.0
|
|
|
850ba00 |
BuildRequires: ocaml-cmdliner-devel >= 0.9.8
|
|
|
850ba00 |
BuildRequires: ocaml-findlib
|
|
|
850ba00 |
BuildRequires: ocaml-ocamlbuild
|
|
|
850ba00 |
BuildRequires: ocaml-ocamldoc
|
|
|
aede050 |
BuildRequires: ocaml-rpm-macros
|
|
|
29acb97 |
BuildRequires: ocaml-topkg-devel >= 1.0.3
|
|
|
850ba00 |
|
|
|
78eea9f |
# Do not require ocaml-compiler-libs at runtime
|
|
|
78eea9f |
%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 Toploop -i Type_immediacy -i Types -i Warnings
|
|
|
78eea9f |
|
|
|
850ba00 |
%description
|
|
|
850ba00 |
Fmt exposes combinators to devise `Format` pretty-printing functions.
|
|
|
850ba00 |
|
|
|
850ba00 |
Fmt depends only on the OCaml standard library. The optional Fmt_tty
|
|
|
850ba00 |
library that enables setting up formatters for terminal color output
|
|
|
850ba00 |
depends on the Unix library. The optional Fmt_cli library that provides
|
|
|
850ba00 |
command line support for Fmt depends on Cmdliner.
|
|
|
850ba00 |
|
|
|
850ba00 |
%package devel
|
|
|
850ba00 |
Summary: Development files for %{name}
|
|
|
850ba00 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
b97182e |
Requires: ocaml-cmdliner-devel%{?_isa}
|
|
|
850ba00 |
|
|
|
850ba00 |
%description devel
|
|
|
850ba00 |
The %{name}-devel package contains libraries and signature files for
|
|
|
850ba00 |
developing applications that use %{name}.
|
|
|
850ba00 |
|
|
|
850ba00 |
%prep
|
|
|
41f3397 |
%autosetup -n fmt-%{version} -p1
|
|
|
850ba00 |
|
|
|
b97182e |
# Skip the styled_perf_bug test, which runs until stopped by an external signal
|
|
|
b97182e |
sed -i '/styled_perf_bug/d' pkg/pkg.ml _tags
|
|
|
b97182e |
|
|
|
b97182e |
# link with the math library
|
|
|
b97182e |
echo $'\ntrue: cclib(-lm)' >> _tags
|
|
|
850ba00 |
|
|
|
850ba00 |
%build
|
|
|
850ba00 |
# Build the library and the tests
|
|
|
850ba00 |
ocaml pkg/pkg.ml build --tests true --with-base-unix true --with-cmdliner true
|
|
|
850ba00 |
|
|
|
850ba00 |
# Build the documentation
|
|
|
850ba00 |
mkdir html
|
|
|
850ba00 |
ocamldoc -html -d html -I +cmdliner -I _build/src _build/src/*.mli
|
|
|
850ba00 |
|
|
|
850ba00 |
%install
|
|
|
aede050 |
%ocaml_install
|
|
|
850ba00 |
|
|
|
850ba00 |
%check
|
|
|
850ba00 |
ocaml pkg/pkg.ml test
|
|
|
850ba00 |
|
|
|
41f3397 |
%files -f .ofiles
|
|
|
850ba00 |
%doc CHANGES.md README.md
|
|
|
850ba00 |
%license LICENSE.md
|
|
|
850ba00 |
|
|
|
41f3397 |
%files devel -f .ofiles-devel
|
|
|
850ba00 |
%doc html/*
|
|
|
850ba00 |
|
|
|
850ba00 |
%changelog
|
|
|
54d48aa |
* Mon Jan 29 2024 Richard W.M. Jones <rjones@redhat.com> - 0.9.0-15
|
|
|
54d48aa |
- Bump and rebuild
|
|
|
54d48aa |
|
|
|
f95ff9e |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-14
|
|
|
f95ff9e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
f95ff9e |
|
|
|
d915b04 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-13
|
|
|
d915b04 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
d915b04 |
|
|
|
8ec4780 |
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 0.9.0-12
|
|
|
8ec4780 |
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
|
|
|
8ec4780 |
|
|
|
0c8fb18 |
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 0.9.0-11
|
|
|
0c8fb18 |
- OCaml 5.1.1 rebuild for Fedora 40
|
|
|
0c8fb18 |
|
|
|
1f77ae2 |
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 0.9.0-10
|
|
|
1f77ae2 |
- OCaml 5.1 rebuild for Fedora 40
|
|
|
1f77ae2 |
|
|
|
aede050 |
* Wed Oct 4 2023 Jerry James <loganjerry@gmail.com> - 0.9.0-9
|
|
|
aede050 |
- Use the %%ocaml_install macro
|
|
|
aede050 |
|
|
|
f8a87ab |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-9
|
|
|
f8a87ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
f8a87ab |
|
|
|
f5b6c8d |
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 0.9.0-8
|
|
|
f5b6c8d |
- OCaml 5.0 rebuild for Fedora 39
|
|
|
f5b6c8d |
|
|
|
78eea9f |
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 0.9.0-7
|
|
|
78eea9f |
- OCaml 5.0.0 rebuild
|
|
|
78eea9f |
- Do not depend on ocaml-compiler-libs at runtime
|
|
|
78eea9f |
|
|
|
9c150d3 |
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 0.9.0-6
|
|
|
9c150d3 |
- Rebuild OCaml packages for F38
|
|
|
9c150d3 |
|
|
|
7157f03 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-5
|
|
|
7157f03 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
7157f03 |
|
|
|
7204ed1 |
* Tue Sep 20 2022 Jerry James <loganjerry@gmail.com> - 0.9.0-4
|
|
|
7204ed1 |
- Rebuild for ocaml-cmdliner 1.1.1
|
|
|
7204ed1 |
|
|
|
a15dd1c |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
|
|
|
a15dd1c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
a15dd1c |
|
|
|
41f3397 |
* Wed Jul 20 2022 Jerry James <loganjerry@gmail.com> - 0.9.0-2
|
|
|
41f3397 |
- Use new OCaml macros
|
|
|
41f3397 |
|
|
|
a4740bf |
* Sat Jun 18 2022 Richard W.M. Jones <rjones@redhat.com> - 0.9.0-2
|
|
|
a4740bf |
- OCaml 4.14.0 rebuild
|
|
|
a4740bf |
|
|
|
b97182e |
* Wed Apr 27 2022 Jerry James <loganjerry@gmail.com> - 0.9.0-1
|
|
|
b97182e |
- Version 0.9.0
|
|
|
b97182e |
- Link with the math library
|
|
|
b97182e |
|
|
|
b65f080 |
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 0.8.10-4
|
|
|
b65f080 |
- OCaml 4.13.1 rebuild to remove package notes
|
|
|
b65f080 |
|
|
|
6bc5562 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.10-3
|
|
|
6bc5562 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
6bc5562 |
|
|
|
e7c4c14 |
* Mon Jan 17 2022 Jerry James <loganjerry@gmail.com> - 0.8.10-2
|
|
|
e7c4c14 |
- Install fmt_tty_top_init.ml
|
|
|
e7c4c14 |
|
|
|
f88939a |
* Mon Oct 04 2021 Richard W.M. Jones <rjones@redhat.com> - 0.8.10-2
|
|
|
f88939a |
- OCaml 4.13.1 build
|
|
|
f88939a |
|
|
|
29acb97 |
* Mon Oct 4 2021 Jerry James <loganjerry@gmail.com> - 0.8.10-1
|
|
|
29acb97 |
- Version 0.8.10
|
|
|
29acb97 |
- Drop upstreamed -stdlib-shims patch
|
|
|
29acb97 |
|
|
|
a60de5c |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.9-4
|
|
|
a60de5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
a60de5c |
|
|
|
e69ef7f |
* Mon Mar 1 11:02:42 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 0.8.9-3
|
|
|
e69ef7f |
- OCaml 4.12.0 build
|
|
|
e69ef7f |
|
|
|
80bf322 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.9-2
|
|
|
80bf322 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
80bf322 |
|
|
|
dbcdb17 |
* Tue Nov 3 2020 Jerry James <loganjerry@gmail.com> - 0.8.9-1
|
|
|
dbcdb17 |
- Version 0.8.9
|
|
|
dbcdb17 |
|
|
|
00de889 |
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.8-12
|
|
|
00de889 |
- OCaml 4.11.1 rebuild
|
|
|
00de889 |
|
|
|
f00d46c |
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.8-11
|
|
|
f00d46c |
- OCaml 4.11.0 rebuild
|
|
|
f00d46c |
|
|
|
c16ca94 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-10
|
|
|
c16ca94 |
- Second attempt - Rebuilt for
|
|
|
c16ca94 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
c16ca94 |
|
|
|
497e446 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-9
|
|
|
497e446 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
497e446 |
|
|
|
473dc43 |
* Tue May 05 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.8-8
|
|
|
473dc43 |
- OCaml 4.11.0+dev2-2020-04-22 rebuild
|
|
|
473dc43 |
|
|
|
ae8b6ea |
* Tue Apr 21 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.8-7
|
|
|
ae8b6ea |
- OCaml 4.11.0 pre-release attempt 2
|
|
|
ae8b6ea |
|
|
|
5526593 |
* Sat Apr 18 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.8-6
|
|
|
5526593 |
- OCaml 4.11.0 pre-release
|
|
|
5526593 |
|
|
|
b4191d8 |
* Fri Apr 03 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.8-5
|
|
|
b4191d8 |
- Update all OCaml dependencies for RPM 4.16.
|
|
|
b4191d8 |
|
|
|
d45af27 |
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.8-4
|
|
|
d45af27 |
- OCaml 4.10.0 final.
|
|
|
d45af27 |
|
|
|
39abb26 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-3
|
|
|
39abb26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
39abb26 |
|
|
|
309f217 |
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 0.8.8-2
|
|
|
309f217 |
- OCaml 4.10.0+beta1 rebuild.
|
|
|
309f217 |
|
|
|
850ba00 |
* Thu Jan 9 2020 Jerry James <loganjerry@gmail.com> - 0.8.8-1
|
|
|
850ba00 |
- Initial RPM
|