Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37534829
en ru br
ALT Linux repositórios
S:0.6.3-alt1

Group :: Desenvolvimento/ML
RPM: ocaml-fileutils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define ocamlmod fileutils
Name: ocaml-%ocamlmod
Version: 0.6.3
Release: alt1
Summary: OCaml library for common file and filename operations
Group: Development/ML
License: LGPLv2.1 with OCaml-LGPL-linking-exception
VCS: https://github.com/gildor478/ocaml-fileutils
Url: https://forge.ocamlcore.org/projects/ocaml-fileutils/
Source: %name-%version.tar

BuildRequires: ocaml dune ocaml-ounit-devel

%description
This library is intended to provide a basic interface to the most
common file and filename operations.  It provides several different
filename functions: reduce, make_absolute, make_relative...  It also
enables you to manipulate real files: cp, mv, rm, touch...

It is separated into two modules: SysUtil and SysPath.  The first one
manipulates real files, the second one is made for manipulating
abstract filenames.

%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
sed -i '/stdlib-shims/d' *.opam
sed -i 's,stdlib-shims,,' src/lib/fileutils/dune test/dune
sed -i 's,oUnit,ounit2,' test/dune
%dune_build -p %ocamlmod

%install
%dune_install %ocamlmod

%check
%dune_check

%files -f ocaml-files.runtime

%files devel -f ocaml-files.devel
%doc LICENSE.txt CHANGES.md README.md

%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