Sisyphus repositório
Última atualização: 18 setembro 2019 | SRPMs: 17447 | Visitas: 15125296
en ru br
ALT Linux repositórios
S:1.4.1-alt2

Group :: Desenvolvimento/ML
RPM: ocaml-bisect_ppx

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%set_verify_elf_method textrel=relaxed
%define libname bisect_ppx
Name: ocaml-%libname
Version: 1.4.1
Release: alt1
Summary: Code coverage for OCaml
Group: Development/ML
License: MPL2
Url: https://github.com/aantron/bisect_ppx
Source0: %name-%version.tar
Patch0: %name-%version-%release.patch

BuildRequires: ocaml >= 4.07.1
BuildRequires: ocaml-findlib-devel
BuildRequires: opam dune
BuildRequires: ocaml-ppx_tools_versioned-devel
BuildRequires: ocaml-migrate-parsetree-devel
BuildRequires: ocaml-result-devel
BuildRequires: ocaml-ocamlbuild

%description
Bisect_ppx helps you test thoroughly. It is a small preprocessor that inserts
instrumentation at places in your code, such as if-then-else and match
expressions. After you run tests, Bisect_ppx gives a nice HTML report
showing which places were visited and which were missed.

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

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

%prep
%setup
%patch0 -p1

%build
%make_build

%install
opam-installer --prefix=%buildroot%prefix --libdir=%buildroot%_libdir/ocaml --mandir=%buildroot/%_mandir --docdir=%buildroot/%_docdir bisect_ppx.install

%files
%doc README.md LICENSE
%_bindir/bisect-ppx-report
%dir %_libdir/ocaml/%libname
%_libdir/ocaml/%libname/META
%_libdir/ocaml/%libname/opam
%_libdir/ocaml/%libname/*.cmi
%_libdir/ocaml/%libname/*.cma
%dir %_libdir/ocaml/%libname/runtime
%_libdir/ocaml/%libname/runtime/*.cmi
%_libdir/ocaml/%libname/runtime/*.cma


%files devel
%_libdir/ocaml/%libname/*.ml*
%_libdir/ocaml/%libname/*.cmx
%_libdir/ocaml/%libname/*.cmt*
%_libdir/ocaml/%libname/dune-package
%_libdir/ocaml/%libname/*.a
%_libdir/ocaml/%libname/*.cmxa
%_libdir/ocaml/%libname/*.cmxs
%_libdir/ocaml/%libname/runtime/*.ml*
%_libdir/ocaml/%libname/runtime/*.a
%_libdir/ocaml/%libname/runtime/*.cmxa
%_libdir/ocaml/%libname/runtime/*.cmx
%_libdir/ocaml/%libname/runtime/*.cmt*
%_libdir/ocaml/%libname/runtime/*.cmxs

%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