# OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} %ifnarch %{ocaml_native_compiler} %global debug_package %{nil} %endif Name: ocaml-cmdliner Version: 1.3.0 Release: 5%{?dist} Summary: Declarative definition of command line interfaces for OCaml License: ISC URL: https://erratique.ch/software/cmdliner VCS: git:%{url}.git Source0: %{url}/releases/cmdliner-%{version}.tbz BuildRequires: ocaml BuildRequires: ocaml-dune %description Cmdliner allows the declarative definition of command line interfaces for OCaml. It provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions. The module automatically handles syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands and respects most of the POSIX and GNU conventions. Cmdliner has no dependencies and is distributed under the ISC license. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %autosetup -n cmdliner-%{version} %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %license LICENSE.md %doc README.md CHANGES.md %files devel -f .ofiles-devel %doc README.md CHANGES.md %license LICENSE.md %changelog * Thu Dec 19 2024 Jerry James - 1.3.0-5 - OCaml 5.3.0 rebuild * Thu Jul 18 2024 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jun 19 2024 Richard W.M. Jones - 1.3.0-3 - OCaml 5.2.0 ppc64le fix * Wed May 29 2024 Richard W.M. Jones - 1.3.0-2 - OCaml 5.2.0 for Fedora 41 * Fri May 24 2024 Jerry James - 1.3.0-1 - Version 1.3.0 * Thu Jan 25 2024 Fedora Release Engineering - 1.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 18 2023 Richard W.M. Jones - 1.2.0-6 - OCaml 5.1.1 + s390x code gen fix for Fedora 40 * Tue Dec 12 2023 Richard W.M. Jones - 1.2.0-5 - OCaml 5.1.1 rebuild for Fedora 40 * Thu Oct 05 2023 Richard W.M. Jones - 1.2.0-4 - OCaml 5.1 rebuild for Fedora 40 * Thu Jul 20 2023 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Richard W.M. Jones - 1.2.0-2 - OCaml 5.0 rebuild for Fedora 39 * Mon Jul 10 2023 Jerry James - 1.2.0-1 - Version 1.2.0 * Tue Jan 24 2023 Richard W.M. Jones - 1.1.1-3 - Rebuild OCaml packages for F38 * Thu Jan 19 2023 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Sep 20 2022 Jerry James - 1.1.1-1 - Version 1.1.1 - Updated URLs - Build with dune - Use new OCaml macros * Fri Jul 22 2022 Fedora Release Engineering - 1.0.4-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jun 18 2022 Richard W.M. Jones - 1.0.4-24 - OCaml 4.14.0 rebuild * Fri Feb 04 2022 Richard W.M. Jones - 1.0.4-23 - OCaml 4.13.1 rebuild to remove package notes * Thu Jan 20 2022 Fedora Release Engineering - 1.0.4-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Oct 04 2021 Richard W.M. Jones - 1.0.4-21 - OCaml 4.13.1 build * Thu Jul 22 2021 Fedora Release Engineering - 1.0.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Mar 1 10:09:49 GMT 2021 Richard W.M. Jones - 1.0.4-19 - OCaml 4.12.0 build * Tue Jan 26 2021 Fedora Release Engineering - 1.0.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 01 2020 Richard W.M. Jones - 1.0.4-17 - OCaml 4.11.1 rebuild * Fri Aug 21 2020 Richard W.M. Jones - 1.0.4-16 - OCaml 4.11.0 rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.0.4-15 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.0.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 05 2020 Richard W.M. Jones - 1.0.4-13 - OCaml 4.11.0+dev2-2020-04-22 rebuild * Tue Apr 21 2020 Richard W.M. Jones - 1.0.4-12 - OCaml 4.11.0 pre-release attempt 2 * Fri Apr 17 2020 Richard W.M. Jones - 1.0.4-11 - OCaml 4.11.0 pre-release * Thu Apr 02 2020 Richard W.M. Jones - 1.0.4-10 - Update all OCaml dependencies for RPM 4.16. * Wed Feb 26 2020 Richard W.M. Jones - 1.0.4-9 - OCaml 4.10.0 final. * Wed Jan 29 2020 Fedora Release Engineering - 1.0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Jan 19 2020 Richard W.M. Jones - 1.0.4-7 - OCaml 4.10.0+beta1 rebuild. * Thu Jan 09 2020 Richard W.M. Jones - 1.0.4-6 - OCaml 4.09.0 for riscv64 * Fri Dec 06 2019 Richard W.M. Jones - 1.0.4-5 - OCaml 4.09.0 (final) rebuild. * Fri Aug 16 2019 Richard W.M. Jones - 1.0.4-4 - OCaml 4.08.1 (final) rebuild. * Wed Jul 31 2019 Richard W.M. Jones - 1.0.4-3 - OCaml 4.08.1 (rc2) rebuild. * Thu Jul 25 2019 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jul 18 2019 Ben Rosser - 1.0.4-1 - Update to latest upstream release, 1.0.4. (rhbz#1720606). * Thu Jun 27 2019 Richard W.M. Jones - 1.0.2-13 - OCaml 4.08.0 (final) rebuild. * Mon Apr 29 2019 Richard W.M. Jones - 1.0.2-12 - OCaml 4.08.0 (beta 3) rebuild. * Fri Feb 01 2019 Fedora Release Engineering - 1.0.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jul 11 2018 Richard W.M. Jones - 1.0.2-9 - OCaml 4.07.0 (final) rebuild. * Wed Jun 20 2018 Richard W.M. Jones - 1.0.2-8 - OCaml 4.07.0-rc1 rebuild. * Thu Feb 08 2018 Fedora Release Engineering - 1.0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Dec 02 2017 Richard W.M. Jones - 1.0.2-6 - OCaml 4.06.0 rebuild. * Sat Nov 25 2017 Ben Rosser 1.0.2-5 - Added archful dependency (isa) on main package to devel package. - Added documentation line to devel package. * Sat Sep 02 2017 Ben Rosser 1.0.2-4 - Add result dependency, now that ocaml-result is packaged. * Tue Aug 15 2017 Ben Rosser 1.0.2-3 - Fix debuginfo generation by not blindly chmod -x all the files. - Pass -g to the link step of ocamlbuild as well as the compilation step. - Use ocaml_natdynlink macro to determine when to compile the *.cmxs files. - Modify the makefile to use install -p instead of just install. - Switch License tag to the more correct ISC license. - Added parallel build macro to make invocation. - Made libname macro a global rather than a define. * Fri Aug 11 2017 Ben Rosser 1.0.2-2 - Attempt debuginfo generation by setting true : debug in tags file. - Modernize ocaml packaging: use ocaml_native_compiler macro. - Also remove old ocaml dependency generator scripts. * Fri Aug 11 2017 Ben Rosser 1.0.2-1 - Update to latest upstream release. * Tue Aug 1 2017 Ben Rosser 1.0.0-1.20170801git8c4bc23 - Initial package.