summaryrefslogtreecommitdiff
path: root/tools/ocaml.spec
blob: 7b511e43ffbc783b8b5b5ec8806c8bccafb88252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Name: ocaml
Version: 2.03
Release: 1
Summary: The Objective Caml compiler and programming environment
Source0: ftp://ftp.inria.fr/lang/caml-light/ocaml-2.03.tar.gz
Source1: ftp://ftp.inria.fr/lang/caml-light/ocaml-2.03-refman.html.tar.gz
Source2: ftp://ftp.inria.fr/lang/caml-light/ocaml-2.03-refman.ps.gz
Copyright: freely redistributable
Group: Development/Languages
Vendor: INRIA Rocquencourt
URL: http://caml.inria.fr/

%description
Objective Caml is a high-level, strongly-typed, functional and
object-oriented programming language from the ML family of languages.

This package comprises two batch compilers (a fast bytecode compiler
and an optimizing native-code compiler), an interactive toplevel system,
Lex&Yacc tools, a replay debugger, and a comprehensive library.

%prep
%setup -T -b 0
%setup -T -D -a 1
cp ../../SOURCES/ocaml-2.02-refman.ps.gz refman.ps.gz

%build
./configure -bindir /usr/bin -libdir /usr/lib/ocaml -mandir /usr/man/man1
make world opt ocamlc.opt ocamlopt.opt
(cd emacs; make ocamltags)

%install
rm -rf /usr/lib/ocaml
make install
(cd emacs; make install install-ocamltags EMACSDIR=/usr/lib/emacs/site-lisp)

%files
/usr/bin/ocaml
/usr/bin/ocamlc
/usr/bin/ocamlcp
/usr/bin/ocamldebug
/usr/bin/ocamldep
/usr/bin/ocamllex
/usr/bin/ocamlmktop
/usr/bin/ocamlopt
/usr/bin/ocamlprof
/usr/bin/ocamlrun
/usr/bin/ocamlyacc
/usr/bin/ocamlc.opt
/usr/bin/ocamlopt.opt
/usr/bin/ocamltags
/usr/lib/ocaml
/usr/man/man1/ocaml.1
/usr/man/man1/ocamlc.1
/usr/man/man1/ocamlcp.1
/usr/man/man1/ocamldep.1
/usr/man/man1/ocamllex.1
/usr/man/man1/ocamlopt.1
/usr/man/man1/ocamlprof.1
/usr/man/man1/ocamlrun.1
/usr/man/man1/ocamlyacc.1
/usr/man/man1/ocamlmktop.1
/usr/man/man1/ocamlc.opt.1
/usr/man/man1/ocamlopt.opt.1
/usr/lib/emacs/site-lisp/caml-font.el
/usr/lib/emacs/site-lisp/caml-hilit.el
/usr/lib/emacs/site-lisp/caml.el
/usr/lib/emacs/site-lisp/camldebug.el
/usr/lib/emacs/site-lisp/inf-caml.el
/usr/lib/emacs/site-lisp/caml-compat.el
%doc refman.ps.gz htmlman