2019-11-01 22:45:20 +00:00
|
|
|
#
|
|
|
|
# spec file for package ocaml-lambda-term
|
|
|
|
#
|
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ocaml-lambda-term
|
2020-05-07 08:36:42 +00:00
|
|
|
Version: 3.0.1
|
2019-11-01 22:45:20 +00:00
|
|
|
Release: 0
|
|
|
|
%{?ocaml_preserve_bytecode}
|
|
|
|
Summary: Terminal manipulation library
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Languages/OCaml
|
|
|
|
URL: https://github.com/ocaml-community/lambda-term
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: ocaml
|
|
|
|
BuildRequires: ocaml-cppo
|
|
|
|
BuildRequires: ocaml-dune
|
2020-04-25 17:09:07 +00:00
|
|
|
BuildRequires: ocaml-rpm-macros >= 20200220
|
2019-11-01 22:45:20 +00:00
|
|
|
BuildRequires: ocamlfind(lwt)
|
|
|
|
BuildRequires: ocamlfind(lwt.unix)
|
|
|
|
BuildRequires: ocamlfind(lwt_log)
|
|
|
|
BuildRequires: ocamlfind(lwt_react)
|
2020-04-25 17:18:41 +00:00
|
|
|
BuildRequires: ocamlfind(mew_vi)
|
2019-11-01 22:45:20 +00:00
|
|
|
BuildRequires: ocamlfind(zed)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Lambda-term is a cross-platform library for manipulating the terminal. It provides an abstraction for keys, mouse events, colors, as well as a set of widgets to write curses-like applications. The main objective of lambda-term is to provide a higher level functional interface to terminal manipulation than, for example, ncurses, by providing a native OCaml interface instead of bindings to a C library. Lambda-term integrates with zed to provide text edition facilities in console applications.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Languages/OCaml
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and signature files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
dune_release_pkgs='lambda-term'
|
|
|
|
%ocaml_dune_setup
|
|
|
|
%ocaml_dune_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ocaml_dune_install
|
|
|
|
%ocaml_create_file_list
|
|
|
|
|
|
|
|
%check
|
|
|
|
%ocaml_dune_test
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_datadir}/lambda*
|
|
|
|
|
|
|
|
%files devel -f %{name}.files.devel
|
|
|
|
|
|
|
|
%changelog
|