Sisyphus repositório
Última atualização: 2 março 2021 | SRPMs: 17838 | Visitas: 20373616
en ru br
ALT Linux repositórios
S:2.2.3-alt1

Group :: Desenvolvimento/ML
RPM: ocaml-ounit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

#/usr/lib/ocaml/oUnit/oUnit.cmxs: TEXTREL entry found: 0x00000000
%set_verify_elf_method textrel=relaxed
Name: ocaml-ounit
Version: 2.2.2
Release: alt1
Summary: Unit test framework for OCaml
Group: Development/ML
License: MIT
Url: http://ounit.forge.ocamlcore.org/
# https://github.com/gildor478/ounit
Source: %name-%version.tar
Patch0: %name-%version-%release.patch

BuildRequires: ocaml >= 4.04
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-lwt-devel
BuildRequires: ocaml-ocplib-endian-devel
BuildRequires: ocaml-result-devel
BuildRequires: libev-devel
BuildRequires: dune

%description
OUnit is a unit test framework for OCaml. It allows one to easily
create unit-tests for OCaml code. It is based on HUnit, a unit testing
framework for Haskell. It is similar to JUnit, and other xUnit testing
frameworks.

%package devel
Summary: Development files for %name
Requires: %name = %version-%release
Group: Development/ML

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

%prep
%setup
%patch0 -p1

%build
dune build  at install

%install
dune install --destdir=%buildroot

%check
dune runtest

%files
%doc LICENSE.txt
%_libdir/ocaml/ounit*
%exclude %_libdir/ocaml/ounit2-lwt/*.a
%exclude %_libdir/ocaml/ounit2-lwt/*.cmxa
%exclude %_libdir/ocaml/ounit*/*/*.a
%exclude %_libdir/ocaml/ounit*/*/*.cmxa
%exclude %_libdir/ocaml/ounit*/*/*.mli

%files devel
%doc LICENSE.txt README.md CHANGES.md
%_libdir/ocaml/ounit*/*/*.a
%_libdir/ocaml/ounit*/*/*.cmxa
%_libdir/ocaml/ounit*/*/*.mli
%_libdir/ocaml/ounit2-lwt/*.a
%_libdir/ocaml/ounit2-lwt/*.cmxa

%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