source: projects/specs/trunk/o/ocaml-findlib/ocaml-findlib-vl.spec @ 521

Revision 521, 2.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:        O'Caml package manager
2Summary(ja):    O'Caml パッケージ管理ツール
3Name:           ocaml-findlib
4Version:        1.2.4
5Release:        1%{?_dist_release}
6License:        MIT/X11
7Group:          Development/Tools
8URL:            http://www.ocaml-programming.de/packages/
9Source:         http://www.ocaml-programming.de/packages/findlib-%{version}.tar.gz
10
11# Vine Patch
12# Patch100:       ocaml-findlib-installpath.patch
13
14Buildroot:      %{_tmppath}/%{name}-%{version}-root
15BuildRequires:  ocaml, ocaml-camlp4, ocaml-labltk
16Requires:       ocaml
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20
21%define srcname findlib
22
23%description
24The "findlib" software provides a scheme to manage reusable software
25components in the form of libraries, and includes tools that support this
26scheme. A library installed as a findlib component is also called a
27package. The point is that the findlib scheme allows it to store
28metainformation about the library, especially how it can be used in
29programs. The packages are kept in the filesystem hierarchy, but the
30directory structure is defined by findlib, and there is no way to deviate
31from this standard. The library contains functions to look the directory
32up that stores a package, to query metainformation about a package, and
33to retrieve dependency information about multiple packages. There is also
34a tool that allows the user to enter queries on the command-line. In
35order to simplify compilation and linkage, there are new frontends of the
36various 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
49make all opt
50
51%install
52%__rm -rf %{buildroot}
53make 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
Note: See TracBrowser for help on using the repository browser.