.gear/ocaml-markup.spec | 116 +++++++++++++++++++++ .gear/rules | 3 + .../tags/0c9791730aae3458682d51ac43a04d025633292f | 6 ++ .gear/tags/list | 1 + 4 files changed, 126 insertions(+) diff --git a/.gear/ocaml-markup.spec b/.gear/ocaml-markup.spec new file mode 100644 index 0000000..64777ec --- /dev/null +++ b/.gear/ocaml-markup.spec @@ -0,0 +1,116 @@ +%def_with check +%define libname markup +%define libnamelwt %libname-lwt +Name: ocaml-%libname +Version: 1.0.3 +Release: alt1 +Summary: Error-recovering streaming HTML5 and XML parsers. +License: MIT +Group: Development/ML +Url: https://github.com/aantron/markup.ml +Source: %name-%version.tar +Patch0: %name-%version-%release.patch + +BuildRequires: ocaml >= 4.07.1 dune >= 2.9 +BuildRequires: ocaml-uutf-devel ocaml-lwt-devel ocaml-bisect_ppx-devel ocaml-migrate-parsetree-devel ocaml-result-devel + +%if_with check +BuildRequires: ocaml-ounit-devel libev-devel +%endif + +%package devel +Summary: Development files for programs which will use the %name +Group: Development/ML +Requires: %name = %EVR + +%description +Markup.ml provides an HTML parser and an XML parser. The parsers are wrapped in +a simple interface: they are functions that transform byte streams to parsing signal +streams. Streams can be manipulated in various ways, such as processing by fold, +filter, and map, assembly into DOM tree structures, or serialization back to HTML or XML. + +%description devel +This package includes development files necessary for developing +programs which use %name + +%package lwt +Summary: Adapter between Markup.ml and Lwt +Group: Development/ML +Requires: %name = %EVR + +%package lwt-devel +Summary: Development files for programs which will use the %name-lwt +Group: Development/ML +Requires: %name-lwt = %EVR +Requires: ocaml-bisect_ppx-devel + +%description lwt +Adapter between Markup.ml and Lwt + +%description lwt-devel +This package includes development files necessary for developing +programs which use %name-lwt + +%prep +%setup +%patch0 -p1 + +%build +%dune_build -p markup,markup-lwt + +%install +%dune_install + +%check +%dune_check -p markup,markup-lwt + +%files +%doc LICENSE.md README.md +%_libdir/ocaml/%libname +%exclude %_libdir/ocaml/%libname/*.a +%exclude %_libdir/ocaml/%libname/*.cmxa +%exclude %_libdir/ocaml/%libname/*.cmx +%exclude %_libdir/ocaml/%libname/*.mli + +%files devel +%_libdir/ocaml/%libname/*.a +%_libdir/ocaml/%libname/*.cmxa +%_libdir/ocaml/%libname/*.cmx +%_libdir/ocaml/%libname/*.mli + +%files lwt +%_libdir/ocaml/%libnamelwt +%exclude %_libdir/ocaml/%libnamelwt/*.a +%exclude %_libdir/ocaml/%libnamelwt/*.cmxa +%exclude %_libdir/ocaml/%libnamelwt/*.cmx +%exclude %_libdir/ocaml/%libnamelwt/*.mli + +%files lwt-devel +%_libdir/ocaml/%libnamelwt/*.a +%_libdir/ocaml/%libnamelwt/*.cmxa +%_libdir/ocaml/%libnamelwt/*.cmx +%_libdir/ocaml/%libnamelwt/*.mli + +%changelog +* Tue Mar 29 2022 Anton Farygin 1.0.3-alt1 +- 1.0.3 + +* Wed Nov 03 2021 Anton Farygin 1.0.2-alt2 +- run tests with --release flag + +* Wed Jul 28 2021 Anton Farygin 1.0.2-alt1 +- 1.0.2 + +* Mon Jan 11 2021 Anton Farygin 1.0.0-alt1 +- 1.0.0 +- testing enabled + +* Fri Jan 24 2020 Anton Farygin 0.8.2-alt1 +- 0.8.2 + +* Thu Aug 01 2019 Anton Farygin 0.8.1-alt1 +- 0.8.1 + +* Tue Oct 23 2018 Anton Farygin 0.8.0-alt1 +- first build for ALT + diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..e12942a --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +spec:.gear/ocaml-markup.spec +tar: @version@:. +diff: @version@:. . diff --git a/.gear/tags/0c9791730aae3458682d51ac43a04d025633292f b/.gear/tags/0c9791730aae3458682d51ac43a04d025633292f new file mode 100644 index 0000000..d7ad6b3 --- /dev/null +++ b/.gear/tags/0c9791730aae3458682d51ac43a04d025633292f @@ -0,0 +1,6 @@ +object 9afbf57ac7ef10a03bece6cae677a151fa164666 +type commit +tag 1.0.3 +tagger Anton Bachin 1647247009 +0300 + +Version 1.0.3 diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..329efc2 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +0c9791730aae3458682d51ac43a04d025633292f 1.0.3