ocaml-findlib-vl.spec 2.5 KB

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