## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 # Bump # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} %ifnarch %{ocaml_native_compiler} %global debug_package %{nil} %endif Name: ocaml-uucd Version: 16.0.0 Release: %autorelease Summary: Unicode character database decoder for OCaml License: ISC URL: https://erratique.ch/software/uucd VCS: git:https://erratique.ch/repos/uucd.git Source: %{url}/releases/uucd-%{version}.tbz BuildRequires: ocaml >= 4.08.0 BuildRequires: ocaml-compiler-libs BuildRequires: ocaml-findlib BuildRequires: ocaml-ocamlbuild BuildRequires: ocaml-rpm-macros BuildRequires: ocaml-topkg-devel >= 1.0.3 BuildRequires: ocaml-xmlm-devel %description Uucd is an OCaml module to decode the data of the Unicode character database (http://www.unicode.org/reports/tr44/) from its XML representation (http://www.unicode.org/reports/tr42/). It provides high-level (but not necessarily efficient) access to the data so that efficient representations can be extracted. Uucd is made of a single module, depends on Xmlm and is distributed under the ISC license. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: ocaml-xmlm-devel%{?_isa} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %autosetup -n uucd-%{version} %build # Build the library and the tests ocaml pkg/pkg.ml build --dev-pkg false --tests true %install %ocaml_install %check ocaml pkg/pkg.ml test %files -f .ofiles %license LICENSE.md %doc README.md CHANGES.md %files devel -f .ofiles-devel %changelog ## START: Generated by rpmautospec * Tue Dec 24 2024 Jerry James - 16.0.0-2 - Uncommitted changes * Wed Sep 18 2024 Jerry James - 16.0.0-1 - Version 16.0.0 * Thu Jul 18 2024 Fedora Release Engineering - 15.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Jerry James - 15.1.0-10 - Fix the VCS field * Wed Jun 19 2024 Richard W.M. Jones - 15.1.0-9 - OCaml 5.2.0 ppc64le fix * Wed May 29 2024 Richard W.M. Jones - 15.1.0-8 - OCaml 5.2.0 for Fedora 41 * Thu May 23 2024 Jerry James - 15.1.0-7 - Add VCS field * Thu Jan 25 2024 Fedora Release Engineering - 15.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 15.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 18 2023 Richard W.M. Jones - 15.1.0-4 - OCaml 5.1.1 + s390x code gen fix for Fedora 40 * Tue Dec 12 2023 Richard W.M. Jones - 15.1.0-3 - OCaml 5.1.1 rebuild for Fedora 40 * Thu Oct 05 2023 Richard W.M. Jones - 15.1.0-2 - OCaml 5.1 rebuild for Fedora 40 * Thu Oct 05 2023 Jerry James - 15.1.0-1 - Version 15.1.0 * Thu Jul 20 2023 Fedora Release Engineering - 15.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Richard W.M. Jones - 15.0.0-3 - OCaml 5.0 rebuild for Fedora 39 * Tue Jul 11 2023 Richard W.M. Jones - 15.0.0-2 - ExcludeArch i686 (https://lists.fedoraproject.org/archives/list/devel@lis ts.fedoraproject.org/message/SPML7CUBSZNI36NLXGVHEG7DNHU3EWOJ/) * Fri Jun 30 2023 Jerry James - 15.0.0-1 - Initial import ## END: Generated by rpmautospec