Sisyphus repositório
Última atualização: 12 julho 2020 | SRPMs: 17701 | Visitas: 18867074
en ru br
ALT Linux repositórios

Group :: Desenvolvimento/ML
RPM: ocaml-tyxml

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%set_verify_elf_method textrel=relaxed
%add_ocaml_req_skip Ppx_sigs_reflected
%define libname tyxml
Name:           ocaml-%libname
Version:        4.3.0
Release:        alt2
Summary:        TyXML is a library for building statically correct HTML5 and SVG documents
License:        LGPL with exeptions
Group:          Development/ML
Source: %name-%version.tar
Patch0: %name-%version-%release.patch

BuildRequires: ocaml-findlib ocaml-ocamlbuild ocaml >= 4.07.1 opam dune ocaml-migrate-parsetree-devel
BuildRequires: ocaml-ocamldoc ocaml-re ocaml-ppx_tools_versioned ocaml-uutf-devel ocaml-markup-devel
BuildRequires: ocaml-re-devel ocaml-result-devel

%package devel
Summary: Development files for programs which will use the %name
Group: Development/ML
Requires: %name = %EVR

TyXML allows you to build HTML5 and SVG trees whose validity is ensured by the typechecker.
It provides a printer for said XML trees, along with a ppx syntax extension. Finally
it also provides a functorial interface to choose your XML datastructure.
It's part of the ocsigen project and is used in js_of_ocaml and eliom.

%description devel
This package includes development files necessary for developing
programs which use %name

%patch0 -p1


mkdir -p %buildroot%_libdir/ocaml/
dune install --prefix=%buildroot%prefix --libdir=%buildroot%_libdir/ocaml

%exclude %_libdir/ocaml/%libname/*.a
%exclude %_libdir/ocaml/%libname/*.cmxa
%exclude %_libdir/ocaml/%libname/*.cmx
%exclude %_libdir/ocaml/%libname/*.mli
%exclude %_libdir/ocaml/%libname-ppx/*.a
%exclude %_libdir/ocaml/%libname-ppx/*.cmxa
%exclude %_libdir/ocaml/%libname-ppx/*.cmx
%exclude %_libdir/ocaml/%libname-ppx/internal/*.a
%exclude %_libdir/ocaml/%libname-ppx/internal/*.cmxa
%exclude %_libdir/ocaml/%libname-ppx/internal/*.mli

%files devel


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