%bcond_with check #%global debug_package %{nil} Name: luau Version: 0.706 Release: %autorelease Summary: A fast, small, safe, gradually typed embeddable scripting language derived from Lua License: MIT URL: https://luau-lang.org/ Source0: https://github.com/Roblox/luau/archive/%{version}/%{name}-%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build %description Luau (lowercase u, /ˈlu.aʊ/) is a fast, small, safe, gradually typed embeddable scripting language derived from Lua. It is designed to be backwards compatible with Lua 5.1, as well as incorporating some features from future Lua releases, but also expands the feature set (most notably with type annotations). Luau is largely implemented from scratch, with the language runtime being a very heavily modified version of Lua 5.1 runtime, with completely rewritten interpreter and other performance innovations. The runtime mostly preserves Lua 5.1 API, so existing bindings should be more or less compatible with a few caveats. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains development files for %{name}. %prep %autosetup -p1 -C %build %cmake -GNinja -DCMAKE_BUILD_TYPE=Release %cmake_build --target Luau.Repl.CLI %cmake_build --target Luau.Analyze.CLI %install %cmake_install %check %ctest %files %license LICENSE.txt %doc README.md %files devel %changelog %autochangelog