1 |
blue_prawn |
262994 |
Name: camlmix |
2 |
blue_prawn |
484886 |
Version: 1.3.1 |
3 |
umeabot |
1832126 |
Release: %mkrel 13 |
4 |
blue_prawn |
262994 |
Summary: A generic preprocessor for text with embedded OCaml |
5 |
|
|
License: BSD |
6 |
blue_prawn |
300501 |
Group: Development/OCaml |
7 |
danf |
1937722 |
URL: https://github.com/mjambon/camlmix |
8 |
|
|
Source0: https://github.com/mjambon/camlmix/archive/refs/tags/v%{version}.tar.gz#/camlmix-%{version}.tar.gz |
9 |
daviddavid |
1160046 |
Patch0: camlmix-1.3.1-enable-debugging-information.patch |
10 |
malo |
275537 |
BuildRequires: ocaml-compiler |
11 |
|
|
# for architectures without native code compilation we will need |
12 |
|
|
# Requires: ocaml-compiler |
13 |
malo |
208299 |
|
14 |
|
|
%description |
15 |
blue_prawn |
262994 |
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 |
malo |
208299 |
|
19 |
blue_prawn |
262994 |
(Camlmix is not a Camlp4 syntax extension.) |
20 |
|
|
|
21 |
malo |
208299 |
%prep |
22 |
|
|
%setup -q |
23 |
daviddavid |
1160046 |
%autopatch -p1 |
24 |
malo |
208299 |
|
25 |
|
|
%build |
26 |
malo |
208301 |
make |
27 |
malo |
208299 |
|
28 |
|
|
%install |
29 |
|
|
mkdir -p %{buildroot}%{_bindir} |
30 |
blue_prawn |
262994 |
make install PREFIX=%{buildroot}/usr |
31 |
malo |
208299 |
|
32 |
|
|
%files |
33 |
blue_prawn |
484886 |
%doc LICENSE README.md |
34 |
blue_prawn |
262994 |
%doc examples/ |
35 |
|
|
%{_bindir}/camlmix |