%global gitcommit 02e43fa2b89076b4096c5f442bac7bea8814d552 %global snapshot 20260121 %global pkg_name refined %global debug_package %{nil} Name: idris2-%{pkg_name} Version: 0.1.0 Release: 1%{?dist}.%{snapshot} Summary: Refinement types in Idris2 License: BSD-3-Clause URL: https://github.com/stefan-hoeck/idris2-refined Source0: https://github.com/stefan-hoeck/idris2-%{pkg_name}/archive/%{gitcommit}.tar.gz#/%{name}-%{version}^%{snapshot}git02e43fa.tar.gz BuildRequires: idris2 BuildRequires: idris2-algebra Requires: idris2 Requires: idris2-algebra %description This library provides predicates, combinators, and elaborator scripts for working with refinement types with a focus on refined primitives. %prep %autosetup -n %{name}-%{gitcommit} %build %install DESTDIR=%{buildroot} idris2 --install %{pkg_name}.ipkg %global idris_libdir %{_libdir}/idris2-0.8.0 %files %license LICENSE %doc README.md %{idris_libdir}/%{pkg_name}-%{version} %changelog * Mon Mar 02 2026 Jens Petersen - initial package