1 |
Name: camlmix |
2 |
Version: 1.3.1 |
3 |
Release: %mkrel 2 |
4 |
Summary: A generic preprocessor for text with embedded OCaml |
5 |
License: BSD |
6 |
Group: Development/OCaml |
7 |
URL: http://mjambon.com/camlmix/ |
8 |
Source0: http://mjambon.com/camlmix/camlmix-%{version}.tar.gz |
9 |
BuildRequires: ocaml-compiler |
10 |
# for architectures without native code compilation we will need |
11 |
# Requires: ocaml-compiler |
12 |
|
13 |
%description |
14 |
Camlmix is a generic preprocessor which converts text with embedded OCaml |
15 |
into an OCaml program with embedded text. It produces text documents from |
16 |
one or several templates. |
17 |
|
18 |
(Camlmix is not a Camlp4 syntax extension.) |
19 |
|
20 |
%prep |
21 |
%setup -q |
22 |
|
23 |
%build |
24 |
make |
25 |
|
26 |
%install |
27 |
mkdir -p %{buildroot}%{_bindir} |
28 |
make install PREFIX=%{buildroot}/usr |
29 |
|
30 |
%files |
31 |
%doc LICENSE README.md |
32 |
%doc examples/ |
33 |
%{_bindir}/camlmix |