Репозиторий Sisyphus
Последнее обновление: 22 июня 2018 | Пакетов: 18577 | Посещений: 11730063
en ru br
Репозитории ALT

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

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

%define module result
Name: ocaml-%module
Version: 1.3
Release: alt1%ubt
Summary: Compat result type

License: BSD
Url: https://github.com/janestreet/result/
Source0: %name-%version.tar
Group: Development/ML

BuildRequires: ocaml
BuildRequires: ocaml-findlib jbuilder opam
BuildRequires(pre): rpm-build-ubt

%description
Projects that want to use the new result type defined in
OCaml >= 4.03 while staying compatible with older versions
of OCaml should use the Result module defined in this library.

%package devel
Summary: Development files for %name
Group: Development/ML
Requires: %name = %EVR

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

%prep
%setup

%build
jbuilder build

%install
mkdir -p %buildroot%_libdir/ocaml
jbuilder install --prefix=%buildroot%prefix --libdir=%buildroot%_libdir/ocaml

%files
%doc README.md
%_libdir/ocaml/%module
%exclude %_libdir/ocaml/%module/*.a
%exclude %_libdir/ocaml/%module/*.cmxa
%exclude %_libdir/ocaml/%module/*.cmx
%exclude %_libdir/ocaml/%module/*.ml

%files devel
%_libdir/ocaml/%module/*.a
%_libdir/ocaml/%module/*.cmxa
%_libdir/ocaml/%module/*.cmx
%_libdir/ocaml/%module/*.ml

%changelog

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

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