2015-11-08 09:12:43 +00:00
|
|
|
#
|
|
|
|
# spec file for package ocaml-sqlite
|
|
|
|
#
|
2025-03-03 08:59:26 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2015-11-08 09:12:43 +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.
|
|
|
|
|
2019-11-01 22:52:01 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-11-08 09:12:43 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ocaml-sqlite
|
2025-03-07 19:22:56 +00:00
|
|
|
Version: 5.3.1
|
2015-11-08 09:12:43 +00:00
|
|
|
Release: 0
|
2017-07-25 08:42:02 +00:00
|
|
|
%{?ocaml_preserve_bytecode}
|
2015-11-08 09:12:43 +00:00
|
|
|
Summary: OCaml library for accessing SQLite3 databases
|
2016-05-09 06:42:56 +00:00
|
|
|
License: BSD-2-Clause
|
2023-05-05 10:11:41 +00:00
|
|
|
ExclusiveArch: aarch64 ppc64 ppc64le riscv64 s390x x86_64
|
2017-07-25 13:23:45 +00:00
|
|
|
Group: Development/Languages/OCaml
|
2020-08-21 18:24:55 +00:00
|
|
|
URL: https://opam.ocaml.org/packages/sqlite3
|
2022-04-04 16:30:30 +00:00
|
|
|
Source0: %name-%version.tar.xz
|
2021-04-15 11:28:20 +00:00
|
|
|
BuildRequires: ocaml(ocaml_base_version) >= 4.12
|
|
|
|
BuildRequires: ocaml-dune >= 2.7
|
2025-03-03 08:59:26 +00:00
|
|
|
BuildRequires: ocaml-rpm-macros >= 20240909
|
2024-01-16 17:24:55 +00:00
|
|
|
BuildRequires: ocamlfind(dune-configurator)
|
2019-12-02 07:35:50 +00:00
|
|
|
BuildRequires: ocamlfind(ppx_inline_test)
|
2021-04-15 11:28:20 +00:00
|
|
|
BuildRequires: pkg-config
|
2017-07-19 09:26:48 +00:00
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
2015-11-08 09:12:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
SQLite 3 database library wrapper for OCaml.
|
|
|
|
|
|
|
|
%package devel
|
2022-04-04 16:30:30 +00:00
|
|
|
Summary: Development files for %name
|
2017-07-25 13:23:45 +00:00
|
|
|
Group: Development/Languages/OCaml
|
2022-04-04 16:30:30 +00:00
|
|
|
Requires: %name = %version
|
2019-11-01 22:52:01 +00:00
|
|
|
Requires: pkgconfig(sqlite3)
|
2015-11-08 09:12:43 +00:00
|
|
|
|
|
|
|
%description devel
|
2022-04-04 16:30:30 +00:00
|
|
|
The %name-devel package contains libraries and signature files for
|
|
|
|
developing applications that use %name.
|
2015-11-08 09:12:43 +00:00
|
|
|
|
|
|
|
%prep
|
2019-10-10 09:16:21 +00:00
|
|
|
%autosetup -p1
|
2015-11-08 09:12:43 +00:00
|
|
|
|
|
|
|
%build
|
2019-11-01 22:52:01 +00:00
|
|
|
dune_release_pkgs='sqlite3'
|
2019-10-10 09:16:21 +00:00
|
|
|
%ocaml_dune_setup
|
|
|
|
%ocaml_dune_build
|
2015-11-08 09:12:43 +00:00
|
|
|
|
|
|
|
%install
|
2019-10-10 09:16:21 +00:00
|
|
|
%ocaml_dune_install
|
|
|
|
%ocaml_create_file_list
|
2015-11-08 09:12:43 +00:00
|
|
|
|
2019-10-10 09:16:21 +00:00
|
|
|
%check
|
|
|
|
%ocaml_dune_test
|
2015-11-08 09:12:43 +00:00
|
|
|
|
2022-04-04 16:30:30 +00:00
|
|
|
%files -f %name.files
|
2016-05-26 09:17:29 +00:00
|
|
|
|
2022-04-04 16:30:30 +00:00
|
|
|
%files devel -f %name.files.devel
|
2015-11-08 09:12:43 +00:00
|
|
|
|
|
|
|
%changelog
|