mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-03-01 00:43:35 +00:00
Some checks are pending
Update setup-lune Repository / Update setup-lune action (push) Waiting to run
APT Repository / deploy (push) Waiting to run
AUR Test / test (push) Waiting to run
CI / CI (push) Waiting to run
Homebrew Test / test_precompiled (push) Waiting to run
Homebrew Test / test_source (push) Waiting to run
Scoop Test / test (push) Waiting to run
56 lines
863 B
RPMSpec
56 lines
863 B
RPMSpec
Name: lune
|
|
Version: 0.8.9
|
|
Release: 1%{?dist}
|
|
Summary: A standalone Luau runtime
|
|
|
|
|
|
License: MPL2
|
|
URL: https://github.com/lune-org/lune
|
|
Source0: https://github.com/lune-org/lune/archive/refs/tags/v%{version}.tar.gz
|
|
|
|
|
|
ExclusiveArch: x86_64 aarch64
|
|
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: rust
|
|
BuildRequires: cargo
|
|
BuildRequires: just
|
|
BuildRequires: clang
|
|
%ifarch aarch64
|
|
BuildRequires: gcc-aarch64-linux-gnu
|
|
BuildRequires: musl-devel
|
|
%endif
|
|
|
|
|
|
Requires: libstdc++
|
|
Requires: libgcc
|
|
Requires: openlibm
|
|
Requires: glibc
|
|
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%setup -q -n lune-%{version}
|
|
|
|
|
|
%build
|
|
just build --locked --release
|
|
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/%{_bindir}
|
|
install -m0755 ./target/release/%{name} %{buildroot}/%{_bindir}/%{name}
|
|
|
|
|
|
%files
|
|
%license LICENSE.txt
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
%changelog
|
|
%autochangelog
|
|
|