Sisyphus repositório
Última atualização: 16 agosto 2019 | SRPMs: 17338 | Visitas: 14646149
en ru br
ALT Linux repositórios
S:4.4-alt1

Group :: Desenvolvimento/ML
RPM: ocaml-ppx_deriving

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%set_verify_elf_method textrel=relaxed
%define libname ppx_deriving
Name: ocaml-%libname
Version: 4.3
Release: alt1
Summary: Type-driven code generation for OCaml >=4.02
License: MIT
Group: Development/ML
Url: https://github.com/alainfrisch/ppx_deriving
Source0: %name-%version.tar
Patch0: %name-%version-%release.patch
BuildRequires: ocaml-findlib-devel ocaml-ocamlbuild ocaml-migrate-parsetree-devel ocaml-ppx_tools-devel ocaml-result-devel ocaml-cppo_ocamlbuild-devel
BuildRequires: ocaml-ppx_derivers-devel opam dune ocaml-ounit-devel ocaml-cppo ocaml-ppxfind

%description
ppx_deriving provides common infrastructure for generating code based on type
definitions, and a set of useful plugins for common tasks.

%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.

%prep
%setup
%patch0 -p1

%build
make build

%install
opam-installer --prefix=%buildroot%prefix --libdir=%buildroot%_libdir/ocaml %libname.install

%files
%doc README.md LICENSE.txt CHANGELOG.md
%dir %_libdir/ocaml/%libname
%_libdir/ocaml/%libname/opam
%_libdir/ocaml/%libname/dune-package
%_libdir/ocaml/%libname/META
%_libdir/ocaml/%libname/%libname
%dir %_libdir/ocaml/%libname/*/
%_libdir/ocaml/%libname/*/*.cmi
%_libdir/ocaml/%libname/*/*.cma
%_libdir/ocaml/%libname/*/*.a
%_libdir/ocaml/%libname/*/*.cmxa
%_libdir/ocaml/%libname/*/*.cmxs

%files devel
%_libdir/ocaml/%libname/*/*.cmx
%_libdir/ocaml/%libname/*/*.cmt*
%_libdir/ocaml/%libname/*/*.ml
%_libdir/ocaml/%libname/*/*.mli

%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