Sisyphus repositório
Última atualização: 18 agosto 2019 | SRPMs: 17338 | Visitas: 14654278
en ru br
ALT Linux repositórios
S:4.3.0-alt2

Group :: Desenvolvimento/ML
RPM: ocaml-tyxml

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%set_verify_elf_method textrel=relaxed
%add_ocaml_req_skip Ppx_sigs_reflected
%define libname tyxml
Name:           ocaml-%libname
Version:        4.3.0
Release:        alt2
Summary:        TyXML is a library for building statically correct HTML5 and SVG documents
License:        LGPL with exeptions
Group:          Development/ML
Url:            https://ocsigen.org/tyxml/
# https://github.com/ocsigen/tyxml
Source: %name-%version.tar
Patch0: %name-%version-%release.patch

BuildRequires: ocaml-findlib ocaml-ocamlbuild ocaml >= 4.07.1 opam dune ocaml-migrate-parsetree-devel
BuildRequires: ocaml-ocamldoc ocaml-re ocaml-ppx_tools_versioned ocaml-uutf-devel ocaml-markup-devel
BuildRequires: ocaml-re-devel ocaml-result-devel
BuildRequires(pre):rpm-build-ocaml

%package devel
Summary: Development files for programs which will use the %name
Group: Development/ML
Requires: %name = %EVR

%description
TyXML allows you to build HTML5 and SVG trees whose validity is ensured by the typechecker.
It provides a printer for said XML trees, along with a ppx syntax extension. Finally
it also provides a functorial interface to choose your XML datastructure.
It's part of the ocsigen project and is used in js_of_ocaml and eliom.

%description devel
This package includes development files necessary for developing
programs which use %name

%prep
%setup
%patch0 -p1

%build
%make

%install
mkdir -p %buildroot%_libdir/ocaml/
dune install --prefix=%buildroot%prefix --libdir=%buildroot%_libdir/ocaml


%files
%doc LICENSE CHANGES.md README.md
%_libdir/ocaml/%libname
%exclude %_libdir/ocaml/%libname/*.a
%exclude %_libdir/ocaml/%libname/*.cmxa
%exclude %_libdir/ocaml/%libname/*.cmx
%exclude %_libdir/ocaml/%libname/*.mli
%_libdir/ocaml/%libname-ppx
%exclude %_libdir/ocaml/%libname-ppx/*.a
%exclude %_libdir/ocaml/%libname-ppx/*.cmxa
%exclude %_libdir/ocaml/%libname-ppx/*.cmx
%exclude %_libdir/ocaml/%libname-ppx/internal/*.a
%exclude %_libdir/ocaml/%libname-ppx/internal/*.cmxa
%exclude %_libdir/ocaml/%libname-ppx/internal/*.mli


%files devel
%_libdir/ocaml/%libname/*.a
%_libdir/ocaml/%libname/*.cmxa
%_libdir/ocaml/%libname/*.cmx
%_libdir/ocaml/%libname/*.mli
%_libdir/ocaml/%libname-ppx/*.a
%_libdir/ocaml/%libname-ppx/*.cmxa
%_libdir/ocaml/%libname-ppx/*.cmx
%_libdir/ocaml/%libname-ppx/internal/*.a
%_libdir/ocaml/%libname-ppx/internal/*.cmxa
%_libdir/ocaml/%libname-ppx/internal/*.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