Sisyphus repositório
Última atualização: 18 setembro 2019 | SRPMs: 17444 | Visitas: 15118513
en ru br
ALT Linux repositórios
S:4.4.1-alt1
D:0.3.5-alt1
5.0: 1.2.0-alt1

Group :: Desenvolvimento/ML
RPM: ocaml-sqlite3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: ocaml-sqlite3
Version: 1.2.0
Release: alt1

Summary: OCaml library for accessing SQLite3 databases
License: GPL
Group: Development/ML
Url: http://www.ocaml.info/home/ocaml_sources.html

Packager: Veaceslav Grecea <slavutich at altlinux.org>
Source: http://www.ocaml.info/ocaml_sources/%name-%version.tar.bz2

Patch0: ocaml-sqlite-debian-install-no-mktop.patch

# Automatically added by buildreq on Mon Sep 08 2008

BuildRequires: camlp4 findlib libsqlite3-devel ocamldoc

Requires: rpm-build-ocaml >= 1.1
BuildPreReq: rpm-build-ocaml >= 1.1

%description
SQLite 3 database library wrapper for OCaml.

%package runtime
Summary: OCaml library for accessing SQLite3 databases
Group: Development/ML

%description runtime
Runtime part of OCaml library for accessing SQLite3 databases

%prep
%setup -q -n ocaml-sqlite3-%version
%patch0 -p1

./configure --libdir=%_libdir

%build
make all

pushd test
for f in test_db test_exec test_stmt test_fun; do
 ocamlopt -I .. str.cmxa sqlite3.cmxa $f.ml -o $f
 ./$f
done
popd

%install
mkdir -p %buildroot%_libdir/ocaml/stublibs
mkdir -p %buildroot%_libdir/ocaml/site-lib/sqlite3

#%make_install install

cp *.{cma,cmxa,cmi,cmo,a} %buildroot%_libdir/ocaml/site-lib/sqlite3
cp META %buildroot%_libdir/ocaml/site-lib/sqlite3
cp *.so %buildroot%_libdir/ocaml/stublibs

%files
%doc COPYING CHANGES doc README TODO VERSION
%_libdir/ocaml/site-lib/sqlite3

%files runtime
%_libdir/ocaml/stublibs/*.so

%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