1 |
Name: ocaml-type-conv |
2 |
Version: 108.00.02 |
3 |
Release: %mkrel 1 |
4 |
Summary: OCaml base library for type conversion |
5 |
Group: Development/Other |
6 |
License: LGPLv2+ with exceptions and BSD |
7 |
URL: https://ocaml.janestreet.com |
8 |
Source0: http://ocaml.janestreet.com/ocaml-core/%{version}/individual/type_conv-%{version}.tar.gz |
9 |
BuildRequires: ocaml-compiler >= 3.10.0 |
10 |
BuildRequires: ocaml-findlib |
11 |
BuildRequires: camlp4 |
12 |
Requires: ocaml-compiler |
13 |
Requires: camlp4 |
14 |
|
15 |
%description |
16 |
The type-conv mini library factors out functionality needed by |
17 |
different preprocessors that generate code from type specifications, |
18 |
because this functionality cannot be duplicated without losing the |
19 |
ability to use these preprocessors simultaneously. |
20 |
|
21 |
%prep |
22 |
%setup -q -n type_conv-%{version} |
23 |
|
24 |
%build |
25 |
./configure |
26 |
make |
27 |
|
28 |
%install |
29 |
rm -rf %{buildroot} |
30 |
export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml |
31 |
mkdir -p $OCAMLFIND_DESTDIR |
32 |
make install |
33 |
|
34 |
%files |
35 |
%doc LICENSE.txt LICENSE-Tywith.txt CHANGES.txt COPYRIGHT.txt README.txt |
36 |
%{_libdir}/ocaml/type_conv |