## 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-pprint Version: 20230830 Release: %autorelease Summary: A pretty-printing combinator library for OCaml License: LGPL-2.0-only URL: https://github.com/fpottier/pprint Source0: https://github.com/fpottier/pprint/archive/%{version}/pprint-%{version}.tar.gz BuildRequires: ocaml >= 4.08.1 BuildRequires: ocaml-dune >= 2.7 %description PPrint is an OCaml library for pretty-printing textual documents. It takes care of indentation and line breaks, and is typically used to pretty-print code. %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 pprint-%{version} -p1 %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %license LICENSE %doc README.md CHANGES.md %files devel -f .ofiles-devel %changelog ## START: Generated by rpmautospec * Thu Apr 25 2024 U2FsdGVkX1 - 20230830-1 - first commit ## END: Generated by rpmautospec