1 |
Name: camlmix |
2 |
Version: 1.3.1 |
3 |
Release: %mkrel 13 |
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 |
Patch0: camlmix-1.3.1-enable-debugging-information.patch |
10 |
BuildRequires: ocaml-compiler |
11 |
# for architectures without native code compilation we will need |
12 |
# Requires: ocaml-compiler |
13 |
|
14 |
%description |
15 |
Camlmix is a generic preprocessor which converts text with embedded OCaml |
16 |
into an OCaml program with embedded text. It produces text documents from |
17 |
one or several templates. |
18 |
|
19 |
(Camlmix is not a Camlp4 syntax extension.) |
20 |
|
21 |
%prep |
22 |
%setup -q |
23 |
%autopatch -p1 |
24 |
|
25 |
%build |
26 |
make |
27 |
|
28 |
%install |
29 |
mkdir -p %{buildroot}%{_bindir} |
30 |
make install PREFIX=%{buildroot}/usr |
31 |
|
32 |
%files |
33 |
%doc LICENSE README.md |
34 |
%doc examples/ |
35 |
%{_bindir}/camlmix |