Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37517976
en ru br
ALT Linux repositórios
S:1.7.8-alt2
5.0: 1.5.1-alt2

Group :: Desenvolvimento/ML
RPM: ocaml-extlib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: ocaml-extlib
Version: 1.7.8
Release: alt2
Summary: extended standard library for OCaml
License: LGPLv2 with OCaml-LGPL-linking-exception
Group: Development/ML
Url: http://code.google.com/p/ocaml-extlib/
# https://github.com/ygrek/ocaml-extlib
Source: %name-%version.tar
Patch0: %name-%version-alt.patch

Requires: ocaml-runtime
BuildRequires: rpm-build-ocaml ocaml-ocamldoc ocaml-findlib ocaml-cppo

%description
ExtLib is a project aiming at providing a complete - yet small - standard
library for the OCaml programming language.

The purpose of this library is to add new functions to OCaml Standard Library
modules, to modify some functions in order to get better performances or more
safety (tail-recursive) but also to provide new modules which should be useful
for the average OCaml programmer.

ExtLib contains modules implementing: enumeration over abstract collection of
elements, efficient bit sets, dynamic arrays, references on lists, Unicode
characters and UTF-8 encoded strings, additional and improved functions for
hashtables, strings, lists and option types.

%define extlibdir %_libdir/ocaml/extlib

%package devel
Summary: Development files for %name
Requires: %name = %version-%release
Group: Development/ML

%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.

%prep
%setup
pushd src
%patch0 -p1
popd

%build
%make
%make doc

%install
mkdir -p %buildroot%_libdir/ocaml
%makeinstall OCAMLFIND_INSTFLAGS="-destdir %buildroot%_libdir/ocaml/"

%check
make test

%files
%doc README.md LICENSE
%_libdir/ocaml/extlib
%exclude %_libdir/ocaml/extlib/*.a
%exclude %_libdir/ocaml/extlib/*.cmxa
%exclude %_libdir/ocaml/extlib/*.cmx
%exclude %_libdir/ocaml/extlib/*.mli

%files devel
%doc CHANGES
%_libdir/ocaml/extlib/*.a
%_libdir/ocaml/extlib/*.cmxa
%_libdir/ocaml/extlib/*.cmx
%_libdir/ocaml/extlib/*.mli

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009