source: projects/specs/branches/6/o/ocaml-findlib/ocaml-findlib-vl.spec @ 3930

Revision 3930, 2.6 KB checked in by inagaki, 13 years ago (diff)

update: mana, ocaml-findlib

Line 
1Summary:        O'Caml package manager
2Summary(ja):    O'Caml パッケージ管理ツール
3Name:           ocaml-findlib
4Version:        1.2.7
5Release:        1%{?_dist_release}
6
7License:        MIT/X11
8Group:          Development/Tools
9URL:            http://www.ocaml-programming.de/packages/
10
11Source:         http://www.ocaml-programming.de/packages/findlib-%{version}.tar.gz
12
13# Vine Patch
14# Patch100:       ocaml-findlib-installpath.patch
15
16Buildroot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  ocaml
18BuildRequires:  ocaml-camlp4
19BuildRequires:  ocaml-labltk
20BuildRequires:  ncurses-devel
21Requires:       ocaml
22
23Vendor:         Project Vine
24Distribution:   Vine Linux
25
26%define srcname findlib
27
28%description
29The "findlib" software provides a scheme to manage reusable software
30components in the form of libraries, and includes tools that support this
31scheme. A library installed as a findlib component is also called a
32package. The point is that the findlib scheme allows it to store
33metainformation about the library, especially how it can be used in
34programs. The packages are kept in the filesystem hierarchy, but the
35directory structure is defined by findlib, and there is no way to deviate
36from this standard. The library contains functions to look the directory
37up that stores a package, to query metainformation about a package, and
38to retrieve dependency information about multiple packages. There is also
39a tool that allows the user to enter queries on the command-line. In
40order to simplify compilation and linkage, there are new frontends of the
41various 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
54make all opt
55
56%install
57%__rm -rf %{buildroot}
58make prefix=$RPM_BUILD_ROOT install
59
60%clean
61%__rm -rf %{buildroot}
62
63%files
64%defattr(-,root,root)
65%doc LICENSE doc/*
66%config %{_sysconfdir}/ocamlfind.conf
67%{_bindir}/ocamlfind
68%{_bindir}/safe_camlp4
69%{_libdir}/ocaml/*
70%{_mandir}/man*/*
71
72%changelog
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
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
Note: See TracBrowser for help on using the repository browser.