%undefine _missing_build_ids_terminate_build Name: hare Version: 0.25.2 Release: %autorelease Summary: The Hare programming language License: GPL-3.0-only AND MPL-2.0 URL: https://git.sr.ht/~sircmpwn/hare Source0: %{name}-%{version}.tar.gz ExclusiveArch: x86_64 BuildRequires: make BuildRequires: scdoc BuildRequires: tzdata BuildRequires: harec BuildRequires: qbe Requires: harec Requires: qbe Requires: tzdata Requires: binutils %description Hare is a systems programming language designed to be simple, stable, and robust. Hare uses a static type system, manual memory management, and a minimal runtime. It is well-suited to writing operating systems, system tools, compilers, networking software, and other low-level, high performance tasks. %prep %autosetup -n hare-%{version} %build # Adjust configuration cp configs/linux.mk config.mk sed -i 's|^PREFIX.*|PREFIX = %{_prefix}|' config.mk sed -i 's|^ARCH.*|ARCH = %{_arch}|' config.mk sed -i 's|^VERSION.*|VERSION = %{version}|' config.mk %{!?_auto_set_build_flags:%{set_build_flags}} %make_build %install %make_install cp COPYING COPYING.stdlib cp cmd/COPYING COPYING.bin mkdir -m 0755 %{buildroot}%{_usrsrc}/hare/third-party %check %{?with_alltests:STDLIB_SLOW_TESTS=1} make check %files %license COPYING.stdlib COPYING.bin %doc MAINTAINERS README README.md TREES docs/*.md docs/*.txt %{_bindir}/hare %{_bindir}/haredoc %{_mandir}/man1/hare* %{_mandir}/man5/hare* %dir %{_usrsrc}/hare %dir %{_usrsrc}/hare/third-party %dir %{_usrsrc}/hare/stdlib %{_usrsrc}/hare/stdlib/* %changelog * Thu Jul 24 2025 Daniel Wutke 0.25.2-1 - Create package: hare-0.25.2 %autochangelog