.gear/ocaml-tyxml.spec | 87 ++++++++++++++++++++++ .gear/rules | 3 + .../tags/752d0932011e825d75882aaf3afcba7cd54bc52f | 6 ++ .gear/tags/list | 1 + implem/top/tyxml_top.mldylib | 4 + implem/top/tyxml_top.mllib | 4 + implem/tyxml.mldylib | 7 ++ implem/tyxml.mllib | 7 ++ lib/pa_tyxml.mldylib | 8 ++ lib/pa_tyxml.mllib | 8 ++ lib/tymlx_p.mldylib | 5 ++ lib/tymlx_p.mllib | 5 ++ lib/tyxml_f.mldylib | 8 ++ lib/tyxml_f.mllib | 8 ++ ppx/ppx.mllib | 4 + ppx/ppx_internal.mllib | 14 ++++ ppx/ppx_tyxml.mldylib | 4 + ppx/ppx_tyxml.mllib | 4 + ppx/ppx_tyxml_internal.mldylib | 14 ++++ ppx/ppx_tyxml_internal.mllib | 14 ++++ tools/tyxml_tools.mldylib | 4 + tools/tyxml_tools.mllib | 4 + tyxml-api.odocl | 21 ++++++ 23 files changed, 244 insertions(+) diff --git a/.gear/ocaml-tyxml.spec b/.gear/ocaml-tyxml.spec new file mode 100644 index 00000000..ea3c177c --- /dev/null +++ b/.gear/ocaml-tyxml.spec @@ -0,0 +1,87 @@ +%def_enable check +%define libname tyxml +Name: ocaml-%libname +Version: 4.5.0 +Release: alt1 +Summary: TyXML is a library for building statically correct HTML5 and SVG documents +License: LGPLv2.1 with OCaml-LGPL-linking-exception +Group: Development/ML +Url: https://ocsigen.org/tyxml/ +# https://github.com/ocsigen/tyxml +Source: %name-%version.tar +Patch0: %name-%version-%release.patch + +BuildRequires: ocaml >= 4.07.1 dune +BuildRequires: ocaml-ocamldoc ocaml-uutf-devel ocaml-markup-devel +BuildRequires: ocaml-re-devel +%if_enabled check +BuildRequires: ocaml-alcotest-devel +%endif +BuildRequires(pre):rpm-build-ocaml + +%package devel +Summary: Development files for programs which will use the %name +Group: Development/ML +Requires: %name = %EVR + +%description +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 + +%prep +%setup +%patch0 -p1 + +%build +%dune_build -p %libname + +%check +%dune_check -p %libname + +%install +mkdir -p %buildroot%_libdir/ocaml/ +%dune_install %libname + + +%files -f ocaml-files.runtime +%doc LICENSE CHANGES.md README.md + +%files devel -f ocaml-files.devel + +%changelog +* Thu May 13 2021 Anton Farygin 4.5.0-alt1 +- 4.5.0 + +* Sat Mar 20 2021 Anton Farygin 4.4.0-alt4 +- cleanup BR +- built clean library without addittonal modules +- enabled test + +* Thu Dec 10 2020 Anton Farygin 4.4.0-alt3 +- BR: devel package for ocaml-ppx_tools_versioned +- building process moved to rpm-build-ocaml 1.4 + +* Tue Sep 08 2020 Anton Farygin 4.4.0-alt2 +- devel parts moved to the ocaml-tyxml-devel package + +* Tue Jun 30 2020 Anton Farygin 4.4.0-alt1 +- 4.4.0 + +* Wed Jan 29 2020 Anton Farygin 4.3.0-alt3 +- fix for build by dune-2 + +* Thu Aug 08 2019 Anton Farygin 4.3.0-alt2 +- rebuilt with ocaml-re 1.9.0 + +* Mon Jan 21 2019 Anton Farygin 4.3.0-alt1 +- 4.3.0 + +* Tue Oct 23 2018 Anton Farygin 4.2.0-alt1 +- first build for ALT + diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 00000000..9e0edbec --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +spec:.gear/ocaml-tyxml.spec +tar: @version@:. +diff: @version@:. . diff --git a/.gear/tags/752d0932011e825d75882aaf3afcba7cd54bc52f b/.gear/tags/752d0932011e825d75882aaf3afcba7cd54bc52f new file mode 100644 index 00000000..33350469 --- /dev/null +++ b/.gear/tags/752d0932011e825d75882aaf3afcba7cd54bc52f @@ -0,0 +1,6 @@ +object ef431a4bceaefb2d9248e79092e6c1a1a9420095 +type commit +tag 4.5.0 +tagger Drup 1619088069 +0200 + +Distribution 4.5.0 diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 00000000..98433586 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +752d0932011e825d75882aaf3afcba7cd54bc52f 4.5.0 diff --git a/implem/top/tyxml_top.mldylib b/implem/top/tyxml_top.mldylib new file mode 100644 index 00000000..38ef893f --- /dev/null +++ b/implem/top/tyxml_top.mldylib @@ -0,0 +1,4 @@ +# OASIS_START +# DO NOT EDIT (digest: 9985bb6292efdb2ccd3212f66f8621c5) +Tyxml_top +# OASIS_STOP diff --git a/implem/top/tyxml_top.mllib b/implem/top/tyxml_top.mllib new file mode 100644 index 00000000..38ef893f --- /dev/null +++ b/implem/top/tyxml_top.mllib @@ -0,0 +1,4 @@ +# OASIS_START +# DO NOT EDIT (digest: 9985bb6292efdb2ccd3212f66f8621c5) +Tyxml_top +# OASIS_STOP diff --git a/implem/tyxml.mldylib b/implem/tyxml.mldylib new file mode 100644 index 00000000..fda2152e --- /dev/null +++ b/implem/tyxml.mldylib @@ -0,0 +1,7 @@ +# OASIS_START +# DO NOT EDIT (digest: 0ad0ea7a03e5bb86e515b481bcbc79ed) +Tyxml_xml +Tyxml_svg +Tyxml_html +Tyxml +# OASIS_STOP diff --git a/implem/tyxml.mllib b/implem/tyxml.mllib new file mode 100644 index 00000000..fda2152e --- /dev/null +++ b/implem/tyxml.mllib @@ -0,0 +1,7 @@ +# OASIS_START +# DO NOT EDIT (digest: 0ad0ea7a03e5bb86e515b481bcbc79ed) +Tyxml_xml +Tyxml_svg +Tyxml_html +Tyxml +# OASIS_STOP diff --git a/lib/pa_tyxml.mldylib b/lib/pa_tyxml.mldylib new file mode 100644 index 00000000..48c318e2 --- /dev/null +++ b/lib/pa_tyxml.mldylib @@ -0,0 +1,8 @@ +# OASIS_START +# DO NOT EDIT (digest: a340e64fd97a7ebdd4a47a3adc06d975) +Pa_tyxml +Xmllexer +Basic_types +Camllexer +Xhtmlparser +# OASIS_STOP diff --git a/lib/pa_tyxml.mllib b/lib/pa_tyxml.mllib new file mode 100644 index 00000000..48c318e2 --- /dev/null +++ b/lib/pa_tyxml.mllib @@ -0,0 +1,8 @@ +# OASIS_START +# DO NOT EDIT (digest: a340e64fd97a7ebdd4a47a3adc06d975) +Pa_tyxml +Xmllexer +Basic_types +Camllexer +Xhtmlparser +# OASIS_STOP diff --git a/lib/tymlx_p.mldylib b/lib/tymlx_p.mldylib new file mode 100644 index 00000000..2332c575 --- /dev/null +++ b/lib/tymlx_p.mldylib @@ -0,0 +1,5 @@ +# OASIS_START +# DO NOT EDIT (digest: 91daf7ea5b394d00cd4f81dbb2768e4d) +Simplexmlparser +Xmllexer +# OASIS_STOP diff --git a/lib/tymlx_p.mllib b/lib/tymlx_p.mllib new file mode 100644 index 00000000..2332c575 --- /dev/null +++ b/lib/tymlx_p.mllib @@ -0,0 +1,5 @@ +# OASIS_START +# DO NOT EDIT (digest: 91daf7ea5b394d00cd4f81dbb2768e4d) +Simplexmlparser +Xmllexer +# OASIS_STOP diff --git a/lib/tyxml_f.mldylib b/lib/tyxml_f.mldylib new file mode 100644 index 00000000..db1fdab6 --- /dev/null +++ b/lib/tyxml_f.mldylib @@ -0,0 +1,8 @@ +# OASIS_START +# DO NOT EDIT (digest: c50b31e7fcf48d4e470776748ce82005) +Xml_iter +Xml_wrap +Xml_print +Svg_f +Html_f +# OASIS_STOP diff --git a/lib/tyxml_f.mllib b/lib/tyxml_f.mllib new file mode 100644 index 00000000..db1fdab6 --- /dev/null +++ b/lib/tyxml_f.mllib @@ -0,0 +1,8 @@ +# OASIS_START +# DO NOT EDIT (digest: c50b31e7fcf48d4e470776748ce82005) +Xml_iter +Xml_wrap +Xml_print +Svg_f +Html_f +# OASIS_STOP diff --git a/ppx/ppx.mllib b/ppx/ppx.mllib new file mode 100644 index 00000000..20e446d5 --- /dev/null +++ b/ppx/ppx.mllib @@ -0,0 +1,4 @@ +# OASIS_START +# DO NOT EDIT (digest: b061535feecc99ae83995880b9069872) +Ppx_tyxml_empty +# OASIS_STOP diff --git a/ppx/ppx_internal.mllib b/ppx/ppx_internal.mllib new file mode 100644 index 00000000..18e45e27 --- /dev/null +++ b/ppx/ppx_internal.mllib @@ -0,0 +1,14 @@ +# OASIS_START +# DO NOT EDIT (digest: cf17d5a9ccf1f1920768fcf44badd550) +Ppx_tyxml +Ppx_common +Ppx_attributes +Ppx_attribute_value +Ppx_namespace +Ppx_element_content +Ppx_element +Html_sigs_reflected +Svg_sigs_reflected +Html_types_reflected +Svg_types_reflected +# OASIS_STOP diff --git a/ppx/ppx_tyxml.mldylib b/ppx/ppx_tyxml.mldylib new file mode 100644 index 00000000..3acba134 --- /dev/null +++ b/ppx/ppx_tyxml.mldylib @@ -0,0 +1,4 @@ +# OASIS_START +# DO NOT EDIT (digest: 147967091a411adcb963d9f9a80184f3) +Ppx_tyxml_register +# OASIS_STOP diff --git a/ppx/ppx_tyxml.mllib b/ppx/ppx_tyxml.mllib new file mode 100644 index 00000000..3acba134 --- /dev/null +++ b/ppx/ppx_tyxml.mllib @@ -0,0 +1,4 @@ +# OASIS_START +# DO NOT EDIT (digest: 147967091a411adcb963d9f9a80184f3) +Ppx_tyxml_register +# OASIS_STOP diff --git a/ppx/ppx_tyxml_internal.mldylib b/ppx/ppx_tyxml_internal.mldylib new file mode 100644 index 00000000..18e45e27 --- /dev/null +++ b/ppx/ppx_tyxml_internal.mldylib @@ -0,0 +1,14 @@ +# OASIS_START +# DO NOT EDIT (digest: cf17d5a9ccf1f1920768fcf44badd550) +Ppx_tyxml +Ppx_common +Ppx_attributes +Ppx_attribute_value +Ppx_namespace +Ppx_element_content +Ppx_element +Html_sigs_reflected +Svg_sigs_reflected +Html_types_reflected +Svg_types_reflected +# OASIS_STOP diff --git a/ppx/ppx_tyxml_internal.mllib b/ppx/ppx_tyxml_internal.mllib new file mode 100644 index 00000000..18e45e27 --- /dev/null +++ b/ppx/ppx_tyxml_internal.mllib @@ -0,0 +1,14 @@ +# OASIS_START +# DO NOT EDIT (digest: cf17d5a9ccf1f1920768fcf44badd550) +Ppx_tyxml +Ppx_common +Ppx_attributes +Ppx_attribute_value +Ppx_namespace +Ppx_element_content +Ppx_element +Html_sigs_reflected +Svg_sigs_reflected +Html_types_reflected +Svg_types_reflected +# OASIS_STOP diff --git a/tools/tyxml_tools.mldylib b/tools/tyxml_tools.mldylib new file mode 100644 index 00000000..5a1ff9fd --- /dev/null +++ b/tools/tyxml_tools.mldylib @@ -0,0 +1,4 @@ +# OASIS_START +# DO NOT EDIT (digest: c5452e0dcba88d3ad1e0196aeadd9e75) +Tyxml_name +# OASIS_STOP diff --git a/tools/tyxml_tools.mllib b/tools/tyxml_tools.mllib new file mode 100644 index 00000000..5a1ff9fd --- /dev/null +++ b/tools/tyxml_tools.mllib @@ -0,0 +1,4 @@ +# OASIS_START +# DO NOT EDIT (digest: c5452e0dcba88d3ad1e0196aeadd9e75) +Tyxml_name +# OASIS_STOP diff --git a/tyxml-api.odocl b/tyxml-api.odocl new file mode 100644 index 00000000..c314ccee --- /dev/null +++ b/tyxml-api.odocl @@ -0,0 +1,21 @@ +# OASIS_START +# DO NOT EDIT (digest: 40939d7108b83f1e22a5140db9d456ce) +implem/Tyxml_xml +implem/Tyxml_svg +implem/Tyxml_html +implem/Tyxml +lib/Xml_iter +lib/Xml_sigs +lib/Xml_wrap +lib/Xml_print +lib/Svg_sigs +lib/Svg_types +lib/Svg_f +lib/Html_sigs +lib/Html_types +lib/Html_f +syntax/Simplexmlparser +syntax/Pa_tyxml +ppx/Ppx_tyxml +ppx/Ppx_common +# OASIS_STOP