## START: Set by rpmautospec ## (rpmautospec version 0.6.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: ocaml-linenoise Version: 1.5 Release: %autorelease Summary: Self-contained OCaml bindings to linenoise, easy high level readline functionality in OCaml License: BSD URL: https://github.com/ocaml-community/%{name} Source0: https://github.com/ocaml-community/%{name}/archive/v%{version}/linenoise-v%{version}.tar.gz BuildRequires: ocaml >= 4.08.1 BuildRequires: ocaml-dune >= 2.7 BuildRequires: ocaml-odoc %description Self-contained OCaml bindings to linenoise, easy high level readline functionality in OCaml %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %autosetup -n ocaml-linenoise-%{version} -p1 %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %doc README.md CHANGES.md %files devel -f .ofiles-devel %changelog ## START: Generated by rpmautospec * Thu May 02 2024 U2FsdGVkX1 - 1.5-1 - first commit ## END: Generated by rpmautospec