Sisyphus repositório
Última atualização: 9 agosto 2020 | SRPMs: 17677 | Visitas: 19027118
en ru br
ALT Linux repositórios

Group :: Desenvolvimento/ML
RPM: js_of_ocaml

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%set_verify_elf_method textrel=relaxed
Name: js_of_ocaml
Version: 3.5.2
Release: alt2
Summary: A compiler of OCaml byte-code to Javascript
License: LGPLv2 with exceptions
Group: Development/ML
Source0: %name-%version.tar
BuildRequires: ocaml-cmdliner-devel
BuildRequires: ocaml
BuildRequires: ocaml-cppo
BuildRequires: ocaml-graphics
BuildRequires: ocaml-findlib
BuildRequires: ocaml-ocamlbuild
BuildRequires: ocaml-lwt-devel >= 2.4.4
BuildRequires: ocaml-menhir
BuildRequires: ocaml-biniou-devel
BuildRequires: ocaml-tyxml-devel
BuildRequires: ocaml-result-devel
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-reactiveData-devel
BuildRequires: ocaml-migrate-parsetree-devel
BuildRequires: ocaml-yojson-devel
BuildRequires: ocaml-ppxlib-devel
BuildRequires: ocaml-ppx_tools-devel
BuildRequires: ocaml-compiler-libs-devel
BuildRequires: dune opam
BuildRequires: ocaml-ocamldoc
Requires: ocaml-%name = %version-%release
Requires: ocaml-lwt

js_of_ocaml is a compiler of OCaml byte-code to Javascript.  It makes it
possible to run OCaml programs in a Web browser.
Its key features are the following:
* the whole language, and most of the standard library are
* the generated code can be used with any web server and browser;
* you can use a standard installation of OCaml to compile your
programs. In particular, you do not have to recompile a library to
use it with Js_of_ocaml. You just have to link your program with a
specific library to interface with the browser APIs.

%package -n     ocaml-%name
Summary: Runtime files for %name
Group: Development/ML
Requires: ocaml-lwt

%description -n ocaml-%name
The ocaml-%name package contains the bytecode libraries for running
applications that use %name.

%package -n     ocaml-%name-devel
Summary: Development files for %name
Group: Development/ML
Requires: ocaml-%name = %version-%release
Requires: ocaml-lwt-devel

%description -n ocaml-%name-devel
The ocaml-%name-devel package contains the signature
files for developing applications that use %name.



dune install --destdir=%buildroot


%files -n ocaml-%name
%dir %_libdir/ocaml/%name
%dir %_libdir/ocaml/%name/deriving

%files -n ocaml-%name-devel
%doc examples
%doc LICENSE examples


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