mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-02-28 08:23:36 +00:00
feat: include rpm spec package
This commit is contained in:
parent
4b226883ba
commit
69f2b364d4
1 changed files with 54 additions and 0 deletions
54
package/copr/lune.spec
Normal file
54
package/copr/lune.spec
Normal file
|
@ -0,0 +1,54 @@
|
|||
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: just
|
||||
BuildRequires: musl-tools
|
||||
BuildRequires: clang
|
||||
BuildRequires: musl
|
||||
BuildRequires: musl-devel
|
||||
|
||||
|
||||
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
|
||||
|
Loading…
Add table
Reference in a new issue