/[packages]/cauldron/ocaml-async_core/current/SPECS/ocaml-async_core.spec
ViewVC logotype

Contents of /cauldron/ocaml-async_core/current/SPECS/ocaml-async_core.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 441259 - (show annotations) (download)
Sun Jun 9 13:52:28 2013 UTC (7 years, 1 month ago) by malo
File size: 2205 byte(s)
add requires to ocaml-zero
1 Name: ocaml-async_core
2 Version: 109.24.00
3 Release: %mkrel 2
4 Summary: Jane Street Capital's asynchronous execution library (core)
5 License: LGPL-2.1 with OCaml linking exception
6 Group: Development/OCaml
7 URL: https://bitbucket.org/yminsky/ocaml-core/wiki/Home
8 Source0: https://ocaml.janestreet.com/ocaml-core/%{version}/individual/async_core-%{version}.tar.gz
9 BuildRequires: ocaml-compiler
10 BuildRequires: ocaml-findlib
11 BuildRequires: ocaml-zero >= 109.21.00
12 BuildRequires: ocaml-sexplib >= 109.20.00
13 BuildRequires: ocaml-pa_ounit >= 109.18.00
14 BuildRequires: ocaml-fieldslib >= 109.20.00
15 BuildRequires: ocaml-bin-prot >= 109.15.00
16 BuildRequires: ocaml-janest-core >= 109.24.00
17 Requires: ocaml-janest-core
18 Requires: ocaml-zero
19
20 %description
21 Jane Street Capital's asynchronous execution library
22
23 %package devel
24 Summary: Development files for %{name}
25 Group: Development/OCaml
26 Requires: %{name} = %{version}-%{release}
27 Requires: ocaml-janest-core-devel
28 Requires: ocaml-zero-devel
29
30 %description devel
31 The %{name}-devel package contains libraries and signature files for
32 developing applications that use %{name}.
33
34 %prep
35 %setup -q -n async_core-%{version}
36
37 %build
38 sh configure \
39 --prefix %{_prefix} \
40 --libdir %{_libdir} \
41 --libexecdir %{_libexecdir} \
42 --exec-prefix %{_exec_prefix} \
43 --bindir %{_bindir} \
44 --sbindir %{_sbindir} \
45 --mandir %{_mandir} \
46 --datadir %{_datadir} \
47 --localstatedir %{_localstatedir} \
48 --docdir %{_docdir}/%{name}-devel/ \
49 --destdir %{buildroot}
50
51
52 make
53 make doc
54
55 %install
56 rm -rf %{buildroot}
57 export DESTDIR=%{buildroot}
58 export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml
59 mkdir -p $OCAMLFIND_DESTDIR/async_core
60 make install
61
62 %files
63 %doc LICENSE.txt THIRD-PARTY.txt INRIA-DISCLAIMER.txt
64 %dir %{_libdir}/ocaml/async_core
65 %{_libdir}/ocaml/async_core/META
66 %{_libdir}/ocaml/async_core/*.cmi
67 %{_libdir}/ocaml/async_core/*.cma
68 %{_libdir}/ocaml/async_core/*.cmxs
69
70 %files devel
71 %{_docdir}/%{name}-devel
72 %{_libdir}/ocaml/async_core/*.a
73 %{_libdir}/ocaml/async_core/*.cmxa
74 %{_libdir}/ocaml/async_core/*.mli
75 %{_libdir}/ocaml/async_core/*.ml

  ViewVC Help
Powered by ViewVC 1.1.28