Репозиторий Sisyphus
Последнее обновление: 17 января 2021 | Пакетов: 17781 | Посещений: 20063034
en ru br
Репозитории ALT

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

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

%set_verify_elf_method textrel=relaxed

Name: ocaml-fileutils
Version: 0.5.3
Release: alt1%ubt
Summary: OCaml library for common file and filename operations
Group: Development/ML

License: LGPLv2 with exceptions
Url: https://forge.ocamlcore.org/projects/ocaml-fileutils/
Packager: Lenar Shakirov <snejok at altlinux.ru>

Source: %name-%version.tar

BuildRequires: ocaml
BuildRequires: ocaml-findlib
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-ocamlbuild

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 = %version-%release

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


ocaml setup.ml -configure --prefix %prefix --destdir %buildroot

export DESTDIR=%buildroot
export OCAMLFIND_DESTDIR=%buildroot%_libdir/ocaml

# Set htmldir to current directory, then copy the docs (in api/)

# as a %%doc rule.
make htmldir=. install

make test

%doc COPYING.txt
%exclude %_libdir/ocaml/fileutils/*.a
%exclude %_libdir/ocaml/fileutils/*.cmx
%exclude %_libdir/ocaml/fileutils/*.cmxa
%exclude %_libdir/ocaml/fileutils/*.ml
%exclude %_libdir/ocaml/fileutils/*.mli

%files devel


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

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