Sisyphus repositório
Última atualização: 20 agosto 2019 | SRPMs: 17342 | Visitas: 14672308
en ru br
ALT Linux repositórios
S:2.2-alt2

Group :: Desenvolvimento/ML
RPM: ocaml-csv

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%set_verify_elf_method textrel=relaxed

Name: ocaml-csv
Version: 2.2
Release: alt1
Summary: OCaml library for reading and writing CSV files
License: LGPLv2+
Group: Development/ML

Url: https://opam.ocaml.org/packages/csv/

Source: %name-%version.tar

BuildRequires: ocaml
BuildRequires: ocaml-ocamlbuild
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-extlib-devel
BuildRequires: ocaml-lwt-devel
BuildRequires: ocaml-findlib
BuildRequires: opam dune

%description
This OCaml library can read and write CSV files, including all
extensions used by Excel - eg. quotes, newlines, 8 bit characters in
fields, quote-0 etc.

The library comes with a handy command line tool called csvtool for
handling CSV files from shell scripts.

%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

%build
make

%install

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


%files
%doc LICENSE.md
%_libdir/ocaml/csv
%_libdir/ocaml/csv-lwt
%exclude %_libdir/ocaml/csv/*.a
%exclude %_libdir/ocaml/csv/*.cmxa
%exclude %_libdir/ocaml/csv/*.cmx
%exclude %_libdir/ocaml/csv/*.mli
%exclude %_libdir/ocaml/csv-lwt/*.a
%exclude %_libdir/ocaml/csv-lwt/*.cmxa
%exclude %_libdir/ocaml/csv-lwt/*.cmx
%exclude %_libdir/ocaml/csv-lwt/*.mli
%_bindir/csvtool

%files devel
%doc README.md LICENSE.md
%_libdir/ocaml/csv/*.a
%_libdir/ocaml/csv/*.cmxa
%_libdir/ocaml/csv/*.cmx
%_libdir/ocaml/csv/*.mli
%_libdir/ocaml/csv-lwt/*.a
%_libdir/ocaml/csv-lwt/*.cmxa
%_libdir/ocaml/csv-lwt/*.cmx
%_libdir/ocaml/csv-lwt/*.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