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

Group :: Desenvolvimento/Outros
RPM: ocaml-bdb

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname ocamlbdb
Name: ocaml-bdb
Version: 4.3.21
Release: alt2
Summary: OCaml interface to Berkeley-DB
Packager: Boris Savelev <boris at altlinux.org>
Source: http://www.eecs.harvard.edu/~stein/%oname-%version.tar.gz
Url: http://www.eecs.harvard.edu/~stein/
License: GPL
Group: Development/Other

# Automatically added by buildreq on Sat Aug 23 2008

BuildRequires: libdb4-devel ocaml

%description
CamlGI is a library to enable you to write CGI and FastCGI in OCaml. It is
written 100%% in OCaml so should run on many platforms. The library supports
multiple simultaneous connections and request multiplexing while presenting an
easy to use interface.

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

%description devel
This package contains the development files needed to build applications
using %name.

%prep
%setup -q -n %oname-%version

%build
%__subst 's:BDB_DIR=/usr/local/BerkeleyDB.4.3/:BDB_DIR=%prefix:g' Makefile
%__subst 's:/usr/local/lib:%_libdir:g' Makefile
%__subst 's:-ldb-4.1:-ldb:g' Makefile
%make

%install
mkdir -p %buildroot%_libdir/ocaml/site-lib/bdb
install -m 644 bdb.cma bdb.cmi libcamlbdb.a %buildroot%_libdir/ocaml/site-lib/bdb/

%files
%doc CREDITS README
%dir %_libdir/ocaml/site-lib/bdb
%_libdir/ocaml/site-lib/bdb/*.cmi

%files devel
%_libdir/ocaml/site-lib/bdb/*
%exclude %_libdir/ocaml/site-lib/bdb/*.cmi

%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