]> git.pld-linux.org Git - packages/ocaml-facile.git/blame - ocaml-facile.spec
- up to 1.1.3
[packages/ocaml-facile.git] / ocaml-facile.spec
CommitLineData
95c49677 1Summary: Functional Constraint Library implemented in Objective Caml
d4c3d688 2Name: ocaml-facile
7462a603
JR
3Version: 1.1.3
4Release: 1
95c49677
SP
5License: LGPL
6Group: Libraries
7462a603
JR
7Source0: http://opti.recherche.enac.fr/facile/distrib/facile-%{version}.tar.gz
8# Source0-md5: 172c4fbea636a8fa575b988390639d8d
95c49677
SP
9URL: http://www.recherche.enac.fr/opti/facile/
10BuildRequires: ocaml >= 3.02
d4c3d688 11%requires_eq ocaml-runtime
95c49677
SP
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15FaCiLe is a constraint programming library on integer and integer set
16finite domains written in OCaml. It offers all usual facilities to
17create and manipulate finite domain variables, arithmetic expressions
18and constraints (possibly non-linear), built-in global constraints
19(difference, cardinality, sorting etc.) and search and optimization
20goals. FaCiLe allows as well to build easily user-defined constraints
21and goals (including recursive ones), making pervasive use of OCaml
22higher-order functionals to provide a simple and flexible interface
23for the user. As FaCiLe is an OCaml library and not "yet another
24language", the user benefits from type inference and strong typing
25discipline, high level of abstraction, modules and objects system, as
26well as native code compilation efficiency, garbage collection and
27replay debugger, all features of OCaml (among many others) that allow
28to prototype and experiment quickly: modeling, data processing and
29interface are implemented with the same powerful and efficient
30language. For a more complete description, you may consult the preface
31and foreword of the online documentation
32
33%prep
d4c3d688 34%setup -q -n facile-%{version}
95c49677
SP
35
36%build
d4c3d688 37# use ./configure because of 'Unknown option "LDFLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,-combreloc "
95c49677
SP
38./configure
39
40%{__make}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/facile
c859a95e 45install src/facile.cmi src/facile.cma src/facile.cmxa src/facile.a $RPM_BUILD_ROOT%{_libdir}/ocaml/facile
95c49677
SP
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc LICENSE README
c859a95e 53%dir %{_libdir}/ocaml/facile
95c49677 54%{_libdir}/ocaml/facile/*
This page took 0.05925 seconds and 4 git commands to generate.