Name: ocaml-atdgen Version: 1.2.5 Release: %mkrel 4 Summary: Produce OCaml code from type definitions in the ATD syntax License: BSD-3-Clause Group: Development/OCaml URL: https://github.com/mjambon/atdgen Source0: http://mjambon.com/releases/atdgen/atdgen-%{version}.tar.gz BuildRequires: ocaml-findlib BuildRequires: ocaml-atd-devel BuildRequires: ocaml-biniou-devel BuildRequires: ocaml-yojson-devel BuildRequires: ocaml-easy-format-devel BuildRequires: camlmix BuildRequires: hevea %description Atdgen is a command-line program that takes as input type definitions in the ATD (https://github.com/mjambon/atd) syntax and produces OCaml code suitable for data serialization and deserialization. Two data formats are currently supported for serialization, these are JSON and Biniou, a binary format which retains most of JSON's properties. Atdgen can also generate data validators derived from annotated type definitions (starting with Atdgen 1.2.0). Atdgen was designed with efficiency and durability in mind. Software authors are encouraged to use Atdgen directly and to write tools that may reuse part of Atdgen's source code. %package devel Summary: Development files for %{name} Group: Development/OCaml Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %setup -q -n atdgen-%{version} %build make #make doc %install rm -rf %{buildroot} export DESTDIR=%{buildroot} export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml mkdir -p $OCAMLFIND_DESTDIR/atdgen mkdir -p %{buildroot}%{_bindir} rm -f atdgen.run make install BINDIR=%{buildroot}%{_bindir} %files %doc README.md INSTALL LICENSE Changes.txt %dir %{_libdir}/ocaml/atdgen %{_libdir}/ocaml/atdgen/META %{_libdir}/ocaml/atdgen/*.cma %{_libdir}/ocaml/atdgen/*.cmo %{_libdir}/ocaml/atdgen/*.cmi %{_bindir}/atdgen %files devel #%doc odoc/ %doc manual/ %doc example/ %{_libdir}/ocaml/atdgen/*.a %{_libdir}/ocaml/atdgen/*.o %{_libdir}/ocaml/atdgen/*.cmxa %{_libdir}/ocaml/atdgen/*.cmx %{_libdir}/ocaml/atdgen/*.mli %changelog * Sat Oct 19 2013 umeabot <umeabot> 1.2.5-4.mga4 + Revision: 536419 - Mageia 4 Mass Rebuild * Mon Sep 23 2013 blue_prawn <blue_prawn> 1.2.5-3.mga4 + Revision: 484262 - rebuild for ocaml-4.01.0 - rebuild for ocaml-4.01.0 - build requires camlmix - update to last version 1.2.5 - more precise licensing informations - updated broken web links - updated to last version 1.2.3 * Sat Jan 12 2013 umeabot <umeabot> 1.2.2-5.mga3 + Revision: 361146 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Dec 04 2012 malo <malo> 1.2.2-4.mga3 + Revision: 326604 - rebuild for new ocaml + blue_prawn <blue_prawn> - new rpm group for ocaml * Sat Sep 29 2012 blue_prawn <blue_prawn> 1.2.2-2.mga3 + Revision: 300036 - new rpm group for ocaml * Sun Jun 24 2012 blue_prawn <blue_prawn> 1.2.2-1.mga3 + Revision: 263107 - requires easy-format - imported package ocaml-atdgen