Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 3c49bce74a0d131853e2c51827c7c5ee > files > 2

ocaml-atd-1.1.2-4.mga6.src.rpm

Name:           ocaml-atd
Version:        1.1.2
Release:        %mkrel 4
Summary:        ATD is a syntax for defining cross-language data types
License:        BSD
Group:          Development/OCaml
URL:            http://mjambon.com/atdgen/
Source0:        http://mjambon.com/releases/atd/atd-%{version}.tar.gz
#Project:       https://github.com/mjambon/atd
BuildRequires:  ocaml-findlib
BuildRequires:  ocaml-easy-format-devel
BuildRequires:  camlmix
BuildRequires:  menhir

%description
ATD stands for Adaptable Type Definitions. It is a syntax for defining
cross-language data types.

The main novelty is that this single aspect of data exchange is treated
independently from the problems of transport protocols and serialization
format. The language is properly documented and supports sum types,
parametrized types and inheritance. Any specific programming language or
data format can be accomodated using semi-structured annotations that
complete the canonical type definitions.

%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 atd-%{version}

%build
make

%install
export DESTDIR=%{buildroot}
export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR/atd
mkdir -p %{buildroot}%{_bindir}
make install BINDIR=%{buildroot}%{_bindir}

%files
%doc README.md INSTALL LICENSE
%dir %{_libdir}/ocaml/atd
%{_libdir}/ocaml/atd/META
%{_libdir}/ocaml/atd/*.cma
%{_libdir}/ocaml/atd/*.cmo
%{_libdir}/ocaml/atd/*.cmi
%{_libdir}/ocaml/atd/*.cmxs
%{_bindir}/atdcat

%files devel
%doc manual/
%{_libdir}/ocaml/atd/*.a
%{_libdir}/ocaml/atd/*.o
%{_libdir}/ocaml/atd/*.cmxa
%{_libdir}/ocaml/atd/*.cmx
%{_libdir}/ocaml/atd/*.mli
%{_libdir}/ocaml/atd/*.ml
%{_libdir}/ocaml/atd/*.mll


%changelog
* Wed Feb 17 2016 umeabot <umeabot> 1.1.2-4.mga6
+ Revision: 963942
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 1.1.2-3.mga5
+ Revision: 740483
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.1.2-2.mga5
+ Revision: 682984
- Mageia 5 Mass Rebuild

* Tue Sep 09 2014 malo <malo> 1.1.2-1.mga5
+ Revision: 674063
- update to 1.1.2

* Sat Oct 19 2013 umeabot <umeabot> 1.0.3-3.mga4
+ Revision: 536417
- Mageia 4 Mass Rebuild

* Mon Sep 23 2013 blue_prawn <blue_prawn> 1.0.3-2.mga4
+ Revision: 484248
- rebuild for ocaml-4.01.0

* Sun Jun 09 2013 malo <malo> 1.0.3-1.mga4
+ Revision: 441331
- remove some of the doc
- update to 1.03
- fix URL

* Sat Jan 12 2013 umeabot <umeabot> 1.0.1-5.mga3
+ Revision: 361145
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Dec 04 2012 malo <malo> 1.0.1-4.mga3
+ Revision: 326531
- rebuild for new ocaml

* Tue Oct 02 2012 blue_prawn <blue_prawn> 1.0.1-3.mga3
+ Revision: 302183
- rebuild for new ocaml 4.00

* Sat Sep 29 2012 blue_prawn <blue_prawn> 1.0.1-2.mga3
+ Revision: 300032
- new rpm group for ocaml

* Sun Jun 24 2012 blue_prawn <blue_prawn> 1.0.1-1.mga3
+ Revision: 263099
- needs menhir to compile
- imported package ocaml-atd