1 |
Name: opam |
2 |
Version: 1.1.0 |
3 |
Release: %mkrel 8 |
4 |
Summary: A source-based package manager for OCaml |
5 |
License: LGPLv3 |
6 |
Group: Development/OCaml |
7 |
URL: http://opam.ocamlpro.com/ |
8 |
Source0: http://www.ocamlpro.com/pub/%{name}-full-%{version}.tar.gz |
9 |
BuildRequires: ocaml-compiler |
10 |
BuildRequires: camlp4-devel |
11 |
BuildRequires: hevea |
12 |
BuildRequires: ocaml-cudf-devel |
13 |
BuildRequires: ocaml-ocamlgraph-devel |
14 |
BuildRequires: ocaml-cmdliner-devel |
15 |
BuildRequires: ocaml-re-devel |
16 |
BuildRequires: ocaml-dose3-devel |
17 |
BuildRequires: ocaml-extlib-devel |
18 |
|
19 |
%description |
20 |
OPAM stands for OCaml PAckage Manager. |
21 |
It aims to suit to a vast number of users and use cases, |
22 |
and has unique features: |
23 |
|
24 |
* Powerful handling of dependencies: |
25 |
versions constraints, optional dependencies, conflicts, etc. |
26 |
* Multiple repositories backends: HTTP, rsync, git |
27 |
* Ease to create packages and repositories |
28 |
* Ability to switch between different compiler versions |
29 |
|
30 |
Typically, OPAM will probably make your life easier if you recognize |
31 |
yourself in at least one of these profiles: |
32 |
|
33 |
* You use multiple versions of the OCaml compiler, or you hack the |
34 |
compiler yourself and needs to frequently switch between compiler |
35 |
versions. |
36 |
* You use or develop software that needs a specific and/or modified |
37 |
version of the OCaml compiler to be installed. |
38 |
* You use or develop software that depends on a specific version of an |
39 |
OCaml library, or you just want to install a specific version of a |
40 |
package, not just the latest one. |
41 |
* You want to create your own packages yourself, put them on your own |
42 |
repository, with minimal effort. |
43 |
|
44 |
%package doc |
45 |
Summary: Documentation files for %{name} |
46 |
Group: Documentation |
47 |
Requires: %{name} = %{version}-%{release} |
48 |
|
49 |
%description doc |
50 |
The %{name}-doc package contains documentation for using %{name}. |
51 |
|
52 |
%prep |
53 |
%setup -q -n %{name}-full-%{version} |
54 |
|
55 |
%build |
56 |
%configure2_5x |
57 |
|
58 |
make all opt |
59 |
#make doc |
60 |
pushd doc/dev-manual/ |
61 |
make html |
62 |
make clean |
63 |
popd |
64 |
|
65 |
%install |
66 |
%makeinstall_std |
67 |
|
68 |
%files |
69 |
%doc README.md LICENSE CHANGES |
70 |
%doc AUTHORS CONTRIBUTING |
71 |
%{_bindir}/%{name} |
72 |
%{_bindir}/%{name}-admin |
73 |
%{_mandir}/man1/%{name}.1* |
74 |
%{_mandir}/man1/%{name}-*.1* |
75 |
|
76 |
%files doc |
77 |
%doc doc/ |
78 |
%doc tests/ |
79 |
%doc jenkins/ |
80 |
%doc shell/ |