Пакет ocaml-omake: Specfile

Name:           ocaml-omake
Version:        0.10.3
Release:        alt2
Summary:        Build system with automated dependency analysis
License:        LGPLv2+ with exceptions and GPLv2+ and BSD
Group:          Development/ML

URL:            http://omake.metaprl.org/download.html
Source: 	%name-%version.tar

BuildRequires: rpm-build-ocaml ocaml ocaml-curses libreadline-devel gcc-c++ ocaml-findlib hevea
Provides: ocaml4-omake = %version-%release
Obsoletes: ocaml4-omake

%description
OMake is a build system designed for scalability and portability. It
uses a syntax similar to make utilities you may have used, but it
features many additional enhancements, including the following.

 * Support for projects spanning several directories or directory
   hierarchies.

 * Fast, reliable, automated, scriptable dependency analysis using MD5
   digests, with full support for incremental builds.

 * Dependency analysis takes the command lines into account - whenever
   the command line used to build a target changes, the target is
   considered out-of-date.

 * Fully scriptable, includes a library that providing support for
   standard tasks in C, C++, OCaml, and LaTeX projects, or a mixture
   thereof.

%prep
%setup -q

%build
./configure --prefix=%_prefix
sed -i 's/2\.06/2.31/' doc/OMakefile
make all


%install
make install \
  INSTALL_ROOT=%buildroot

chmod 0755 %buildroot%_bindir/*

%files
%doc LICENSE LICENSE.OMake
%dir %_libexecdir/omake/
%_libexecdir/omake/*
%_bindir/omake
%_bindir/osh

%changelog
* Fri Jun 14 2019 Anton Farygin <rider@altlinux.ru> 0.10.3-alt2
- cleanup spec

* Wed May 23 2018 Anton Farygin <rider@altlinux.ru> 0.10.3-alt1
- 0.10.3

* Sun Apr 16 2017 Anton Farygin <rider@altlinux.ru> 0.9.8.6-alt1
- renamed to ocaml-omake
- built with new ocaml-4.04

* Tue Jun 23 2015 Andrey Bergman <vkni@altlinux.org> 0.9.8.6-alt0.1
- Initial release for Sisyphus.