2019-11-01 22:45:20 +00:00
|
|
|
#
|
|
|
|
# spec file for package ocaml-lambda-term
|
|
|
|
#
|
2023-08-10 12:53:27 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2019-11-01 22:45:20 +00:00
|
|
|
#
|
|
|
|
# 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
|
2023-08-10 12:53:27 +00:00
|
|
|
Version: 3.3.2
|
2019-11-01 22:45:20 +00:00
|
|
|
Release: 0
|
|
|
|
%{?ocaml_preserve_bytecode}
|
|
|
|
Summary: Terminal manipulation library
|
|
|
|
License: BSD-3-Clause
|
2023-05-05 10:13:03 +00:00
|
|
|
ExclusiveArch: aarch64 ppc64 ppc64le riscv64 s390x x86_64
|
2019-11-01 22:45:20 +00:00
|
|
|
Group: Development/Languages/OCaml
|
2020-08-21 18:16:23 +00:00
|
|
|
URL: https://opam.ocaml.org/packages/lambda-term
|
2022-04-04 15:41:11 +00:00
|
|
|
Source0: %name-%version.tar.xz
|
2022-04-04 15:41:27 +00:00
|
|
|
BuildRequires: ocaml(ocaml_base_version) >= 4.08
|
2022-07-08 07:46:31 +00:00
|
|
|
BuildRequires: ocaml-dune >= 3.0
|
2023-08-10 12:53:27 +00:00
|
|
|
BuildRequires: ocaml-rpm-macros >= 20230101
|
2022-07-08 07:46:31 +00:00
|
|
|
BuildRequires: ocamlfind(logs)
|
|
|
|
BuildRequires: ocamlfind(logs.lwt)
|
2019-11-01 22:45:20 +00:00
|
|
|
BuildRequires: ocamlfind(lwt)
|
|
|
|
BuildRequires: ocamlfind(lwt.unix)
|
|
|
|
BuildRequires: ocamlfind(lwt_react)
|
2020-04-25 17:18:41 +00:00
|
|
|
BuildRequires: ocamlfind(mew_vi)
|
2022-07-08 07:46:31 +00:00
|
|
|
BuildRequires: ocamlfind(uucp)
|
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
|
2022-04-04 15:41:11 +00:00
|
|
|
Summary: Development files for %name
|
2019-11-01 22:45:20 +00:00
|
|
|
Group: Development/Languages/OCaml
|
2022-04-04 15:41:11 +00:00
|
|
|
Requires: %name = %version
|
2019-11-01 22:45:20 +00:00
|
|
|
|
|
|
|
%description devel
|
2022-04-04 15:41:11 +00:00
|
|
|
The %name-devel package contains libraries and signature files for
|
|
|
|
developing applications that use %name.
|
2019-11-01 22:45:20 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2022-04-04 15:41:11 +00:00
|
|
|
%files -f %name.files
|
2019-11-01 22:45:20 +00:00
|
|
|
%doc README.md
|
2022-04-04 15:41:11 +00:00
|
|
|
%_bindir/*
|
|
|
|
%_mandir/*/*
|
|
|
|
%_datadir/lambda*
|
2019-11-01 22:45:20 +00:00
|
|
|
|
2022-04-04 15:41:11 +00:00
|
|
|
%files devel -f %name.files.devel
|
2019-11-01 22:45:20 +00:00
|
|
|
|
|
|
|
%changelog
|