Group :: Desenvolvimento/ML
RPM: ocaml-ppx_tools
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define libname ppx_tools
Name: ocaml-%libname
Version: 6.5
Release: alt1
Summary: Tools for authors of ppx rewriters and other syntactic tools
License: MIT
Group: Development/ML
Url: https://github.com/alainfrisch/ppx_tools
Source0: %name-%version.tar
BuildRequires: ocaml-findlib dune ocaml-cppo
%description
Tools for authors of syntactic tools (such as ppx rewriters).
This package is licensed by LexiFi under the terms of the MIT license.
The tools are installed as a findlib package called 'ppx_tools'.
Executables are thus accessible through the ocamlfind driver
(e.g.: ocamlfind ppx_tools/dumpast).
%package devel
Summary: Development files for %name
Group: Development/ML
Requires: %name = %EVR
%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.
%prep
%setup
%build
%dune_build --release at install
%install
%dune_install
%files -f ocaml-files.runtime
%doc README.md
%_libdir/ocaml/%libname/dumpast
%_libdir/ocaml/%libname/genlifter
%_libdir/ocaml/%libname/ppx_metaquot
%_libdir/ocaml/%libname/rewriter
%files devel -f ocaml-files.devel
%changelog
…
Todas as alterações você pod ver aqui
Name: ocaml-%libname
Version: 6.5
Release: alt1
Summary: Tools for authors of ppx rewriters and other syntactic tools
License: MIT
Group: Development/ML
Url: https://github.com/alainfrisch/ppx_tools
Source0: %name-%version.tar
BuildRequires: ocaml-findlib dune ocaml-cppo
%description
Tools for authors of syntactic tools (such as ppx rewriters).
This package is licensed by LexiFi under the terms of the MIT license.
The tools are installed as a findlib package called 'ppx_tools'.
Executables are thus accessible through the ocamlfind driver
(e.g.: ocamlfind ppx_tools/dumpast).
%package devel
Summary: Development files for %name
Group: Development/ML
Requires: %name = %EVR
%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.
%prep
%setup
%build
%dune_build --release at install
%install
%dune_install
%files -f ocaml-files.runtime
%doc README.md
%_libdir/ocaml/%libname/dumpast
%_libdir/ocaml/%libname/genlifter
%_libdir/ocaml/%libname/ppx_metaquot
%_libdir/ocaml/%libname/rewriter
%files devel -f ocaml-files.devel
%changelog
…
Todas as alterações você pod ver aqui