ocaml-findlib-vl.spec 2.6 KB

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