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