facile-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Summary: Functional Constraint Library implemented in Objective Caml
  2. Name: facile
  3. Version: 1.1
  4. Release: 10%{?_dist_release}
  5. License: LGPL
  6. Group: System Environment/Libraries
  7. Source: http://www.recherche.enac.fr/opti/facile/distrib/%{name}-%{version}.tar.gz
  8. URL: http://www.recherche.enac.fr/opti/facile/
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: ocaml >= 3.02
  11. Requires: ocaml >= 3.02
  12. %description
  13. FaCiLe is a constraint programming library on integer and integer set
  14. finite domains written in OCaml. It offers all usual facilities to create and
  15. manipulate finite domain variables, arithmetic expressions and constraints
  16. (possibly non-linear), built-in global constraints (difference, cardinality,
  17. sorting etc.) and search and optimization goals. FaCiLe allows as well to
  18. build easily user-defined constraints and goals (including recursive ones),
  19. making pervasive use of OCaml higher-order functionals to provide a simple
  20. and flexible interface for the user. As FaCiLe is an OCaml library and not
  21. "yet another language", the user benefits from type inference and strong
  22. typing discipline, high level of abstraction, modules and objects system,
  23. as well as native code compilation efficiency, garbage collection and replay
  24. debugger, all features of OCaml (among many others) that allow to prototype
  25. and experiment quickly: modeling, data processing and interface are
  26. implemented with the same powerful and efficient language. For a more
  27. complete description, you may consult the preface and foreword of the online
  28. documentation
  29. %prep
  30. %setup -q
  31. %build
  32. ./configure
  33. make
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml/facile
  37. cp src/facile.cmi src/facile.cma src/facile.cmxa src/facile.a $RPM_BUILD_ROOT%{_libdir}/ocaml/facile
  38. chmod a+r $RPM_BUILD_ROOT%{_libdir}/ocaml/facile/facile.cmi
  39. chmod a+r $RPM_BUILD_ROOT%{_libdir}/ocaml/facile/facile.cma
  40. chmod a+r $RPM_BUILD_ROOT%{_libdir}/ocaml/facile/facile.cmxa
  41. chmod a+r $RPM_BUILD_ROOT%{_libdir}/ocaml/facile/facile.a
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %check
  45. make check
  46. %files
  47. %defattr(-,root,root)
  48. %doc LICENSE README
  49. %{_libdir}/ocaml/facile/*
  50. %changelog
  51. * Sun Sep 13 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1-10
  52. - rebuilt with ocaml-3.11.0 (x86_64 has not built with ocaml-3.11.0)
  53. * Sat May 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-9
  54. - rebuilt with ocaml-3.11.0
  55. * Sat Jul 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-8
  56. - rebuild with ocaml-3.10.2
  57. * Thu Feb 7 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl5.2
  58. - rebuild with ocaml-3.10.1 on Vine4.2
  59. * Thu Feb 7 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl7
  60. - rebuild with ocaml-3.10.1
  61. * Tue Oct 23 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl5.1
  62. - rebuild with ocaml-3.10.0 on Vine4.1
  63. * Sun Sep 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-0vl6
  64. - rebuild with ocaml-3.10.0
  65. * Thu Jun 15 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1-0vl5
  66. - rebuild with ocaml-3.09.2 on VineSeed
  67. * Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl4
  68. - rebuild with ocaml-3.09.1 on VineSeed
  69. * Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl3
  70. - rebuild with ocaml-3.09.1 on Vine3.2
  71. * Mon Feb 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2
  72. - rebuild for VineSeed
  73. * Mon Feb 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1
  74. - initial release