1 | Summary: O'Caml package manager |
---|
2 | Summary(ja): O'Caml パッケージ管理ツール |
---|
3 | Name: ocaml-findlib |
---|
4 | Version: 1.2.4 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: MIT/X11 |
---|
7 | Group: Development/Tools |
---|
8 | URL: http://www.ocaml-programming.de/packages/ |
---|
9 | Source: http://www.ocaml-programming.de/packages/findlib-%{version}.tar.gz |
---|
10 | |
---|
11 | # Vine Patch |
---|
12 | # Patch100: ocaml-findlib-installpath.patch |
---|
13 | |
---|
14 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: ocaml, ocaml-camlp4, ocaml-labltk |
---|
16 | Requires: ocaml |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | |
---|
21 | %define srcname findlib |
---|
22 | |
---|
23 | %description |
---|
24 | The "findlib" software provides a scheme to manage reusable software |
---|
25 | components in the form of libraries, and includes tools that support this |
---|
26 | scheme. A library installed as a findlib component is also called a |
---|
27 | package. The point is that the findlib scheme allows it to store |
---|
28 | metainformation about the library, especially how it can be used in |
---|
29 | programs. The packages are kept in the filesystem hierarchy, but the |
---|
30 | directory structure is defined by findlib, and there is no way to deviate |
---|
31 | from this standard. The library contains functions to look the directory |
---|
32 | up that stores a package, to query metainformation about a package, and |
---|
33 | to retrieve dependency information about multiple packages. There is also |
---|
34 | a tool that allows the user to enter queries on the command-line. In |
---|
35 | order to simplify compilation and linkage, there are new frontends of the |
---|
36 | various OCaml compilers that can directly deal with packages. |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q -n %{srcname}-%{version} |
---|
40 | #patch100 -p1 -b .install |
---|
41 | |
---|
42 | %build |
---|
43 | ./configure \ |
---|
44 | -bindir %{_bindir} \ |
---|
45 | -mandir %{_mandir} \ |
---|
46 | -sitelib $(ocamlc -where) \ |
---|
47 | -config %{_sysconfdir}/ocamlfind.conf \ |
---|
48 | -with-toolbox |
---|
49 | make all opt |
---|
50 | |
---|
51 | %install |
---|
52 | %__rm -rf %{buildroot} |
---|
53 | make prefix=$RPM_BUILD_ROOT install |
---|
54 | #__make prefix=%{buildroot} install |
---|
55 | |
---|
56 | %clean |
---|
57 | %__rm -rf %{buildroot} |
---|
58 | |
---|
59 | %files |
---|
60 | %defattr(-,root,root) |
---|
61 | %doc LICENSE README doc |
---|
62 | %config %{_sysconfdir}/ocamlfind.conf |
---|
63 | %{_bindir}/ocamlfind |
---|
64 | %{_bindir}/safe_camlp4 |
---|
65 | %{_libdir}/ocaml/* |
---|
66 | %{_mandir}/man*/* |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Sat May 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.4-1 |
---|
70 | - new upstream release |
---|
71 | - spec in UTF-8 |
---|
72 | |
---|
73 | * Sun Aug 3 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-1 |
---|
74 | - new upstream release (dropped Patch100 was merged into upstream) |
---|
75 | |
---|
76 | * Sun Sep 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.2pl1-0vl2 |
---|
77 | - rebuilt for VineSeed |
---|
78 | |
---|
79 | * Sun Sep 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.2pl1-0vl1 |
---|
80 | - new upstream release |
---|
81 | - rebuilt with ocaml 3.10.0 |
---|
82 | |
---|
83 | * Sat May 26 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1 |
---|
84 | - initial build |
---|