Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37045649
en ru br
ALT Linux repositórios
S:1.2.0-alt1

Group :: Desenvolvimento/ML
RPM: ocaml-cmdliner

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%set_verify_elf_method textrel=relaxed
Name: ocaml-cmdliner
Version: 1.2.0
Release: alt1
Summary: Declarative definition of command line interfaces for OCaml

# In order for this to work as a "global" macro it has to come after the

# definition of Name:, evidently.
%global libname %(echo %name | sed -e 's/^ocaml-//')

License: ISC
Url: https://github.com/dbuenzli/cmdliner/
Source0: %name-%version.tar
Group: Development/ML

BuildRequires: ocaml
BuildRequires: ocaml-findlib-devel
BuildRequires: dune opam
BuildRequires: ocaml-result-devel
BuildRequires: ocaml-odoc

%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 = %EVR
Group: Development/ML

%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.

%prep
%setup

%build
%dune_build --release  at install  at doc

%install
%dune_install

%files -f ocaml-files.runtime
%doc README.md CHANGES.md

%files devel -f ocaml-files.devel
%doc _build/default/_doc/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009