Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37756376
en ru br
Репозитории ALT
5.1: 1.2.1-alt4
4.1: 1.2.1-alt4
4.0: 1.1.2pl1-alt3
3.0: 1.0.4-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:1.2.1

Группа :: Разработка/ML
Пакет: findlib

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ocamlver 3.08.1-alt1
Name: findlib
Version: 1.0.4
Release: alt1

Group: Development/ML
Summary: A module packaging tool for OCaml
License: Distributable
Packager: Vitaly Lugovsky <vsl at altlinux.ru>
Url: http://www.ocaml-programming.de/packages/documentation/findlib/
Source: http://www.ocaml-programming.de/packages/%name-%version.tar.gz
#Patch: findlib-0.7-alt.patch
#Patch1: findlib-0.9-dynlibs1.patch
Requires: ocaml = %ocamlver

# Automatically added by buildreq on Mon Oct 13 2003

BuildRequires: camlp4 labltk libncurses-devel ocaml-runtime

BuildRequires: ocaml = %ocamlver

%package -n ocamlfind-mini
Summary: Minimal findlib script to be distributed with user libraries
Group: Development/ML
Requires: %name = %version-%release

%description

The "findlib" library provides a scheme to manage reusable software
components (packages), and includes tools that support this
scheme. Packages are collections of OCaml modules for which
metainformation can be stored. The packages are kept in the filesystem
hierarchy, but with strict directory structure. The library contains
functions to look the directory up that stores a package, to query
metainformation about a package, and to retrieve dependency
information about multiple packages. There is also a tool that allows
the user to enter queries on the command-line. In order to simplify
compilation and linkage, there are new frontends of the various OCaml
compilers that can directly deal with packages.

%description -n ocamlfind-mini

ocamlfind-mini is an O'Caml script that implements a subset of the
full functionality of ocamlfind. It consists only of one file, so it
is easy to distribute it with any software.

The subset is normally sufficient to compile a library and to
install the library; but it is insufficient to link the library
into an executable.



%prep
%setup -q

%build
./configure -mandir /usr/share/man -config /usr/lib/ocaml/etc/findlib.conf -with-toolbox
make all opt

%install
%define _compress_method skip
make prefix=$RPM_BUILD_ROOT install

mkdir -p $RPM_BUILD_ROOT%_docdir/%name-%version
cp README INSTALL LICENSE $RPM_BUILD_ROOT%_docdir/%name-%version/

mkdir -p $RPM_BUILD_ROOT/usr/lib/ocaml/ocamlfind-mini/
cp mini/* $RPM_BUILD_ROOT/usr/lib/ocaml/ocamlfind-mini/

%files -n ocamlfind-mini
%_libdir/ocaml/ocamlfind-mini/*

%files
%_bindir/*
%_libdir/ocaml/etc/*
%_libdir/ocaml/topfind
%_libdir/ocaml/site-lib/*
%_mandir/man?/*

%doc README doc/ INSTALL LICENSE

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin