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