## 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: lem Version: 2022.12.10 Release: %autorelease Summary: Lem semantic definition language License: LGPL-2.0-only URL: https://github.com/rems-project/%{name} Source0: https://github.com/rems-project/%{name}/archive/2022-12-10/%{name}-2022-12-10.tar.gz BuildRequires: ocaml >= 4.08.1 BuildRequires: ocaml-findlib BuildRequires: ocaml-ocamlbuild BuildRequires: ocaml-zarith-devel BuildRequires: ocaml-num-devel BuildRequires: ocaml-rpm-macros %global debug_package %{nil} %description Lem is a tool for lightweight executable mathematics, for writing, managing, and publishing large-scale portable semantic definitions, with export to LaTeX, executable code (currently OCaml) and interactive theorem provers (currently Coq, HOL4, and Isabelle/HOL, though the generated Coq is not necessarily idiomatic). It is also intended as an intermediate language for generating definitions from domain-specific tools, and for porting definitions between interactive theorem proving systems. %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 lem-2022-12-10 -p1 %build make %install mkdir -p %{buildroot}%{ocamldir}/lem make install INSTALLDIR=%{buildroot}%{ocamldir} INSTALL_DIR=%{buildroot}/usr %ocaml_files %files -f .ofiles %license LICENSE %doc README.md %files devel -f .ofiles-devel %changelog ## START: Generated by rpmautospec * Thu May 02 2024 U2FsdGVkX1 - 2022.12.10-1 - first commit ## END: Generated by rpmautospec